Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED - GCC] emerge wine (ld: cannot find /lib/libz.so)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
wiSHmaKeR
n00b
n00b


Joined: 04 May 2004
Posts: 44
Location: Stara Zagora, Bulgaria

PostPosted: Sat Jul 30, 2005 8:11 am    Post subject: [SOLVED - GCC] emerge wine (ld: cannot find /lib/libz.so) Reply with quote

Code:
localhost # emerge -pv wine

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-emulation/wine-20050725  +X +alsa -arts +cups -debug +gif -glut +jack +jpeg +lcms +nas +ncurses +opengl -oss 0 kB


Code:
localhost # emerge wine
...
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o lex.yy.o lex.yy.c
rm -f libwpp.a
x86_64-pc-linux-gnu-ar rc libwpp.a preproc.o wpp.o y.tab.o lex.yy.o
x86_64-pc-linux-gnu-ranlib libwpp.a
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/libs/wpp'
rm -f libwine.so && ln -s wine/libwine.so libwine.so
rm -f libwine_unicode.so && ln -s unicode/libwine_unicode.so libwine_unicode.so
rm -f libwpp.a && ln -s wpp/libwpp.a libwpp.a
rm -f libwine.so.1 && ln -s wine/libwine.so.1 libwine.so.1
rm -f libwine_unicode.so.1 && ln -s unicode/libwine_unicode.so.1 libwine_unicode.so.1
make[1]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/libs'
make[1]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/tools'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o bin2res.o bin2res.c
x86_64-pc-linux-gnu-gcc -mtune=k8 -O2 -pipe -m32 -D__i386__ -o bin2res bin2res.o -L../libs/port -lwine_port
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o fnt2bdf.o fnt2bdf.c
x86_64-pc-linux-gnu-gcc -mtune=k8 -O2 -pipe -m32 -D__i386__ -o fnt2bdf fnt2bdf.o -L../libs/port -lwine_port
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o fnt2fon.o fnt2fon.c
x86_64-pc-linux-gnu-gcc -mtune=k8 -O2 -pipe -m32 -D__i386__ -o fnt2fon fnt2fon.o -L../libs/port -lwine_port
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o make_ctests.o make_ctests.c
x86_64-pc-linux-gnu-gcc -mtune=k8 -O2 -pipe -m32 -D__i386__ -o make_ctests make_ctests.o
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o makedep.o makedep.c
x86_64-pc-linux-gnu-gcc -mtune=k8 -O2 -pipe -m32 -D__i386__ -o makedep makedep.o
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -m32 -D__i386__ -o sfnt2fnt.o sfnt2fnt.c
x86_64-pc-linux-gnu-gcc -mtune=k8 -O2 -pipe -m32 -D__i386__ -o sfnt2fnt sfnt2fnt.o -L../libs/unicode -lwine_unicode -L../libs/port -lwine_port -lfreetype -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib/libz.so when searching for /lib/libz.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib/libz.so
collect2: ld returned 1 exit status
make[1]: *** [sfnt2fnt] Error 1
make[1]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/tools'
make: *** [tools] Error 2

!!! ERROR: app-emulation/wine-20050725 failed.
!!! Function src_compile, Line 111, Exitcode 2
!!! depend
!!! If you need support, post the topmost build error, NOT this status message.


Code:

localhost # emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.itdnet.net/gentoo/ http://gentoo.ITDNet.net/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/ http://ftp.rhnet.is/pub/gentoo/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib alsa apache2 audiofile avi berkdb bidi bitmap-fonts bl bmp bzip2 bzlib caps cdda cddb cdio cdparanoia cdr crypt cups curl dba dts dv dvb dvd dvdr dvdread ecc edl encode escreen esd fam fame fbcon ffmpeg firefox flac flatfile foomaticdb fortran fping freetype gd gd-external ggi gif glitz gnutls gpm gtk gtk2 hal imagemagick imlib ithreads jack java jpeg jpeg2k kde kdeenablefinal lcms ldap libcac libwww live lzo lzw lzw-tiff mad matroska mjpeg mng mozsvg mp3 mpeg mplayer mpm-threadpool msn multilib mysql nas ncurses nethack nls nvidia ogg oggvorbis opengl pam pcre pdflib perl png ppds python qt quicktime rar readline real rtc samba sblive sdl session smartcard sndfile softmmu spell sqlite ssl stream subtitles svg tcltk tcpd tga theora threads tiff truetype-fonts type1-fonts usb userlocales vcd vlm vorbis wxwindows xanim xine xinerama xml2 xmms xosd xpm xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


I re-emerged zlib and it went OK but 'emerge wine' still gives me the same error. Tried an emerge with 'FEATURES=-sandbox' but it's the same.
Any ideas... anyone?
_________________
And all your wishes come true... :)


Last edited by wiSHmaKeR on Sun Jul 31, 2005 6:01 pm; edited 2 times in total
Back to top
View user's profile Send private message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Sat Jul 30, 2005 8:37 am    Post subject: Reply with quote

It seems that wine needs 32-bit version of zlib, which you did not emerge with "emerge zlib"

Try finding if there is zlib version in emul-linux somewhere "emerge -s emul-linux" or try emergeing some base compatibility library there.

If this is a no-go, then you might try something like 'CFLAGS="-O2 -pipe -m32" CCFLAGS=$CFLAGS linux32 emerge --oneshot zlib' or something similar...
Back to top
View user's profile Send private message
blubb
Retired Dev
Retired Dev


Joined: 16 Feb 2004
Posts: 51
Location: Switzerland

PostPosted: Sat Jul 30, 2005 3:56 pm    Post subject: Reply with quote

you need a 32bit zlib which is in emul-linux-x86-baselibs

brankob wrote:
It seems that wine needs 32-bit version of zlib, which you did not emerge with "emerge zlib"
If this is a no-go, then you might try something like 'CFLAGS="-O2 -pipe -m32" CCFLAGS=$CFLAGS linux32 emerge --oneshot zlib' or something similar...


bad idea. this will screw up his dependency tree, and we won't/can't help to fix it. please don't advice others to use it
Back to top
View user's profile Send private message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Sat Jul 30, 2005 6:17 pm    Post subject: Reply with quote

Could you clarify this ? Why would" emerge --oneshot" screw up dependency tree ?
Back to top
View user's profile Send private message
wiSHmaKeR
n00b
n00b


Joined: 04 May 2004
Posts: 44
Location: Stara Zagora, Bulgaria

PostPosted: Sun Jul 31, 2005 5:32 pm    Post subject: Reply with quote

Reemerged emul-linux-x86-*. Recompiled my gcc and glibc, hardly changed to the new profile - 2005.0 (following the HOWTO and some posts in the forum), then recompiled gcc and glibc again, now I get the following errors when I try to compile wine:
Code:

make[1]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/dlls'
make[1]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs'
sed -e 's,@bindir\@,/usr/bin,g' ./wineapploader.in >wineapploader || (rm -f wineapploader && false)
sed -e 's,@bindir\@,/usr/bin,g' -e 's,@libdir\@,/usr/lib32,g' -e 's,@dlldir\@,/usr/lib32/wine,g' ./winelauncher.in >winelauncher || (rm -f winelauncher && false)
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/avitools'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o aviinfo.o aviinfo.c
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/clock'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o license.o license.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o aviplay.o aviplay.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o main.o main.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o icinfo.o icinfo.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o winclock.o winclock.c
rm -f aviinfo && ln -s ../../tools/winewrapper aviinfo
rm -f aviplay && ln -s ../../tools/winewrapper aviplay
rm -f icinfo && ln -s ../../tools/winewrapper icinfo
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows -o aviinfo.exe.so aviinfo.o -L../../dlls/avifil32 -L../../dlls -lavifil32 -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o License_En.o License_En.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows -o aviplay.exe.so aviplay.o -L../../dlls/avifil32 -L../../dlls/ddraw -L../../dlls -lavifil32 -lddraw -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o clock.exe.dbg.c --debug -C. license.c main.c winclock.c License_En.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS   -forsrc.res rsrc.rc
rm -f clock && ln -s ../../tools/winewrapper clock
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o clock.exe.dbg.o clock.exe.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows -o icinfo.exe.so icinfo.o -L../../dlls -lmsvfw32 -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows license.o main.o winclock.o License_En.o  clock.exe.dbg.o rsrc.res -o clock.exe.so -L../../dlls -L../../dlls/comdlg32 -L../../dlls/shell32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/kernel32 -lcomdlg32 -lshell32 -luser32 -lgdi32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/avitools'
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/cmdlgtst'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o cmdlgtst.o cmdlgtst.c
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/clock'
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/control'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o control.o control.c
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o cmdlgtst.exe.dbg.c --debug -C. cmdlgtst.c
../../tools/bin2res -f -o about.ico ./cmdlgr.rc
rm -f cmdlgtst && ln -s ../../tools/winewrapper cmdlgtst
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o cmdlgtst.exe.dbg.o cmdlgtst.exe.dbg.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS   -focmdlgr.res cmdlgr.rc
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o control.exe.dbg.c --debug -C. control.c
rm -f control && ln -s ../../tools/winewrapper control
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o control.exe.dbg.o control.exe.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows cmdlgtst.o  cmdlgtst.exe.dbg.o cmdlgr.res -o cmdlgtst.exe.so -L../../dlls -L../../dlls/comdlg32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/kernel32 -lcomdlg32 -luser32 -lgdi32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows control.o  control.exe.dbg.o  -o control.exe.so -L../../dlls -L../../dlls/shell32 -L../../dlls/user32 -L../../dlls/kernel32 -lshell32 -luser32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/cmdlgtst'
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/expand'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o expand.o expand.c
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/control'
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/hh'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o main.o main.c
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o expand.exe.dbg.c --debug -C. expand.c
rm -f expand && ln -s ../../tools/winewrapper expand
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o expand.exe.dbg.o expand.exe.dbg.c
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o hh.exe.dbg.c --debug -C. main.c
rm -f hh && ln -s ../../tools/winewrapper hh
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o hh.exe.dbg.o hh.exe.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mconsole expand.o  expand.exe.dbg.o  -o expand.exe.so -L../../dlls -L../../dlls/lz32 -L../../dlls/kernel32 -llz32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows main.o  hh.exe.dbg.o  -o hh.exe.so -L../../dlls -L../../dlls/kernel32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/expand'
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/msiexec'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o msiexec.o msiexec.c
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/hh'
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/notepad'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o License_En.o License_En.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o dialog.o dialog.c
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o msiexec.exe.dbg.c --debug -C. msiexec.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS   -foversion.res version.rc
rm -f msiexec && ln -s ../../tools/winewrapper msiexec
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o msiexec.exe.dbg.o msiexec.exe.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mconsole msiexec.o  msiexec.exe.dbg.o version.res -o msiexec.exe.so -L../../dlls -L../../dlls/msi -L../../dlls/ole32 -L../../dlls/advapi32 -L../../dlls/user32 -L../../dlls/kernel32 -lmsi -lole32 -ladvapi32 -luser32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o license.o license.c
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/msiexec'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o main.o main.c
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT -o notepad.exe.dbg.c --debug -C. License_En.c dialog.c license.c main.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -I../../include/msvcrt -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT  -forsrc.res rsrc.rc
rm -f notepad && ln -s ../../tools/winewrapper notepad
make[2]: Entering directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/progman'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o dialog.o dialog.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -DNO_LIBWINE_PORT -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o notepad.exe.dbg.o notepad.exe.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows License_En.o dialog.o license.o main.o  notepad.exe.dbg.o rsrc.res -o notepad.exe.so -L../../dlls -L../../dlls/comdlg32 -L../../dlls/shell32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/msvcrt -L../../dlls/advapi32 -L../../dlls/kernel32 -lcomdlg32 -lshell32 -luser32 -lgdi32 -lmsvcrt -ladvapi32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o group.o group.c
/var/tmp/portage/wine-20050725/temp/ccLXhxAc.s: Assembler messages:
/var/tmp/portage/wine-20050725/temp/ccLXhxAc.s:3815: Error: unknown pseudo-op: `.nong'
winegcc: x86_64-pc-linux-gnu-gcc failed.
make[2]: *** [notepad.exe.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/notepad'
make[1]: *** [notepad] Error 2
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o grpfile.o grpfile.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o license.o license.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o main.o main.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o program.o program.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o string.o string.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o License_En.o License_En.c
../../tools/winebuild/winebuild -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o progman.exe.dbg.c --debug -C. dialog.c group.c grpfile.c license.c main.c program.c string.c License_En.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS   -forsrc.res rsrc.rc
rm -f progman && ln -s ../../tools/winewrapper progman
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -mtune=k8 -O2 -pipe -I//usr/include/lcms -o progman.exe.dbg.o progman.exe.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows dialog.o group.o grpfile.o license.o main.o program.o string.o License_En.o  progman.exe.dbg.o rsrc.res -o progman.exe.so -L../../dlls -L../../dlls/shell32 -L../../dlls/comdlg32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/kernel32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port
make[2]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs/progman'
make[1]: Leaving directory `/var/tmp/portage/wine-20050725/work/wine-20050725/programs'
make: *** [programs] Error 2

!!! ERROR: app-emulation/wine-20050725 failed.
!!! Function src_compile, Line 112, Exitcode 2
!!! all
!!! If you need support, post the topmost build error, NOT this status message.


EDIT:"FEATURES=-sandbox emerge wine" helped wine to compile cleanly for me!!!
_________________
And all your wishes come true... :)


Last edited by wiSHmaKeR on Sun Jul 31, 2005 5:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
Birtz
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 272
Location: Osijek / Croatia

PostPosted: Sun Jul 31, 2005 5:43 pm    Post subject: Reply with quote

brankob wrote:
Could you clarify this ? Why would" emerge --oneshot" screw up dependency tree ?


It will overwrite system's zlib with 32-bit version and therefor all packages (64-bit) depending on the zlib would fail miserably ;)

Regards
_________________
It is not enough to have a good mind. The main thing is to use it well.
-- Rene Descartes

Don't have a childhood hero? How about Rob Hubbard http://www.freenetpages.co.uk/hp/tcworh/profile.htm
Back to top
View user's profile Send private message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Sun Jul 31, 2005 7:48 pm    Post subject: Reply with quote

True. Waht if I used USE="-m32" ? Would it take care of this and correct the install path accordingly ?
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Sun Jul 31, 2005 9:23 pm    Post subject: Reply with quote

Just download it manually(32bit binary) and put it in /emul/linux/x86/usr/lib and then run ldconfig. There is no -m32 USE flag and things are not as easy as you think. You can alternatively wait for updated emul package.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum