xine-lib-1.1.15 failed to compile
JD <[email protected]>
| Newsgroups | gmane.comp.video.xine.user |
|---|---|
| Message-ID | <[email protected]> |
On AMD64 (FC7 x86_64), compiling lates xine-lib-1.1.15 fails. It seems that it attempt to link with 32 bit version of libSDL in /usr/lib, instead of libSDL in /usr/lib64. How do I fix this? gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -DXINE_COMPILE -fvisibility=hidden -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -m64 -L/usr/lib64 -DNDEBUG -MT xineplug_vo_out_sdl_la-video_out_sdl.lo -MD -MP -MF .deps/xineplug_vo_out_sdl_la-video_out_sdl.Tpo -c video_out_sdl.c -fPIC -DPIC -o .libs/xineplug_vo_out_sdl_la-video_out_sdl.o In file included from video_out_sdl.c:61: ../../include/xine.h:2230: warning: ‘xine_tvsystem’ is deprecated In file included from ../../src/input/input_plugin.h:29, from ../../src/xine-engine/xine_internal.h:35, from video_out_sdl.c:62: ../../src/xine-engine/buffer.h:679: warning: return type defaults to ‘int’ mv -f .deps/xineplug_vo_out_sdl_la-video_out_sdl.Tpo .deps/xineplug_vo_out_sdl_la-video_out_sdl.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -fvisibility=hidden -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -m64 -L/usr/lib64 -DNDEBUG -Wl,-z,defs -avoid-version -module -m64 -L/usr/lib64 -o xineplug_vo_out_sdl.la -rpath /usr/lib64/xine/plugins/1.24 xineplug_vo_out_sdl_la-video_out_sdl.lo ../../src/xine-engine/libxine.la -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lSDL -lpthread -lX11 -lXext -lXinerama -pthread gcc -shared .libs/xineplug_vo_out_sdl_la-video_out_sdl.o -Wl,--rpath -Wl,/usr/src/redhat/BUILD/xine/xine-lib-1.1.15/src/xine-engine/.libs -Wl,--rpath -Wl,/usr/lib64 -L/usr/lib64 ../../src/xine-engine/.libs/libxine.so /usr/lib/libSDL.so -lpthread -lX11 -lXext -lXinerama -m64 -Wl,-z -Wl,defs -m64 -Wl,-rpath -Wl,/usr/lib64 -pthread -Wl,-soname -Wl,xineplug_vo_out_sdl.so -o .libs/xineplug_vo_out_sdl.so /usr/lib/libSDL.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[3]: *** [xineplug_vo_out_sdl.la] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/xine/xine-lib-1.1.15/src/video_out' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/xine/xine-lib-1.1.15/src/video_out' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/xine/xine-lib-1.1.15/src' make: *** [all-recursive] Error 1 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/