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

Bug#335199: cupsys: FTBFS: Not using -fPIC to make shared lib.



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





Reply to: