Bug#334107: bayonne: FTBFS: Not using -fPIC to make shared lib.

Kurt Roeckx kurt at roeckx.be
Sat Oct 15 15:12:16 UTC 2005


Package: bayonne
Version: 1.2.15-1
Severity: serious

Hi,

Your package is failing to build because it's not using -fPIC to
make a shared library.
>From the build log:
alpha-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DVERPATH=\"1.2.15\"     -g -O
2 -I/usr/include/cc++2 -D_GNU_SOURCE -DXML_SCRIPTS -c test.cpp
/bin/sh ../libtool --mode=link alpha-linux-gnu-g++  -g -O2 -I/usr/include/cc++2
 -D_GNU_SOURCE -DXML_SCRIPTS  -o test.dbg -module -shared test.o  -L/usr/lib -l
ccext2 -lccgnu2 -L/usr/lib -lxml2 -lz -lm -lz -ldl -lrt -pthread -lpam
alpha-linux-gnu-g++ -g -O2 -I/usr/include/cc++2 -D_GNU_SOURCE -DXML_SCRIPTS -o
test.dbg -shared test.o  -L/usr/lib /usr/lib/libccext2.so /usr/lib/libccgnu2.so
 /usr/lib/libxml2.so -lm -lz -ldl -lrt -pthread -lpam
/usr/bin/ld: test.o: gp-relative relocation against dynamic symbol ost::testdeb
ug
/usr/bin/ld: test.o: gp-relative relocation against dynamic symbol ost::testdeb
ug
/usr/bin/ld: test.o: gp-relative relocation against dynamic symbol ost::testdeb
ug
/usr/bin/ld: test.o: gp-relative relocation against dynamic symbol ost::testdeb
ug
/usr/bin/ld: test.o: gp-relative relocation against dynamic symbol ost::testdeb
ug
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status


Kurt





More information about the Pkg-voip-maintainers mailing list