You are not logged in.
Hello people.
I have had some common issues with adobe flash player and dual monitors so I'm trying to use the also common fix "fullscreenhack" which is written in C.
However when I try to make I get this:
gcc -m32 -o tester tester.c -lX11 -lXrandr
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make: *** [tester] Error 1
Looks like a linking error. Do you guys have any clues?
Thanks
Last edited by Crone (2012-04-01 12:43:35)
Offline
Why are you compiling it for 32bit? Either you don't need the -m32 switch, or you're on 64bit cross compiling for 32bit and need a special toolchain. It's most likely the simpler solution
Offline
You are right. I am indeed compiling in 64 bit, so I removed the m32 switches from the make file and it compiled. However now, when i make install:
cp libfullscreenhack.so /usr/lib/nspluginwrapper/i386/linux/
cp: cannot create regular file `/usr/lib/nspluginwrapper/i386/linux/': No such file or directory
make: *** [install] Error 1
Edit: Nvm, i just needed to download the package nspluginwrapper. Its all cool now. Thanks a lot for your help man
Last edited by Crone (2012-04-01 12:43:58)
Offline