Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78920

Summary: wine-20050111 compile error
Product: Gentoo Linux Reporter: Christian Bartels <christian>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.3   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Bartels 2005-01-21 01:58:47 UTC
when trying to compile wine-20050111, i get this error:

make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/olesvr'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o oleaut.o oleaut.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o olefont.o olefont.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o olepicture.o olepicture.c
olefont.c: In function `OLEFontImpl_SetHdc':
olefont.c:1135: warning: unused variable `this'
olefont.c: In function `OLEFontImpl_GetTypeInfoCount':
olefont.c:1190: warning: unused variable `this'
olefont.c: In function `OLEFontImpl_GetTypeInfo':
olefont.c:1211: warning: unused variable `this'
olefont.c: In function `OLEFontImpl_GetIDsOfNames':
olefont.c:1240: warning: unused variable `this'
olefont.c: In function `OLEFontImpl_EnumConnectionPoints':
olefont.c:1791: warning: unused variable `this'
olefont.c: In function `SFCF_QueryInterface':
olefont.c:2101: warning: unused variable `This'
olefont.c: In function `SFCF_LockServer':
olefont.c:2127: warning: unused variable `This'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o regsvr.o regsvr.c
olepicture.c:52:22: gif_lib.h: No such file or directory
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o safearray.o safearray.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o stubs.o stubs.c
olepicture.c: In function `OLEPictureImpl_get_hPal':
olepicture.c:477: warning: unused variable `This'
olepicture.c: In function `OLEPictureImpl_EnumConnectionPoints':
olepicture.c:752: warning: unused variable `This'
olepicture.c: In function `OLEPictureImpl_GetClassID':
olepicture.c:823: warning: unused variable `This'
olepicture.c: In function `OLEPictureImpl_IsDirty':
olepicture.c:834: warning: unused variable `This'
olepicture.c: At top level:
olepicture.c:899: error: `DGifOpen' undeclared here (not in a function)
olepicture.c:899: warning: type defaults to `int' in declaration of `pDGifOpen'
olepicture.c:900: error: `DGifSlurp' undeclared here (not in a function)
olepicture.c:900: warning: type defaults to `int' in declaration of `pDGifSlurp'
olepicture.c:901: error: `DGifCloseFile' undeclared here (not in a function)
olepicture.c:901: warning: type defaults to `int' in declaration of `pDGifCloseFile'
olepicture.c:930: error: parse error before '*' token
olepicture.c: In function `_gif_inputfunc':
olepicture.c:931: error: `gif' undeclared (first use in this function)
olepicture.c:931: error: (Each undeclared identifier is reported only once
olepicture.c:931: error: for each function it appears in.)
olepicture.c:933: error: `len' undeclared (first use in this function)
olepicture.c:937: error: `data' undeclared (first use in this function)
olepicture.c: In function `OLEPictureImpl_Load':
olepicture.c:1019: error: `GifFileType' undeclared (first use in this function)
olepicture.c:1019: error: `gif' undeclared (first use in this function)
olepicture.c:1024: error: `GifImageDesc' undeclared (first use in this function)
olepicture.c:1024: error: `gid' undeclared (first use in this function)
olepicture.c:1025: error: `SavedImage' undeclared (first use in this function)
olepicture.c:1025: error: `si' undeclared (first use in this function)
olepicture.c:1026: error: `ColorMapObject' undeclared (first use in this function)
olepicture.c:1026: error: `cm' undeclared (first use in this function)
olepicture.c:1028: error: `ExtensionBlock' undeclared (first use in this function)
olepicture.c:1028: error: `eb' undeclared (first use in this function)
olepicture.c:1041: error: called object is not a function
olepicture.c:1042: error: called object is not a function
olepicture.c:1043: error: `GIF_ERROR' undeclared (first use in this function)
olepicture.c:1168: error: called object is not a function
olepicture.c: In function `OLEPictureImpl_GetSizeMax':
olepicture.c:1707: warning: unused variable `This'
olepicture.c: In function `SPCF_QueryInterface':
olepicture.c:2000: warning: unused variable `This'
olepicture.c: In function `SPCF_LockServer':
olepicture.c:2031: warning: unused variable `This'
make[2]: *** [olepicture.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/rasapi32'
../../tools/winebuild/winebuild -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o rasapi16.spec.c --main-module rasapi32.dll --dll rasapi16.spec
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o rasapi.o rasapi.c
make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/oleaut32'
make[1]: *** [oleaut32] Error 2
make[1]: *** Waiting for unfinished jobs....
../../tools/winebuild/winebuild -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -o rasapi32.dll.dbg.c --debug -C. rasapi.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o rasapi16.spec.o rasapi16.spec.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium3 -pipe -O2 -o rasapi32.dll.dbg.o rasapi32.dll.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./rasapi32.spec rasapi16.spec.o   rasapi.o  rasapi32.dll.dbg.o   -o rasapi32.dll.so -L../../dlls  -lkernel32 -L../../libs/wine -lwine  -L../../libs/port -lwine_port -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common
make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/rasapi32'
make[1]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls'
make: *** [dlls] Error 2

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

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Christian Bartels 2005-01-21 02:00:12 UTC
Portage 2.0.51-r14 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  9 2005, 02:17:40)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -msse2 -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays-falign-functions=64 -msse2 -mmmx -msse -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS=" http://gentoo.mirror.sdv.fr http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/cblaptop /usr/local/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi aim alsa arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups dga directfb divx4linux dvd dvdr encode f77 fam fbcon flac font-server foomaticdb fortran ftp gcj gdbm gif gphoto2 gpm gstreamer icq imagemagick imlib ipv6 jabber java jpeg junit kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbisopengl oscar oss pam pcmcia pdflib perl png python qt quicktime readline samba sdl slang speex spell sse ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts usb xine xinerama xml2 xv xvid yahoo zlib video_cards_radeon linguas_de linguas_en"
Comment 2 SpanKY gentoo-dev 2005-01-21 05:57:05 UTC

*** This bug has been marked as a duplicate of 77809 ***