Michael Ploujnikov
2006-Jun-02 17:45 UTC
[Wine] 0.9.14 CVS compilation on Gentoo amd64 fails
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
drescher0110-lists@yahoo.com
2006-Jun-02 23:05 UTC
[Wine] 0.9.14 CVS compilation on Gentoo amd64 fails
--- Michael Ploujnikov <ploujj@gmail.com> wrote:> 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 >Are you manually compiling wine from source and not portage?? As I have just the compiled the latest wine cvs using the ebuild that is in portage wine-9999 on amd64 with absolutely no problems. John
Michael Ploujnikov
2006-Jun-03 08:50 UTC
[Wine] Re: 0.9.14 CVS compilation on Gentoo amd64 fails
drescher0110-lists@yahoo.com wrote:> Are you manually compiling wine from source and not portage?? As I have just the > compiled the latest wine cvs using the ebuild that is in portage wine-9999 on amd64 > with absolutely no problems. >Yes, of course, I'm compiling from my own CVS checkout!
Michael Ploujnikov schrieb:> 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/WineOn64bitI can't really help you, but: Imho a real mixed 32/64bit environment just don't work nicely atm on gentoo. At least not when it comes to compiling 32bit packages and handling the 32bit dependencies. I can only suggest to setup a 32bit chroot, it saves you a lot of hassle :/
Maybe Matching Threads
- latest git fails to compile, amstream.c:77: undefined ref to `IID_IUnknown'
- Compiling old wine versions in opensuse 11.1
- Error-messages with winecfg and Adobe Photoshop6.0
- Pressure sensitivity not working on Photoshop CS or CS2
- wine CVS does not find freetype on Gentoo amd64