Hi all, I've a problem compiling wine on SunOS. I downloaded the sources codeweavers-wine-20010112.tar.gz) and tried to compile it on sunOS 5.7. But i got the following error while building. Can u please let me know as to what is wrong and how to go about it to recrify? or where to post this question to? **************************************************************************** ******** -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE__ -D _REENTRANT -I/users/rajmohan/local/include/ -o console.o console.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o cpp.o cpp.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o ctype.o ctype.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o data.o data.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o dir.o dir.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o environ.o environ.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o errno.o errno.c gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_REENTRANT -I/users/rajmohan/local/include/ -o except.o except.c except.c: In function `MSVCRT__local_unwind2': except.c:108: `MSVCRT_nested_handler' undeclared (first use in this function) except.c:108: (Each undeclared identifier is reported only once except.c:108: for each function it appears in.) make[2]: *** [except.o] Error 1 make[2]: Leaving directory `/users/rajmohan/GNU/codeweavers-wine-20010112/dlls/msvcrt' make[1]: *** [msvcrt/libmsvcrt.so] Error 2 make[1]: Leaving directory `/users/rajmohan/GNU/codeweavers-wine-20010112/dlls' make: *** [dlls] Error 2 **************************************************************************** ******** -------------- next part -------------- A non-text attachment was scrubbed... Name: Rajmohan Banavi (E-mail).vcf Type: text/x-vcard Size: 844 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20010201/9a4ace81/RajmohanBanaviE-mail.vcf
Hi,> But i got the following error while building.Quick patch- Edit dlls/msvcrt/exception.c and wrap the code inside local_unwind2 with #if defined(__GNUC__) && defined(__i386__) #endif I'm updating this now, patch will be on wine-patches in a few hours. Almost all of this code is i388 specific and is only for binary compatability. I assume this either isn't an intel box or you are not using the GNU toolchain? Regards, Jon