libpcap link error

libpcap link error

Postby knakano on Wed Dec 02, 2009 12:25 am

I try to link libpcap to test-app on openwrt, but I always get :
ubicom32-linux-uclibc/bin/ld: test-app: hidden symbol `__clz_tab' in /toolchain/lib/gcc/ubicom32-linux-uclibc/4.4.0/march-ubicom32v4//libgcc.a(_clz.o) is referenced by DSO
ubicom32-linux-uclibc/bin/ld: final link failed: Nonrepresentable section on output

Even if it is a hello program, this error happens when there is "-lpcap" in a link.

Can anyone please give me a hint how to solve the problem?
knakano
 
Posts: 1
Joined: Tue Dec 01, 2009 11:27 pm

Re: libpcap link error

Postby otto on Wed Dec 16, 2009 1:48 pm

libcrypto has the symbol. Please include in the build and give a try.
otto
 
Posts: 14
Joined: Tue Mar 24, 2009 7:14 am


Return to Kernel, Tools, Applications



cron