'./configure' runs successful without problem, but when I try to 'make', it
just reports below error message:
------------------------------------------------------------------------------------------------------------------------------------------------
making all in /home/Administrator/Studio/netsnmp/net-snmp-5.7.1/snmplib
make[1]: Entering directory
`/home/Administrator/Studio/netsnmp/net-snmp-5.7.1/snmplib'
/bin/sh ../libtool  --mode=compile gcc -I../include -I.
-I../snmplib  -fno-strict-aliasing -g -O2 -Ucygwin -Dcygwin=cygwin  -c -o
snmp_client.lo snmp_client.c
libtool: compile:  gcc -I../include -I. -I../snmplib -fno-strict-aliasing
-g -O2 -Ucygwin -Dcygwin=cygwin -c snmp_client.c  -DDLL_EXPORT -DPIC -o
.libs/snmp_client.o
snmp_client.c:839:17: operator '!=' has no left operand
snmp_client.c:850:47: operator '!=' has no left operand
snmp_client.c:863:46: operator '!=' has no left operand
snmp_client.c:874:18: operator '!=' has no left operand
Makefile:97: recipe for target `snmp_client.lo' failed
make[1]: *** [snmp_client.lo] Error 1
make[1]: Leaving directory
`/home/Administrator/Studio/netsnmp/net-snmp-5.7.1/snmplib'
Makefile:651: recipe for target `subdirs' failed
make: *** [subdirs] Error 1

------------------------------------------------------------------------------------------------------------------------------------------------

I searched in Google without any luck, seems nobody has encountered the
same problem, or no one is compiling net-snmp in Cygwin now?

my Cygwin setup is as below:
CYGWIN_NT-6.1 Cygwin 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

gcc version:
$ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

If someone knows how to fix this problem, please kindly help me out of this
problem, thanks!
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to