Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171783 - wine 0.9.33 compilation failure on AMD64 due to missing GL syms
Summary: wine 0.9.33 compilation failure on AMD64 due to missing GL syms
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Wine Maintainers
URL: http://bugs.winehq.com/show_bug.cgi?i...
Whiteboard:
Keywords:
: 173336 174001 178810 200925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-22 12:50 UTC by Marek Bartosiewicz
Modified: 2008-03-01 23:48 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
configure log (config.log,618.48 KB, text/plain)
2007-05-04 22:46 UTC, David Pyke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Bartosiewicz 2007-03-22 12:50:57 UTC
wine 0.9.33 always fails when emerging (same with 0.9.32):

x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o utils.o utils.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o vertexbuffer.o vertexbuffer.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o vertexdeclaration.o vertexdeclaration.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o vertexshader.o vertexshader.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o volume.o volume.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o volumetexture.o volumetexture.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o wined3d_main.o wined3d_main.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./wined3d.spec    arb_program_shader.o baseshader.o basetexture.o context.o cubetexture.o device.o directx.o drawprim.o glsl_shader.o indexbuffer.o palette.o pixelshader.o query.o resource.o state.o stateblock.o surface.o surface_gdi.o swapchain.o texture.o utils.o vertexbuffer.o vertexdeclaration.o vertexshader.o volume.o volumetexture.o wined3d_main.o        -o wined3d.dll.so  -luser32 -lgdi32 -ladvapi32 -lkernel32  -luuid   -lSM -lICE -lXxf86vm -lXext -lX11  -lGL ../../libs/port/libwine_port.a -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/wined3d'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls'
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-0.9.33 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3338:   Called src_compile
  wine-0.9.33.ebuild, line 107:   Called die

!!! all
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-emulation/wine-0.9.33/temp/build.log'.

Reproducible: Always




Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-dark4 x86_64)
=================================================================
System uname: 2.6.20-dark4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 22 Mar 2007 05:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.13
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.po.opole.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,-s -Wl,--hash-style=gnu"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx alsa amd64 async bitmap-fonts branding browserplugin bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus divx4linux dri dts dvd dvdr dvdread encode exif exo fam fbcon fftw filter_default firefox flac foomaticdb freetype gd geoip geos gif glibc-omitfp glitz glw gpm graphlcd gstreamer gtk gtk2 iconv isdnlog ithreads jabber java javascript jpeg libg++ lm_sensors mad midi mikmod motif mozbranding mp3 mp3rtp mpeg musepack ncurses newspr nls nptl nptlonly nsplugin offensive ogdi opengl pam panel-plugin pcre pdf perl pic plugins png ppds pppd python readline reflection samba sdl session smp spell spl ssl startup-notification svg symlink tcl tcpd threads tiff tk tlen truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wma x264 xml xml2 xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="vesa fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-22 12:53:21 UTC
> !!! If you need support, post the topmost build error

Well, there's no error in the output above. Plus, try with LDFLAGS=""
Comment 2 Marek Bartosiewicz 2007-03-22 13:28:25 UTC
Should I post complete /var/tmp/portage/app-emulation/wine-0.9.33/temp/build.log somewhere?
And I already tried with LDFLAGS="", also with -O1 instead of -O2 in CFLAGS, that didn't help.
Error shows up in "wined3d" directory, but I don't know what to do with it :)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-22 13:35:58 UTC
Try w/ MAKEOPTS="-j1" and post the errors here... 
Comment 4 Marek Bartosiewicz 2007-03-22 13:57:34 UTC
Now I get this:

Comment 5 Marek Bartosiewicz 2007-03-22 13:58:39 UTC
Sorry, forgot to paste:

x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DUSE_WS_PREFIX -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o socket16.o socket16.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DUSE_WS_PREFIX -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o async.o async.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DUSE_WS_PREFIX -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o protocol.o protocol.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DUSE_WS_PREFIX -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o socket.o socket.c
LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -DUSE_WS_PREFIX  -foversion.res version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ws2_32.spec winsock.spec.o socket16.o  async.o protocol.o socket.o     version.res   -o ws2_32.dll.so -luser32 -liphlpapi -lkernel32 -lntdll -Wb,-duser32  ../../libs/port/libwine_port.a -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/ws2_32'
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/wsock32'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o protocol.o protocol.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o service.o service.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o socket.o socket.c
LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -foversion.res version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./wsock32.spec    protocol.o service.o socket.o     version.res   -o wsock32.dll.so  -lws2_32 -liphlpapi -lkernel32   ../../libs/port/libwine_port.a -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/wsock32'
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/wtsapi32'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o wtsapi32.o wtsapi32.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./wtsapi32.spec    wtsapi32.o        -o wtsapi32.dll.so  -lkernel32   ../../libs/port/libwine_port.a -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/wtsapi32'
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/opengl32'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o opengl_ext.o opengl_ext.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o opengl_norm.o opengl_norm.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=athlon64 -pipe  -o wgl.o wgl.c
LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -foversion.res version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./opengl32.spec    opengl_ext.o opengl_norm.o wgl.o     version.res   -o opengl32.dll.so  -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll  -lSM -lICE -lXxf86vm -lXext -lX11  -lGL ../../libs/port/libwine_port.a -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu
wgl.o: In function `wglUseFontOutlines_common':
wgl.c:(.text+0x13ab): undefined reference to `gluNewTess'
wgl.c:(.text+0x13df): undefined reference to `gluTessCallback'
wgl.c:(.text+0x13ff): undefined reference to `gluTessCallback'
wgl.c:(.text+0x141f): undefined reference to `gluTessCallback'
wgl.c:(.text+0x1551): undefined reference to `gluTessEndContour'
wgl.c:(.text+0x155f): undefined reference to `gluTessEndPolygon'
wgl.c:(.text+0x17be): undefined reference to `gluTessBeginPolygon'
wgl.c:(.text+0x1819): undefined reference to `gluTessBeginContour'
wgl.c:(.text+0x1854): undefined reference to `gluTessVertex'
wgl.c:(.text+0x18fb): undefined reference to `gluTessVertex'
wgl.c:(.text+0x197a): undefined reference to `gluTessEndContour'
wgl.c:(.text+0x1a72): undefined reference to `gluDeleteTess'
wgl.c:(.text+0x1b86): undefined reference to `gluTessVertex'
wgl.c:(.text+0x1bc0): undefined reference to `gluTessVertex'
collect2: ld returned 1 exit status
winegcc: x86_64-pc-linux-gnu-gcc failed.
make[2]: *** [opengl32.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls/opengl32'
make[1]: *** [opengl32] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.33/work/wine-0.9.33/dlls'
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-0.9.33 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3336:   Called src_compile
  wine-0.9.33.ebuild, line 107:   Called die

!!! all
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-emulation/wine-0.9.33/temp/build.log'.
Comment 6 Marek Bartosiewicz 2007-03-22 14:48:06 UTC
The only info I could manage to find is that this bug may have something to do with libGLU. revdep-rebuild shows this:

Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib32/dri/fglrx_dri.so (no version information available)
  broken /usr/lib32/libdb_cxx-4.2.so (no version information available)
  broken /usr/lib32/libdbus-qt-1.so.1.0.0 (no version information available)
  broken /usr/lib32/libGLU.so.1 (no version information available)
  broken /usr/lib32/libGLU.so.1.3.060501 (no version information available)
  broken /usr/lib32/libtiffxx.so.3.8.2 (no version information available)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot -pv =app-emulation/emul-linux-x86-baselibs-10.2 =app-emulation/emul-linux-x86-xlibs-10.0 =x11-drivers/ati-drivers-8.34.8
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-emulation/emul-linux-x86-baselibs-10.2  0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-xlibs-10.0  USE="opengl" 0 kB
[ebuild   R   ] x11-drivers/ati-drivers-8.34.8  USE="acpi -qt3" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB

And no matter how many times i let it "rebuild" there are this errors present. Again and again. 

Pls take a look at: http://bugs.winehq.com/show_bug.cgi?id=5124
http://ubuntuforums.org/showthread.php?t=167765&page=7


I recently reinstalled Gentoo from scratch, wine worked in my old setup a week ago, I can't emerge it after system reinstall.
Comment 7 Christoph Mende (RETIRED) gentoo-dev 2007-03-22 15:29:33 UTC
Do you have any packages providing virtual/glu and/or virtual/glut (media-libs/(free)glut for example)?
Comment 8 Marek Bartosiewicz 2007-03-22 17:17:29 UTC
yes, I have virtual/glu & media-libs/freeglut 
Comment 9 Marek Bartosiewicz 2007-03-22 19:30:18 UTC
USE="-opengl" emerge wine
compiled fine, so there's definately something wrong with GL/GLUT or whatnot ;) 
Hacking the wined3d Makefile during emerge and adding -lGLU didn't help.

But fglrx/Xgl/beryl and glxgears are all working fine. wine doesn't compile with opengl.
Comment 10 SpanKY gentoo-dev 2007-03-22 22:47:40 UTC
verify your libGL.so provides those symbols by doing `readelf /usr/lib32/libGL.so | grep <symbol>`

builds fine on my amd64 with opengl
Comment 11 Marek Bartosiewicz 2007-03-25 09:21:08 UTC
unfortunately readelf says:

readelf -s /usr/lib32/libGL.so | grep glu
[nothing is displayed]

but:

readelf -s /usr/lib32/libGLU.so.1.3.060501 | grep glu
    20: 00035080   111 FUNC    GLOBAL DEFAULT   10 gluNurbsSurface
    29: 000350f0   110 FUNC    GLOBAL DEFAULT   10 gluNurbsCurve
    61: 00012870   143 FUNC    GLOBAL DEFAULT   10 gluErrorString
    80: 00027740   284 FUNC    GLOBAL DEFAULT   10 gluUnProject
   123: 00027e80    14 FUNC    GLOBAL DEFAULT   10 gluQuadricTexture
   154: 00031370    26 FUNC    GLOBAL DEFAULT   10 gluTessNormal
   164: 0001c240   309 FUNC    GLOBAL DEFAULT   10 gluBuild3DMipmapLevels
   187: 000317c0    70 FUNC    GLOBAL DEFAULT   10 gluTessBeginPolygon
   195: 0002b680    58 FUNC    GLOBAL DEFAULT   10 gluGetString
   207: 0001c030   522 FUNC    GLOBAL DEFAULT   10 gluBuild3DMipmaps
   212: 0003d670     5 FUNC    WEAK   DEFAULT   10 _Z12_glu_dprintfPcz
   214: 00035370   170 FUNC    GLOBAL DEFAULT   10 gluNurbsCallback
   237: 0001dcf0  3359 FUNC    GLOBAL DEFAULT   10 gluScaleImage
   243: 0001f500   156 FUNC    GLOBAL DEFAULT   10 gluBuild1DMipmaps
   281: 00027120   239 FUNC    GLOBAL DEFAULT   10 gluBuild2DMipmapLevels
   296: 00035290    43 FUNC    GLOBAL DEFAULT   10 gluBeginCurve
   307: 0001edd0   174 FUNC    GLOBAL DEFAULT   10 gluBuild1DMipmapLevels
   311: 00035010    42 FUNC    GLOBAL DEFAULT   10 gluNurbsCallbackData
   358: 00027c30   364 FUNC    GLOBAL DEFAULT   10 gluPerspective
   367: 0002b6c0   159 FUNC    GLOBAL DEFAULT   10 gluCheckExtension
   403: 0002b630    77 FUNC    GLOBAL DEFAULT   10 gluNewQuadric
   463: 00031ea0   262 FUNC    GLOBAL DEFAULT   10 gluNewTess
   469: 00027ec0    38 FUNC    GLOBAL DEFAULT   10 gluQuadricDrawStyle
   476: 00027040   220 FUNC    GLOBAL DEFAULT   10 gluBuild2DMipmaps
   481: 00027da0    88 FUNC    GLOBAL DEFAULT   10 gluOrtho2D
   491: 000352f0    79 FUNC    GLOBAL DEFAULT   10 gluNewNurbsRenderer
   506: 00027ae0   327 FUNC    GLOBAL DEFAULT   10 gluLookAt
   523: 00035200    35 FUNC    GLOBAL DEFAULT   10 gluBeginTrim
   580: 0002a6e0  3858 FUNC    GLOBAL DEFAULT   10 gluCylinder
   589: 00031c50    50 FUNC    GLOBAL DEFAULT   10 gluEndPolygon
   604: 00027860   331 FUNC    GLOBAL DEFAULT   10 gluUnProject4
   616: 00031810    58 FUNC    GLOBAL DEFAULT   10 gluBeginPolygon
   641: 00035230    35 FUNC    GLOBAL DEFAULT   10 gluEndSurface
   642: 00031710    39 FUNC    GLOBAL DEFAULT   10 gluTessEndContour
   674: 0002b600    35 FUNC    GLOBAL DEFAULT   10 gluDeleteQuadric
   680: 00031c90   456 FUNC    GLOBAL DEFAULT   10 gluTessVertex
   707: 00027e90    38 FUNC    GLOBAL DEFAULT   10 gluQuadricOrientation
   782: 00031150   343 FUNC    GLOBAL DEFAULT   10 gluTessProperty
   808: 000352c0    43 FUNC    GLOBAL DEFAULT   10 gluBeginSurface
   861: 00031740    63 FUNC    GLOBAL DEFAULT   10 gluTessBeginContour
   876: 00035780  1602 FUNC    GLOBAL DEFAULT   10 gluNurbsProperty
   886: 000319a0   677 FUNC    GLOBAL DEFAULT   10 gluTessEndPolygon
   887: 00031390   510 FUNC    GLOBAL DEFAULT   10 gluTessCallback
   896: 000312b0   182 FUNC    GLOBAL DEFAULT   10 gluGetTessProperty
   900: 00027e50    36 FUNC    GLOBAL DEFAULT   10 gluQuadricNormals
   930: 00029570  4363 FUNC    GLOBAL DEFAULT   10 gluPartialDisk
   948: 00035420   850 FUNC    GLOBAL DEFAULT   10 gluGetNurbsProperty
   958: 000351d0    35 FUNC    GLOBAL DEFAULT   10 gluEndTrim
   979: 00027ef0  5754 FUNC    GLOBAL DEFAULT   10 gluSphere
   982: 00034fd0    23 FUNC    GLOBAL DEFAULT   10 gluDeleteNurbsTessellator
   985: 000279b0   199 FUNC    GLOBAL DEFAULT   10 gluPickMatrix
  1013: 00031e60    57 FUNC    GLOBAL DEFAULT   10 gluDeleteTess
  1060: 0002a680    95 FUNC    GLOBAL DEFAULT   10 gluDisk
  1084: 00035160   103 FUNC    GLOBAL DEFAULT   10 gluPwlCurve
  1087: 00012920    26 FUNC    GLOBAL DEFAULT   10 __gluTessErrorString
  1097: 00034fb0    23 FUNC    GLOBAL DEFAULT   10 gluDeleteNurbsRenderer
  1112: 00027650   236 FUNC    GLOBAL DEFAULT   10 gluProject
  1116: 00012900    26 FUNC    GLOBAL DEFAULT   10 __gluNURBSErrorString
  1119: 00035340    47 FUNC    GLOBAL DEFAULT   10 glu_LOD_eval_list
  1171: 00035040    56 FUNC    GLOBAL DEFAULT   10 gluLoadSamplingMatrices
  1193: 00027e20    37 FUNC    GLOBAL DEFAULT   10 gluQuadricCallback
  1200: 00031780    50 FUNC    GLOBAL DEFAULT   10 gluNextContour
  1244: 00035260    35 FUNC    GLOBAL DEFAULT   10 gluEndCurve
  1246: 00034ff0    23 FUNC    GLOBAL DEFAULT   10 gluNurbsCallbackDataEXT


it seems that libGLU.so provides needed symbols, NOT libGL.so
Comment 12 SpanKY gentoo-dev 2007-04-04 22:54:31 UTC
*** Bug 173336 has been marked as a duplicate of this bug. ***
Comment 13 SpanKY gentoo-dev 2007-04-10 11:25:45 UTC
*** Bug 174001 has been marked as a duplicate of this bug. ***
Comment 14 SpanKY gentoo-dev 2007-04-10 11:26:00 UTC
upstream bug report contains a fix
Comment 15 Pacho Ramos gentoo-dev 2007-04-11 20:00:07 UTC
Please, try app-emulation/wine-0.9.34, it works fine for me

Good luck!
Comment 16 David Pyke 2007-04-14 15:13:59 UTC
Still happens for me on 0.9.35.
Comment 17 Marek Bartosiewicz 2007-04-16 07:02:22 UTC
yes, 0.9.34 & .35 don't work for me either
Comment 18 SpanKY gentoo-dev 2007-04-19 00:18:24 UTC
i lied; upstream bug report contains no real resolution

for anyone this fails for, post your config.log as an attachment ... -lGLU should automatically be added to OPENGL_LIBS as long as it provides gluLookAt
Comment 19 David Pyke 2007-05-04 22:46:28 UTC
Created attachment 118187 [details]
configure log

Still happening on 0.9.36
Comment 20 SpanKY gentoo-dev 2007-05-05 01:13:03 UTC
not a bug in wine, your GL libs are broken:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4'

it should be linked to libstdc++.so:
$ readelf -d /usr/lib32/libGLU.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libGL.so.1]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
Comment 21 David Pyke 2007-05-05 13:26:13 UTC
Since I'm on AMD64 and pulling those in with the emulation layer, do I file a bug for them?
Comment 22 SpanKY gentoo-dev 2007-05-05 22:51:30 UTC
yes ... make sure you mention what GL implementation you're using (nvidia or ati or X or ...)

also, search first ... i vaguely recall this coming up before ...
Comment 23 Marek Bartosiewicz 2007-05-07 12:12:21 UTC
OK guys.
Reverting to stable binutils (2.17) from binutils snapshot and removing hashstyle from LDFLAGS solved the problem for me. Wine 0.9.36 emerges fine with "opengl" USE flag on amd64. I tested it on new gentoo installation.
So it seems that binutils/hashstyle is the culprit.
Comment 24 SpanKY gentoo-dev 2007-05-19 05:21:16 UTC
*** Bug 178810 has been marked as a duplicate of this bug. ***
Comment 25 SpanKY gentoo-dev 2007-05-19 05:23:26 UTC
you ricers are probably experiencing Bug 175900

sync your tree and re-emerge your gcc and then re-emerge your opengl providers (xorg/nvidia/ati/whatever)
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2007-12-01 22:27:42 UTC
*** Bug 200925 has been marked as a duplicate of this bug. ***
Comment 27 Michal Jakubowski 2008-03-01 23:48:33 UTC
Wine 0.9.56:

sql.y: conflicts: 3 reduce/reduce
main.c:100: warning: 'process_detach' defined but not used
alsa.c: In function 'ALSA_TraceParameters':
alsa.c:738: warning: 'snd_pcm_hw_params_get_tick_time' is deprecated (declared at /usr/include/alsa/pcm.h:1108)
alsa.c:738: warning: 'snd_pcm_hw_params_get_tick_time_min' is deprecated (declared at /usr/include/alsa/pcm.h:1109)
alsa.c:738: warning: 'snd_pcm_hw_params_get_tick_time_max' is deprecated (declared at /usr/include/alsa/pcm.h:1110)
dscapture.c: In function 'CreateMMAP':
dscapture.c:451: warning: 'snd_pcm_sw_params_set_xrun_mode' is deprecated (declared at /usr/include/alsa/pcm.h:1101)
dsoutput.c: In function 'DSDB_CreateMMAP':
dsoutput.c:213: warning: 'snd_pcm_sw_params_set_xrun_mode' is deprecated (declared at /usr/include/alsa/pcm.h:1101)
wavein.c: In function 'widOpen':
wavein.c:486: warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at /usr/include/alsa/pcm.h:1104)
waveout.c: In function 'wodOpen':
waveout.c:762: warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at /usr/include/alsa/pcm.h:1104)
waveout.c:764: warning: 'snd_pcm_sw_params_set_xrun_mode' is deprecated (declared at /usr/include/alsa/pcm.h:1101)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSM.so when searching for -lSM
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSM.a when searching for -lSM
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libICE.so when searching for -lICE
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libICE.a when searching for -lICE
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXxf86vm.so when searching for -lXxf86vm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXxf86vm.a when searching for -lXxf86vm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libX11.a when searching for -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libGL.so when searching for -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
wgl.o: In function `wglUseFontOutlines_common':
wgl.c:(.text+0x1086): undefined reference to `gluNewTess'
wgl.c:(.text+0x10b4): undefined reference to `gluTessCallback'
wgl.c:(.text+0x10d4): undefined reference to `gluTessCallback'
wgl.c:(.text+0x10f4): undefined reference to `gluTessCallback'
wgl.c:(.text+0x122c): undefined reference to `gluTessEndContour'
wgl.c:(.text+0x123a): undefined reference to `gluTessEndPolygon'
wgl.c:(.text+0x1496): undefined reference to `gluTessBeginPolygon'
wgl.c:(.text+0x14f1): undefined reference to `gluTessBeginContour'
wgl.c:(.text+0x152c): undefined reference to `gluTessVertex'
wgl.c:(.text+0x15d3): undefined reference to `gluTessVertex'
wgl.c:(.text+0x1655): undefined reference to `gluTessEndContour'
wgl.c:(.text+0x174b): undefined reference to `gluDeleteTess'
wgl.c:(.text+0x185c): undefined reference to `gluTessVertex'
wgl.c:(.text+0x1896): undefined reference to `gluTessVertex'
collect2: ld returned 1 exit status
winegcc: x86_64-pc-linux-gnu-gcc failed
make[2]: *** [opengl32.dll.so] Error 2
make[1]: *** [opengl32] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSM.so when searching for -lSM
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSM.a when searching for -lSM
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libICE.so when searching for -lICE
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libICE.a when searching for -lICE
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXxf86vm.so when searching for -lXxf86vm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXxf86vm.a when searching for -lXxf86vm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libX11.a when searching for -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
make: *** [dlls] Error 2
 *
 * ERROR: app-emulation/wine-0.9.56 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2444:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-0.9.56/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-0.9.56/temp/environment'.
 *

 * Messages for package app-emulation/wine-0.9.56:

 *
 * ERROR: app-emulation/wine-0.9.56 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2444:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-0.9.56/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-0.9.56/temp/environment'.
 *



How fix this problem ??
I muse use 0.9.59