Package: xorp
Version: 1.5-4
Severity: serious

Hi,

Your package is failing to build with the following error:
checking whether to build shared libraries... no
checking whether to build static libraries... yes
[...]
checking whether to build shared libraries... yes
checking whether to build static libraries... no
[...]
x86_64-linux-gnu-g++ -shared -nostdlib 
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crti.o 
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtbeginS.o  .libs/xorpevents.o 
-Wl,--whole-archive ../libxipc/.libs/libxipc.a ../libcomm/.libs/libcomm.a
../libxorp/.libs/libxorp.a -Wl,--no-whole-archive  -lpcap -lrt -lcrypto 
-L/usr/lib /usr/lib/libnetsnmpmibs.so -L/usr/local/lib 
-L/usr/lib/perl/5.10/CORE /usr/lib/libnetsnmpagent.so 
/usr/lib/libnetsnmphelpers.so /usr/lib/libnetsnmp.so 
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib -L/lib/../lib 
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../..  -lstdc++ -lm 
-lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtendS.o 
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crtn.o  -Wl,-z -Wl,defs 
-Wl,-E -Wl,-soname -Wl,libnetsnmpxorp.so -o .libs/libnetsnmpxorp.so
/usr/bin/ld: ../libxipc/.libs/libxipc.a(hmac_md5.o): relocation R_X86_64_32S 
against `a local symbol' can not be used when making a shared object; recompile 
with -fPIC
../libxipc/.libs/libxipc.a(hmac_md5.o): could not read symbols: Bad value
collect2: ld returned 1 exit status

It seems you have a mix of things you want to build shared and static,
but that doesn't work.  If you want to make a shared library, all
objects that end up in it need to be build for a shared library.
libtool will add the -fPIC when building a shared library.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to