Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238792 - app-emulation/wine-1.1.5 USE=-opengl - opengl_norm.c:(.text+0x84): undefined reference to `glViewport'
Summary: app-emulation/wine-1.1.5 USE=-opengl - opengl_norm.c:(.text+0x84): undefined ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 16:57 UTC by Matteo Sasso
Modified: 2008-10-14 11:25 UTC (History)
1 user (show)

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


Attachments
emerge --info (emergeinfo,10.63 KB, text/plain)
2008-09-26 17:11 UTC, Matteo Sasso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Sasso 2008-09-26 16:57:17 UTC
During emerge:

../../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 -lXext -lX11   ../../libs/port/libwine_port.a
opengl_norm.o: In function `wine_glViewport':
opengl_norm.c:(.text+0x84): undefined reference to `glViewport'
opengl_norm.o: In function `wine_glVertexPointer':
opengl_norm.c:(.text+0x124): undefined reference to `glVertexPointer'
opengl_norm.o: In function `wine_glVertex4sv':
opengl_norm.c:(.text+0x19a): undefined reference to `glVertex4sv'
...

and so on. I think that since I have "-opengl" in /etc/portage/package.use, the ebuild is trying to build the DLL anyway but fails because something like "-lGL" is missing from the command line. I'm trying again with opengl enable, will report back in 15 minutes or so.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-26 17:01:33 UTC
Please post your `emerge --info' too and attach the entire build log.
Comment 2 Matteo Sasso 2008-09-26 17:11:54 UTC
Created attachment 166535 [details]
emerge --info

Oops, sorry!
Comment 3 Matteo Sasso 2008-09-26 17:19:44 UTC
Yes, with opengl enabled wine compiles fine. The problem reported also affects wine-1.1.4.
Comment 4 Simon Génier 2008-10-13 19:58:26 UTC
It seems to be fixed in wine-1.1.6.
Comment 5 Matteo Sasso 2008-10-14 11:25:23 UTC
I can confirm that 1.1.6 solves the problem. I'm changing the status to reflect that, I hope it's fine. Feel free to change it as needed.