It looks more like it has to do with your Perl install. My suggestion
would be to try installing the Cygwin Perl. Alex is the resident Perl
expert, maybe he has an idea.
taner memet ali wrote:
> Hi Andy,
> i just have compiled net-snmp
> 18.104.22.168 . i patched the code with the patches from Alex_b. the origin
> errors are gone but now I get this error:
> compiler output snippet
> make: *** [../blib/arch/auto/NetSNMP/agent/agent.dll] Error2
> make Leaving directory 'net-snmp/perl/agent'
> make: ***[subdirs] Error 2
> make: Leaving directory 'net-snmp/perl'
> make: *** [perlmodules] Error 1
> has it to do with the regex patch (i have done it on cygwin) ? please
> help me i need this API for my thesis.
> ----- Original Message ----- From: "Andy Smith" <wasmith32@...>
> To: "taner memet ali" <tanerm2@...>
> Cc: <net-snmp-coders@...>
> Sent: Thursday, August 18, 2005 12:59 AM
> Subject: Re: error while compiling net-snmp with cygwin on win 2003 server
>> taner memet ali wrote:
>>> i'm a complete newbie to net-snmp. i try to compile it since
>>> yesterday but there is always the same error:
>>> make: *** No rule to make target 'winservicerc.lo', needed by
>>> 'libnetsnmp.la' . Stop.
>>> make: Leavingdirectory '/cygdrive/d/net-snmp/snmplib'
>>> make: *** [subdirs] Error 1
>> Cygwin does not define WIN32. What is your configure line?
>>> I use win 2003 server, snmp 22.214.171.124, activestate perl and cygwin
>>> current release with cygwin regex installed.
>>> could it be related with this warning?
>>> configure: WARNING: winsock.h: present but cannot be compiled
>>> configure: WARNING: winsock.h: check for missing prerequisite headers?
>>> configure: WARNING: winsock.h: see the Autoconf documentation
>>> configure: WARNING: winsock.h: section "Present but Cannot be Compiled"
>>> configure: WARNING: winsock.h: proceeding with the preprocessor's result
>>> configure: WARNING: winsock.h: in te future , the compiler will take
>>> any thougts? please help me
>> This should not hurt anything. I have not upgraded my Cygwin or tried
>> to compile with it in quite some time but I will give it a shot and
>> see what I can come up with.