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.
Please post your `emerge --info' too and attach the entire build log.
Created attachment 166535 [details] emerge --info Oops, sorry!
Yes, with opengl enabled wine compiles fine. The problem reported also affects wine-1.1.4.
It seems to be fixed in wine-1.1.6.
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.