[Pkg-cups-devel] Bug#335199: cupsys: FTBFS: Not using -fPIC to make
shared lib.
Kurt Roeckx
kurt at roeckx.be
Sat Oct 22 14:42:03 UTC 2005
Package: cupsys
Version: 1.1.99.b1.r4748-1
Severity: serious
Tags: experimental
Hi,
Your package is failing to build on amd64 with the following
error:
Linking libcups.so.2...
/usr/bin/ld: array.o: relocation R_X86_64_PC32 against `cupsArrayCurrent' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
The build log does not show the actual commands used to compile,
but it probably didn't use -fPIC to make array.o and the other .o
files. To make a shared library you need to be using -fPIC. For
a static library you shouldn't be using it.
Kurt
More information about the Pkg-cups-devel
mailing list