[PD] pidip last compilation step on amd64

Yves Degoyon ydegoyon at free.fr
Thu Oct 13 14:16:11 CEST 2005


ola,

i've seen that problem on a 64 bits machine already,
it seems the compiler is right,
the -fPIC must have been omitted when you compiled theora
( did you compile theora or install an ubuntu package ? )

think you have to find a way to force -fPIC into theora
( and then maybe for other objects or libraries or pdp itself )

suerte,
sevy

vincent rioux wrote:

> Hello,
> I am trying to compile pidip on an amd64 machine with ubuntu5.10.
> things went rather smoothly once i found that libmagick6 was the one 
> to use, but finally i get this error message:
>
> g++ -export_dynamic -shared -o pidip.pd_linux modules/*.o system/*.o 
> /usr/lib/libtheora.a /usr/lib/libogg.a /usr/lib/libvorbis.a 
> /usr/lib/libvorbisenc.a -lbz2 -lz -ldl -lmp3lame -logg -lvorbis 
> -lvorbisenc -L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 
> -lXext -ldl -lm -L/usr/X11R6/lib -lMagick -lMagick -llcms -ltiff 
> -lfreetype -ljasper -ljpeg -lpng -ldpstk -ldps -lXext -lSM -lICE -lX11 
> -lbz2 -lxml2 -lz -lpthread -lm -lpthread -L/usr/lib -L/usr/X11R6/lib 
> -lfreetype -lz -L/usr/lib
> /usr/bin/ld: /usr/lib/libtheora.a(libtheora_la-toplevel.o): relocation 
> R_X86_64_32 against `a local symbol' can not be used when making a 
> shared object; recompile with -fPIC
> /usr/lib/libtheora.a: ne peut lire les symboles: Mauvaise valeur
> collect2: ld a retourné 1 code d'état d'exécution
> make: *** [pidip.pd_linux] Erreur 1
>
>
> I compiled all objects with the -fPIC flag though.
> gcc is 4.0.2
> any idea?
>
> best regards,
> vincent
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>





More information about the Pd-list mailing list