[Wine] 0.9.14 CVS compilation on Gentoo amd64 fails

Michael Ploujnikov ploujj at gmail.com
Fri Jun 2 17:43:34 CDT 2006


Here is how I compiled 0.9.13:

#!/bin/bash
# note that the following is all one bash line
CFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib"\
LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" \
./configure --x-libraries=/emul/linux/x86/usr/lib/ && make depend all

I tried the same with 0.9.14 but it failed like this:

../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./mscms.spec    hand
le.o icc.o mscms_main.o profile.o stub.o transform.o  version.res
-Wl,--rpath,
\$ORIGIN/`../../tools/relpath /usr/local/lib/wine /usr/local/lib` -o
mscms.dll.s
o -L../../dlls -lkernel32 -lntdll  -L../../libs -lwine -llcms
-L../../libs/port
-lwine_port
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../liblcms.so
when searching for -llcms
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../liblcms.a w
hen searching for -llcms
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/liblcms.so when searching for -llcms
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/liblcms.a when searching for -llcms
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -llcms
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [mscms.dll.so] Error 2
make[2]: Leaving directory `/home/plouj/apps/wine-0.9.14/dlls/mscms'
make[1]: *** [mscms] Error 2
make[1]: Leaving directory `/home/plouj/apps/wine-0.9.14/dlls'
make: *** [dlls] Error 2

I have libcms in:
$ locate liblcms
/mnt/win_c/Program Files/GIMP-2.0/bin/liblcms-1.dll
/mnt/gentoo32/usr/lib/liblcms.a
/mnt/gentoo32/usr/lib/liblcms.so.1
/mnt/gentoo32/usr/lib/liblcms.so.1.0.13
/mnt/gentoo32/usr/lib/liblcms.la
/mnt/gentoo32/usr/lib/liblcms.so
/usr/lib64/liblcms.a
/usr/lib64/liblcms.so.1
/usr/lib64/liblcms.so.1.0.14
/usr/lib64/liblcms.la
/usr/lib64/liblcms.so
/emul/linux/x86/usr/lib/liblcms.so.1
/emul/linux/x86/usr/lib/liblcms.so.1.0.13
/emul/linux/x86/usr/lib/liblcms.so

If anyone has a successfull way to compile wine on gentoo amd64, please
post here and possibly also add it to:
http://wiki.winehq.org/WineOn64bit

Thanks



More information about the wine-users mailing list