See Part I
Beginning with wine 0.9.57 “-lsunmath” is needed. You can get the libsunmath library from blastwave, for example:
LIBS = -lsocket -lnsl -lintl -L/opt/csw/lib -lsunmath
This is the error you might get if the library is not specified in dlls/wined3d/Makefile:
Undefined first referenced symbol in file isinf surface_base.o ld: fatal: Symbol referencing errors. No output written to wined3d.dll.so collect2: ld returned 1 exit status winegcc: gcc failed gmake[2]: *** [wined3d.dll.so] Error 2 gmake[2]: Leaving directory `/var/tmp/wine-0.9.57/dlls/wined3d' gmake[1]: *** [wined3d] Error 2 gmake[1]: Leaving directory `/var/tmp/wine-0.9.57/dlls' gmake: *** [dlls] Error 2
The isinf related discussion can be found here.
I have logged this as bug. Please vote for it π
http://bugs.winehq.org/show_bug.cgi?id=12008
There is also workaround for this.
Petr
Thanks a lot! Will vote!
Shouldn’t you use the libsunmath that comes with Sun Studio if you’ve got that installed? That makes it compile, and you can specify it all from the configure line by setting variables.
But wine 0.9.61 still doesn’t work under most recent (5/08) Solaris for me. Is that because I’m running 64-bit or something?
ab
Yes, the libsunmath from Sun Studio is the ideal case. BTW, I’m not sure if libsunmath is used in 0.9.61. i could not find any reference to this lib:
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libintl.so.1 => /lib/libintl.so.1
libwine.so.1 => (file not found)
libm.so.2 => /lib/libm.so.2
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
Very strange that wine 0.9.61 does not work for you. As I mentioned here v0.9.61 was the 1st wine version that compiled cleanly. I did not have to do anything. Just configure and gmake.
I have just checked the Makefile – I was using gcc not /opt/SUNWspro/bin/cc:
CC = gcc