On Fri, May 10, 2013 at 08:49:09PM +1000, Steven Hamilton wrote: > CXXFLAGS+=-z now It's a linker flag, not a compiler flag. And you should use dpkg-buildflags instead of hardcoding the flag directly. > So now I've appended the -z now option. Turns out I get a build > failure with -pie. It seems to be a common problem. Is it fixable or > is this as far as I can go? > > PIE error; > > /usr/bin/ld.bfd.real: bmp2c.o: relocation R_X86_64_32S against > `_ZTVSt9basic_iosIcSt11char_traitsIcEE' can not be used when making > a shared object; recompile with -fPIC > bmp2c.o: could not read symbols: Bad value > collect2: error: ld returned 1 exit status Hard to tell without seeing at least the compilation command for bmp2c.o and the link command. -- WBR, wRAR
Attachment:
signature.asc
Description: Digital signature