compile problem
Posted: 14 May 2004 17:57
Hi guys,
I use Suse9 x86_64 on an AMD64-System and got many linker errors i could fix but now I came across one I can't understand:
The linker says that it can't find -lX11 or better that it had found 2 files but cannot use any of them...
here is the output:
Anyone ever had this error before ?
Greets
motzky
I use Suse9 x86_64 on an AMD64-System and got many linker errors i could fix but now I came across one I can't understand:
The linker says that it can't find -lX11 or better that it had found 2 files but cannot use any of them...
here is the output:
Code: Select all
gcc -Wsign-compare -Wall -finline-limit-30000 -pipe -o libx11_plugin.so libx11_plugin_a-x11.o libx11_plugin_a-xcommon.o `top_builddir=../../.. ../../../vlc-config --libs plugin x11`
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.1/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.1/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.1/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[6]: *** [libx11_plugin.so] Error 1
Greets
motzky