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

obexftp_0.19-3 fails to compile



Hi,

I have a strange problem with amd64 and alpha ports as the new obexftp package 
fails to compile its PERL binding (using swig). All other ports can compile 
this package.

Additionally, the error messages are very cryptic and differ for amd64 and 
alpha.

For amd64: 
http://buildd.debian.org/fetch.php?&pkg=obexftp&ver=0.19-3&arch=amd64&stamp=1147628640&file=log&as=raw
Cited:
cc  -shared -Wl,-L../../obexftp/.libs -Wl,-rpath=/usr/lib perl_wrap.o \
-o blib/arch/auto/OBEXFTP/OBEXFTP.so \
-L/build/buildd/obexftp-0.19/swig/perl/../../obexftp/.libs -lobexftp \
-L/build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs -lmulticobex \
-L/build/buildd/obexftp-0.19/swig/perl/../../bfb/.libs -lbfb \
-lopenobex -lbluetooth -lusb -lbluetooth  \
          
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../obexftp/.libs/libobexftp.a(client.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC
/build/buildd/obexftp-0.19/swig/perl/../../obexftp/.libs/libobexftp.a: could 
not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [blib/arch/auto/OBEXFTP/OBEXFTP.so] Error 1


For alpha:
http://buildd.debian.org/fetch.php?&pkg=obexftp&ver=0.19-3&arch=alpha&stamp=1147629160&file=log&as=raw
Cited:
cc  -shared -Wl,-L../../obexftp/.libs -Wl,-rpath=/usr/lib perl_wrap.o \
-o blib/arch/auto/OBEXFTP/OBEXFTP.so \
-L/build/buildd/obexftp-0.19/swig/perl/../../obexftp/.libs -lobexftp \
-L/build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs -lmulticobex \
-L/build/buildd/obexftp-0.19/swig/perl/../../bfb/.libs -lbfb \
-lopenobex -lbluetooth -lusb -lbluetooth  \
          
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_connect
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_disconnect
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_connect
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_disconnect
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_write
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_handleinput
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_write
/usr/bin/ld: /build/buildd/obexftp-0.19/swig/perl/../../multicobex/.libs/libmulticobex.a(multi_cobex.o): 
gp-relative relocation against dynamic symbol cobex_handleinput
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[5]: *** [blib/arch/auto/OBEXFTP/OBEXFTP.so] Error 1

Any ideas? Note that libobexftp, libmulticobex and libbfb are compiled as 
static libs only.

HS

PS: please CC me on list replies

Attachment: pgpEnZzlnXYdY.pgp
Description: PGP signature


Reply to: