Bug#484215: libsrtp1-dev: srtp - cannot be linked from .so , pls build libsrtp.a with -fPIC or provide a .so

tom schorpp thomas.schorpp at googlemail.com
Tue Jun 3 00:56:46 UTC 2008


Package: libsrtp1-dev
Version: 1.4.4~dfsg-2
Severity: important

opal .so will not link libsrtp.a from debian (license conflict?):

-lsrtp -lldap -llber -lldap_r  -lpthread -lssl -lcrypto -lexpat -lSDL -lresolv -ldl
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libsrtp.a(srtp.o): relocation R_X86_64_32 against 
`mod_srtp' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libsrtp.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [/usr/local/src/opal/lib/libopal_linux_x86_64_d.so.3.3-beta0]

srtp.o is build right:

g++ -DPTRACING=1 -D_REENTRANT -fno-exceptions  -Wall  -DP_64BIT -fPIC -DPIC -g -D_DEBUG 
-I/usr/local/src/opal/include  -I/usr/local/src/opal/../ptlib/include    -c /usr/local/src/opal/src/rtp/srtp.cxx -o 
/usr/local/src/opal/lib/obj_linux_x86_64_d/srtp.o

seems not to be build with -fPIC

y
tom

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25 (PREEMPT)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

-- no debconf information





More information about the Pkg-voip-maintainers mailing list