Re: Gnokii build failure on ia64
> I've got a problem with gnokii building on ia64 (and hppa). It
> appears to be a problem with mixing PIC and non-PIC code - see bug
> #158440 and the buildd logs. The error is:
>
> /usr/bin/ld: device.o: @gprel relocation against dynamic symbol device_portfd
>
> Does anyone have any ideas on how to fix it? I'm really not sure on
> where to look, so any hints would be great.
you cannot use non-PIC code in a shared object. Compile all your
code with -fPIC. (this will fix the hppa compile problem too)
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
Reply to: