about porting ucd-4.2.3 at 2.4.25 Linux

徐小 威 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1124185279.11794.11.camel@banana>
Hi All:

            I used ELDK 3.1.1 and 2.4.25 Linux, i got some compiler
error, i need help.

 ./configure --quiet --host=i686-linux --target=ppc-linux --with-
endianness=big --with-cflags='-g -O2 -D__USE_BSD -D_GNU_SOURCE -
DRW_MULTII_THREAD -D_REENTRANT -fvolatile -fno-builtin -pthread' --with-
ldflags='--static -pthread' --with-cc=/opt/eldk/usr/bin/ppc_8xx-gcc --
with-ar=/opt/eldk/usr/bin/ppc_8xx-ar --prefix=/root/app/snmp2 --disable-
debugging --with-logfile=none --without-openssl

[root@banana ucd-snmp-4.2.3]# make > err.txt
agent_trap.c: In function `snmpd_parse_config_trapsink':
agent_trap.c:608: warning: comparison is always false due to limited
range of data type
agent_trap.c: In function `snmpd_parse_config_trap2sink':
agent_trap.c:636: warning: comparison is always false due to limited
range of data type
agent_trap.c: In function `snmpd_parse_config_informsink':
agent_trap.c:663: warning: comparison is always false due to limited
range of data type
/usr/lib/libpopt.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
/usr/lib/libpopt.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [snmpget] Error 1

I'v ever been used uclibc and 2.4.4 linux.It's OK, why?

./configure --quiet --host=i686-linux --target=ppc-linux --with-
endianness=big --with-cflags='-g -O2 -D__USE_BSD -D_GNU_SOURCE -
DRW_MULTII_THREAD -D_REENTRANT -fvolatile -fno-builtin -pthread' --with-
ldflags='--static -pthread' --with-
cc=/LinuxPPC/CDK/toolchain/toolchain/bin/powerpc-uclibc-gcc --with-
ar=/LinuxPPC/CDK/toolchain/toolchain/bin/powerpc-uclibc-ar --
prefix=/root/app/snmp2 --disable-debugging --with-logfile=none


PS:I choice ucd-snmp is because i only need snmpv2 and i want small snmp
package, net-snmp is too fat to put into my flash.





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.