/usr/bin/ld: skipping incompatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Centos Users

I try to compile SNMPPD (SNMP Proxy Daemon) on Centos 5.1 x86_64 with
latest patches. Dependencies (like libsplit, net-snmp-libs,
net-snmp-devel, net-snmp-libs) are installed, both 32 and 64 Bit.

# rpmbuild -tb snmppd-0.5.2.tar.gz
[...]
Making all in snmppd
make[2]: Entering directory `/tmp/snmppd-0.5.2/snmppd'
gcc  -Wall -Wno-uninitialized -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -Werror  -L/usr/lib  -o snmppd  conf.o control.o
log.o queue.o snmp.o snmppd.o threads.o utils.o -lnetsnmp  -lcrypto
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libnetsnmp.so when
searching for -lnetsnmp
/usr/bin/ld: skipping incompatible /usr/lib/libnetsnmp.a when
searching for -lnetsnmp
snmppd.o: In function `new_target':
snmppd.c:(.text+0x371): undefined reference to `split'
snmppd.c:(.text+0x3fb): undefined reference to `split_free'
snmppd.c:(.text+0x619): undefined reference to `split_free'
collect2: ld returned 1 exit status
make[2]: *** [snmppd] Error 1
make[2]: Leaving directory `/tmp/snmppd-0.5.2/snmppd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/snmppd-0.5.2'
make: *** [all] Error 2
[...]

Can anyone explain me "/usr/bin/ld: skipping incompatible" in plain
english ;) How to solve it?

cheers
Simon

-- 
XMPP: sjolle@xxxxxxxxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux