How to compiler ucd-snmp 4.2.7 with ELDK 3.1.1 at FC3 environment
徐小 威 <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <1124284555.9911.19.camel@banana> |
Hi All:
I want to port ucd-snmp 4.2.7.pre1 on my 2.4.25 linux.But i got some
compiler error.
Environment is:
FC 3 & ELDK 3.1.1
EVM Board:
Custom MPC852T with 32M RAM & 8M Flash
# ./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
make > err.txt
snmp_api.c: In function `snmp_add_var':
snmp_api.c:5134: warning: assignment discards qualifiers from pointer
target type
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:637: warning: comparison is always false due to limited
range of data type
agent_trap.c: In function `snmpd_parse_config_informsink':
agent_trap.c:665: warning: comparison is always false due to limited
range of data type
ppc_8xx-gcc: ./.libs/libucdagent.so: No such file or directory
ppc_8xx-gcc: ./.libs/libucdmibs.so: No such file or directory
ppc_8xx-gcc: ../snmplib/.libs/libsnmp.so: No such file or directory
make[1]: *** [snmpd] Error 1
ppc_8xx-gcc: ../snmplib/.libs/libsnmp.so: No such file or directory
make[1]: *** [snmpget] Error 1
Best Regard,
Rober Hsu
-------------------------------------------------------
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