Thanks Bart for your quick response, I tested as your suggestion, as get
the below result.
$ grep SIZEOF_ config.status
D["SIZEOF_SHORT"]=" "
D["SIZEOF_INT"]=" "
D["SIZEOF_LONG"]=" "
D["SIZEOF_LONG_LONG"]=" "
D["SIZEOF_INTMAX_T"]=" "
D["SIZEOF_SOCKADDR_UN_SUN_PATH"]=" "
while under Ubuntu, the result is as below:
D["SIZEOF_SHORT"]=" 2"
D["SIZEOF_INT"]=" 4"
D["SIZEOF_LONG"]=" 4"
D["SIZEOF_LONG_LONG"]=" 8"
D["SIZEOF_INTMAX_T"]=" 8"
D["SIZEOF_SOCKADDR_UN_SUN_PATH"]=" 108"
On Wed, Jan 4, 2012 at 1:15 AM, Bart Van Assche <bvanass...@acm.org> wrote:
> On Tue, Jan 3, 2012 at 2:31 PM, Tao Zhou <moon...@gmail.com> wrote:
>
>> './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
>>
>
> Looks the configure script failed to compute some of the SIZEOF_*
> constants, which is strange. Which result do you get for the command "grep
> SIZEOF_ config.status" ?
>
> It should be something like this:
>
> D["SIZEOF_SHORT"]=" 2"
> D["SIZEOF_INT"]=" 4"
> D["SIZEOF_LONG"]=" 8"
> D["SIZEOF_LONG_LONG"]=" 8"
> D["SIZEOF_INTMAX_T"]=" 8"
> D["SIZEOF_SOCKADDR_UN_SUN_PATH"]=" 108"
>
> Bart.
>
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
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