make problem xinelib-1.1.7
Enno Fennema <[email protected]>
| Newsgroups | gmane.comp.video.xine.user |
|---|---|
| Message-ID | <[email protected]> |
Would appreciate advice on the following Downloaded and configured latest source package. Running 'make' fails (see last line following output fragment) with <<< gcc -shared .libs/xine.o .libs/metronom.o .libs/configfile.o .libs/buffer.o .libs/load_plugins.o .libs/video_decoder.o .libs/buffer_types.o .libs/audio_decoder.o .libs/video_out.o .libs/audio_out.o .libs/resample.o .libs/events.o .libs/video_overlay.o .libs/osd.o .libs/scratch.o .libs/demux.o .libs/vo_scale.o .libs/xine_interface.o .libs/post.o .libs/tvmode.o .libs/broadcaster.o .libs/io_helper.o .libs/input_rip.o .libs/input_cache.o .libs/info_helper.o .libs/refcounter.o .libs/alphablend.o -Wl,--whole-archive ../../src/xine-utils/.libs/libxineutils.a ../../lib/.libs/libxineposix.a -Wl,--no-whole-archive -ldl -lz -lm -lrt -lresolv -lnsl -pthread -Wl,-soname -Wl,libxine.so.1 -o .libs/libxine.so.1.17.1 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: .libs/xine.o: relocation R_X86_64_PC32 against `_x_get_fine_speed' can not be used when making a shared object; recompile with -fPIC >>> having earlier done <<< Making all in xine-engine make[3]: Entering directory `/loc/prog/xine-lib-1.1.7/src/xine-engine' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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_LIBRARY_COMPILE -I/usr/X11R6/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -fno-inline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -g -O2 -DNDEBUG -MT xine.lo -MD -MP -MF ".deps/xine.Tpo" -c -o xine.lo xine.c; \ then mv -f ".deps/xine.Tpo" ".deps/xine.Plo"; else rm -f ".deps/xine.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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_LIBRARY_COMPILE -I/usr/X11R6/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -fno-inline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -g -O2 -DNDEBUG -MT xine.lo -MD -MP -MF .deps/xine.Tpo -c xine.c -fPIC -DPIC -o .libs/xine.o <<< HERE xine.c: In function `xine_init': xine.c:1603: warning: passing arg 4 of pointer to function from incompatible pointer type ... It looks to me as if xine.o WAS compiled with -fPIC (see <<<HERE) so the suggestion to compile with -fPIC appears less than helpful. Any suggestions where I go astray and how to fix this most welcome. Thanks, Enno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/