Open forum for end-user questions about
Wine. Before asking questions, check out the
Wiki as a first step.
Forum Rules
-
22karthikreddy
- Newbie

- Posts: 4
- Joined: Mon Dec 15, 2008 3:52 am
Post
by 22karthikreddy »
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
-
Thunderbird
- Level 5

- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
Post
by Thunderbird »
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.
-
James McKenzie
Post
by James McKenzie »
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