/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread-mt-s.a(mutex.o): relocation R_X86_64_32 against `boost::thread_resource_error::~thread_resource_error()' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libboost_thread-mt-s.a: could not read symbols: Bad value
On 16 Jan 2008, at 23:12, Harley Peters wrote: The current cvs version of Gnash fails to build with the following error:
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/crtbeginS.o .libs/libgnashbase_la-config.o .libs/libgnashbase_la-extension.o .libs/libgnashbase_la-image.o .libs/libgnashbase_la-jpeg.o .libs/libgnashbase_la-lirc.o .libs/libgnashbase_la-log.o .libs/libgnashbase_la-membuf.o .libs/libgnashbase_la-network.o .libs/libgnashbase_la-postscript.o .libs/libgnashbase_la-rc.o .libs/libgnashbase_la-shm.o .libs/libgnashbase_la-sharedlib.o .libs/libgnashbase_la-string_table.o .libs/libgnashbase_la-tu_file.o .libs/libgnashbase_la-tu_timer.o .libs/libgnashbase_la-WallClockTimer.o .libs/libgnashbase_la-utf8.o .libs/libgnashbase_la-utility.o .libs/libgnashbase_la-curl_adapter.o .libs/libgnashbase_la-noseek_fd_adapter.o .libs/libgnashbase_la-zlib_adapter.o .libs/libgnashbase_la-URL.o .libs/libgnashbase_la-LoadThread.o .libs/libgnashbase_la-FLVParser.o .libs/libgnashbase_la-GC.o .libs/libgnashbase_la-BitsReader.o /usr/lib64/libjpeg.so -L/lib -lz -L/usr/lib64 /usr/lib64/libcurl.so /usr/lib64/libltdl.so -lboost_thread-mt-s -lboost_date_time-mt-s -lboost_serialization-mt-s -lpthread -lrt /usr/lib64/libX11.so /usr/lib64/libXi.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64/crtn.o -pthread -Wl,--as-needed -Wl,-soname -Wl,libgnashbase-cvs.so -o .libs/libgnashbase-cvs.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_thread-mt-s.a(mutex.o): relocation R_X86_64_32 against `boost::thread_resource_error::~thread_resource_error()' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libboost_thread-mt-s.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libgnashbase.la] Error 1 make[2]: Leaving directory `/home/harley/Data/gnash/libbase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/harley/Data/gnash' make: *** [all] Error 2
gcc=4.2.2 boost=1.34.1
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-cygnal --disable-debugger --enable-ghelp --disable-kparts --enable-nsapi --disable-i810-lod-bias --enable-mit-shm --enable-gui=gtk, --with-plugindir=/opt/netscape/plugins --enable-renderer=agg --enable-media=ffmpeg --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
Configure output:
Configurable options are: Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable. MIT-SHM X extension support enabled POSIX Threads support enabled (default) DMalloc support disabled (default). Use --enable-dmalloc to enable. NPAPI plugin enabled (default). Use --disable-nsapi to disable. NPAPI plugin will be installed in /opt/netscape/plugins KPARTS plugin disabled. GNOME help enabled Building Cygnal media server disabled. Building the Flash debugger is disabled. Top level for cross compiling support files is: Enabling security features: localconnection GUI toolkits supported: gtk Renderers supported: agg Media handler: ffmpeg Using SDL for sound handling Using sysv mode for shared memory
Configured paths for x86_64-pc-linux-gnu are: DocBook document processing disabled (default) XML flags are: -I/usr/include/libxml2 XML libs are: -lxml2 -lz -lm JPEG flags are: default include path JPEG libs are: -ljpeg PNG flags are: default include path PNG libs are: -lpng12 GTK2 flags are: -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 GTK2 libs are: -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 Pango flags are: -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include Pango libs are: -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 GLib flags are: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include GLib libs are: -lglib-2.0 ATK flags are: -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include ATK libs are: -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 MP3 and video support enabled through ffmpeg FFMPEG flags are: default include path FFMPEG libs are: -lavcodec -lz -la52 -ldc1394_control -lfaac -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -lraw1394 -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -la52 -ldc1394_control -lfaac -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -lraw1394 -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -lavcodec -lz -la52 -ldc1394_control -lfaac -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -lraw1394 -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg SDL flags are: -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL libs are: -lSDL -lpthread Plugin will be installed in /opt/netscape/plugins POSIX Threads flags are: -pthread POSIX Threads lib is: -lpthread CURL flags are: default include path CURL libs are: -L/usr/lib64 -lcurl AGG Pixel format is: all AGG flags are: -I/usr/include/agg2 AGG libs are: -lagg -lagg BOOST flags are: -I/usr/X11R6/include BOOST libs are: -L/usr/lib64 -lboost_thread-mt-s -lboost_date_time-mt-s -lboost_serialization-mt-s BOOST Extra libs are: -lboost_unit_test_framework-mt-s MING version code is MING flags are -I/usr/X11R6/include MING libs are -lming MAKESWF is WARNING: You need to have the MTASC compiler packages installed to run some of the tests in Gnash testsuite. You can install it from http://mtasc.org or .deb users: apt-get install mtasc WARNING: You need to have the 'swfmill' tool installed to run some of the tests in Gnash testsuite. You can install it from http://swfmill.org/ WARNING: You need to have 'swfc' from SWFTools installed to run some of the tests in Gnash testsuite. You can install it from http://www.swftools.org/ PYTHON is /usr/bin/python Z flags are: default include path Z libs are: -L/lib -lz FreeType flags are: -I/usr/include/freetype2 FreeType libs are: -lfreetype -lz Fontconfig flags are: Fontconfig libs are: -lfontconfig
Any idea what the problem is ?
Harley
_______________________________________________ Gnash mailing list address@hidden http://lists.gnu.org/mailman/listinfo/gnash
|