Hi, I am trying to include new library into wine. But was unable to do it. I tried the following in user32/Makefile.in> EXTRALIBS=`pkg-config --libs libwnck-1.0` > EXTRAINCL=`pkg-config --cflags libwnck-1.0`[\quote] > > > Once i do a make it is showing an error like this: > > > /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libwnck-1.so when searching for -lwnck-1 > > /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libwnck-1.a when searching for -lwnck-1 > > /usr/bin/ld: skipping incompatible /usr/lib/libwnck-1.so when searching for -lwnck-1 > > /usr/bin/ld: skipping incompatible /usr/lib/libwnck-1.a when searching for -lwnck-1 > > /usr/bin/ld: cannot find -lwnck-1 > > collect2: ld returned 1 exit status > > winegcc: gcc-4.3 failed > > make[2]: *** [user32.dll.so] Error 2 > > make[2]: Leaving directory `/home/karthik/Desktop/wine-1.1.12/dlls/user32' > > make[1]: *** [user32] Error 2 > > make[1]: Leaving directory `/home/karthik/Desktop/wine-1.1.12/dlls' > > make: *** [dlls] Error 2 > > >
The error is quite clear you are linking to a 64-bit libwcnk. You need a 32-bit version of this library to link against.
22karthikreddy wrote:> Hi, > I am trying to include new library into wine. But was unable to do it. I tried the following in user32/Makefile.in > > > >> EXTRALIBS=`pkg-config --libs libwnck-1.0` >> EXTRAINCL=`pkg-config --cflags libwnck-1.0`[\quote] >> >> >> Once i do a make it is showing an error like this: >> >> >>> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libwnck-1.so when searching for -lwnck-1 >>> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libwnck-1.a when searching for -lwnck-1 >>> /usr/bin/ld: skipping incompatible /usr/lib/libwnck-1.so when searching for -lwnck-1 >>> /usr/bin/ld: skipping incompatible /usr/lib/libwnck-1.a when searching for -lwnck-1 >>> /usr/bin/ld: cannot find -lwnck-1 >>> collect2: ld returned 1 exit status >>> winegcc: gcc-4.3 failed >>> make[2]: *** [user32.dll.so] Error 2 >>> make[2]: Leaving directory `/home/karthik/Desktop/wine-1.1.12/dlls/user32' >>> make[1]: *** [user32] Error 2 >>> make[1]: Leaving directory `/home/karthik/Desktop/wine-1.1.12/dlls' >>> make: *** [dlls] Error 2 >>> >>>You need the 32 bit version of this library. James McKenzie