Ok, So when compiling under FC2 I had no issues. On configure I chose the following options: sudo ./configure --with-mib-modules=agentx --with-perl-modules
Then I compiled on each platform. FC2 worked no issues and cygwin had the following error: gcc -I../../include -g -O2 -Dcygwin -c winstub.c -DDLL_EXPORT -DPIC -o .libs/winstub.lo gcc -I../../include -g -O2 -Dcygwin -c winstub.c -o winstub.o >/dev/null 2>&1 mv -f .libs/winstub.lo winstub.lo /bin/sh ../../libtool --mode=compile gcc -I../../include -g -O2 -Dcygwin -c -o ffs.lo ffs.c rm -f .libs/ffs.lo gcc -I../../include -g -O2 -Dcygwin -c ffs.c -DDLL_EXPORT -DPIC -o .libs/ffs.lo gcc -I../../include -g -O2 -Dcygwin -c ffs.c -o ffs.o >/dev/null 2>&1 mv -f .libs/ffs.lo ffs.lo /bin/sh ../../libtool --mode=compile gcc -I../../include -g -O2 -Dcygwin -c -o iquery.lo iquery.c rm -f .libs/iquery.lo gcc -I../../include -g -O2 -Dcygwin -c iquery.c -DDLL_EXPORT -DPIC -o .libs/iquery.lo gcc -I../../include -g -O2 -Dcygwin -c iquery.c -o iquery.o >/dev/null 2>&1 mv -f .libs/iquery.lo iquery.lo /bin/sh ../../libtool --mode=link gcc -o snmpnetstat53.exe inet.lo inet6.lo if.lo main.lo route.lo winstub.lo ffs.lo iq uery.lo ../../snmplib/libnetsnmp.la -lcrypto -lm gcc -o snmpnetstat53.exe inet.o inet6.o if.o main.o route.o winstub.o ffs.o iquery.o ../../snmplib/.libs/libnetsnmp.a - lcrypto Warning: resolving [EMAIL PROTECTED] by linking to _getservbyport Use --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups Warning: resolving [EMAIL PROTECTED] by linking to _gethostname inet6.o(.text+0x999): In function `inet6print': /cygdrive/p/net-snmp-5.2.2/apps/snmpnetstat/inet6.c:444: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make[2]: *** [snmpnetstat53.exe] Error 1 make[2]: Leaving directory `/cygdrive/p/net-snmp-5.2.2/apps/snmpnetstat' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/cygdrive/p/net-snmp-5.2.2/apps' make: *** [subdirs] Error 1 -----Original Message----- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 11:14 AM To: Javier Torres Cc: [email protected] Subject: RE: Compile issues On Thu, 2006-01-19 at 10:56 -0500, Javier Torres wrote: > I am seeing it on both systems, exact same error. You're getting a warning about "winsock.h" being present (but not compiling) on a Linux system? Boggle!!! > I will try with the > latest today and let you know. I'd also suggest that you unpack a clean tarball on each system, just to make sure there's no cross-contamination. (You're probably already doing this, but better safe than sorry. 90% of computer problems seem to boil down to an "obvious" error - but obvious isn't always obvious at the time :-) ) Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders ***************************************************************** <<<Disclaimer>>> In compliance with applicable rules and regulations, Instinet reviews and archives incoming and outgoing email communications, copies of which may be produced at the request of regulators. This message is intended only for the personal and confidential use of the recipients named above. If the reader of this email is not the intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and permanently delete the copy you received. Instinet accepts no liability for any content contained in the email, or any errors or omissions arising as a result of email transmission. Any opinions contained in this email constitute the sender's best judgment at this time and are subject to change without notice. Instinet does not make recommendations of a particular security and the information contained in this email should not be considered as a recommendation, an offer or a solicitation of an offer to buy and sell securities. ***************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
