Re: [AD] packaging trouble |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
#include <hallo.h> Eduard Bloch wrote on Sun Jul 29, 2001 um 06:19:15PM: > #include <hallo.h> > George Foot wrote on Sat Jul 14, 2001 um 02:11:06PM: > > > > objdump --headers --private-headers -T lib/unix/liballeg-3.9.37.so |grep rel.text > > > 5 .rel.text 00000c08 00010770 00010770 00010770 2**2 > > > 00010770 l d .rel.text 00000000 A similar problem again, this time when I enabled esddigi again: gcc -shared -o lib/unix/alleg-esddigi-3.9.37.so obj/unix/module/uesd.o -L/usr/X11R6/lib -rdynamic -s -lesd /usr/bin/ld: obj/unix/module/uesd.o: relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC obj/unix/module/uesd.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [lib/unix/alleg-esddigi-3.9.37.so] Error 1 make[1]: Leaving directory `/home/blade/allegro3937-3937' make: *** [build-stamp] Error 2 Tried to compile localy, I got the same result: non-PIC code is linked into shared library. I am confused now: it is definitely possible to make plugins using libesd (XMMS, libao), but what does the problem appear here? The same breakage affects also other plugins, dga2 and svgalib. I did an objdump but can't understand the output (where does this relocation address point to?). Gruss/Regards, Eduard. -- .signatures not found --- universe halted!
Attachment:
breakage.txt.gz
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |