On Saturday 08 February 2003 06:45 am, Aurelien Jarno wrote: > (Please Cc me as I am not subscribed to the list) > > Hi all, > > I saw this when attempting to build kwave on alpha: > > /usr/bin/ld: > /build/buildd/kwave-0.6.5/libmad/.libs/libmad.a(timer.o): > gp-relative relocation against dynamic symbol mad_timer_zero > /usr/bin/ld: > /build/buildd/kwave-0.6.5/libmad/.libs/libmad.a(timer.o): > gp-relative relocation against dynamic symbol mad_timer_zero > /usr/bin/ld: > /build/buildd/kwave-0.6.5/libmad/.libs/libmad.a(timer.o): > gp-relative relocation against dynamic symbol mad_timer_zero > /usr/bin/ld: > /build/buildd/kwave-0.6.5/libmad/.libs/libmad.a(timer.o): > gp-relative relocation against dynamic symbol mad_timer_zero > /usr/bin/ld: > /build/buildd/kwave-0.6.5/libmad/.libs/libmad.a(timer.o): > gp-relative relocation against dynamic symbol mad_timer_zero > /usr/bin/ld: > /build/buildd/kwave-0.6.5/libmad/.libs/libmad.a(timer.o): > gp-relative relocation against dynamic symbol mad_timer_zero > collect2: ld returned 1 exit statu > > http://buildd.debian.org/fetch.php?&pkg=kwave&ver=0.6.5-3&arch >=alpha&stamp=1044705133&file=log&as=raw > > So far the same codes compile fine on i386, mipsel and > powerpc. > > Does anyone have any clue to get it built ?
"gp-relative relocation" means something needs to be compiled with -fPIC (probably kwave's libmad in this case). Remove and re-extract the source tree, export LDFLAGS="-fPIC", and try the build again. -- Kelledin "If a server crashes in a server farm and no one pings it, does it still cost four figures to fix?"

