Once I fixed FTGL and avifile-0.7 to be usr/local instead of usr/ in configure things built a little farther. Here is another problem though...
g++ -o Gem.pd_linux -shared ../Manips/*.o ../Particles/*.o ../Base/*.o ../MarkEx/*.o ../Pixes/*.o ../Controls/*.o ../Nongeos/*.o ../Geos/*.o ../openGL/*.o -laviplay -lftgl -ldv -lmpeg3 -lquicktime -laviplay -lpng -ljpeg -ltiff -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm -L/usr/X11R6/lib64 -lfreetype -lz
/usr/bin/ld: /usr/local/lib/libftgl.a(FTFont.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
-fPIC IS used for all of the subdirs though, or so the screen reports.
g++ -c -fPIC -g -O2 -I/usr/X11R6/include -I/usr/include/freetype2 -I.. -I/usr/local/include/FTGL -I/usr/local/include/avifile-0.7 part_draw.cpp -o part_draw.o
for example...
Whats wrong? Its just this last step! So close! Thanks for the help! -thewade
On Wed, 6 Oct 2004, thewade wrote:
Once I fixed FTGL and avifile-0.7 to be usr/local instead of usr/ in configure things built a little farther. Here is another problem though...
Yes, I forgot about the /usr/local stuff, in Debian it is in /usr anyhow. But I have to fix this if we want the build system to be general. Thanks for this hint.
g++ -o Gem.pd_linux -shared ../Manips/*.o ../Particles/*.o ../Base/*.o ../MarkEx/*.o ../Pixes/*.o ../Controls/*.o ../Nongeos/*.o ../Geos/*.o ../openGL/*.o -laviplay -lftgl -ldv -lmpeg3 -lquicktime -laviplay -lpng -ljpeg -ltiff -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm -L/usr/X11R6/lib64 -lfreetype -lz /usr/bin/ld: /usr/local/lib/libftgl.a(FTFont.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
-fPIC IS used for all of the subdirs though, or so the screen reports.
g++ -c -fPIC -g -O2 -I/usr/X11R6/include -I/usr/include/freetype2 -I.. -I/usr/local/include/FTGL -I/usr/local/include/avifile-0.7 part_draw.cpp -o part_draw.o
for example...
Whats wrong? Its just this last step! So close!
libftgl is compiled without -fPIC. I had to change the Debian package of FTGL in order to get this right. You have to do the same with your hand compiled ftgl.
Guenter
Thanks for the help! -thewade
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list