getting "snmp_parse_args.c" error when building 5.4.1 on 64-bit Red Hat Enterprise Linux 4

"Aleksey Tsalolikhin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi.  I am trying to build net-snmp 5.4.1 from the source code on
Red Hat Enterprise Linux ES release 4 (Nahant Update 3) using
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)

I have the 64 bit RHEL installed:
uname -a: Linux deluxe-web01 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28
EST 2006 x86_64 x86_64 x86_64 GNU/Linux

The make dies after an error on snmp_parse_args.c:


# make
making all in /home/tsalolia/net-snmp-5.4.1/snmplib
make[1]: Entering directory `/home/tsalolia/net-snmp-5.4.1/snmplib'
/bin/sh ../libtool  --mode=compile gcc -I../include -I.
-I../snmplib   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE  -g -O2
-Ulinux -Dlinux=linux -I/usr/include/rpm  -c -o snmp_parse_args.lo
snmp_parse_args.c
 gcc -I../include -I. -I../snmplib -D_REENTRANT -D_GNU_SOURCE
-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE -g -O2 -Ulinux
-Dlinux=linux -I/usr/include/rpm -c snmp_parse_args.c  -fPIC -DPIC -o
.libs/snmp_parse_args.o
snmp_parse_args.c:637:21: invalid suffix "c" on integer constant
make[1]: *** [snmp_parse_args.lo] Error 1
make[1]: Leaving directory `/home/tsalolia/net-snmp-5.4.1/snmplib'
make: *** [subdirs] Error 1
#

Any suggestions?

Thanks,
-at

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.