http://bugs.winehq.org/show_bug.cgi?id=13299
Summary: Wine-1.0rc1 doesn't compile Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: blocker Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: fdelente@mail.cpod.fr
I've compiled wine successfully from git for one year on my SLAMD64 laptop (64-bit environment).
However, wine-1.0rc1 doesn't compile while 0.9.60 compiled OK (I don't think I tried 0.9.61).
Here is the error I get when I try to compile:
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./advapi32.spec adva pi.o cred.o crypt.o crypt_arc4.o crypt_des.o crypt_lmhash.o crypt_md4.o crypt_md 5.o crypt_sha.o eventlog.o lsa.o registry.o security.o service.o svcctl_c.o ver sion.res -o advapi32.dll.so -lrpcrt4 -lkernel32 -lntdll -Wb,-drpcrt4 ../../libs/port/libwine_port.a -L/usr/lib -Wl,-rpath-link,/usr/lib -L/test/alsa/ lib32/lib -Wl,-rpath-link,/test/alsa/lib32/lib service.o: In function LockServiceDatabase': service.c:(.text+0x1ad7): undefined reference to __wine_exception_handler' service.o: In function UnlockServiceDatabase': service.c:(.text+0x1c4e): undefined reference to __wine_exception_handler' service.o: In function SetServiceStatus': service.c:(.text+0x1e30): undefined reference to __wine_exception_handler' service.o: In function OpenSCManagerW': service.c:(.text+0x215e): undefined reference to __wine_exception_handler' service.o: In function ControlService': service.c:(.text+0x23e4): undefined reference to __wine_exception_handler' service.o:service.c:(.text+0x254c): more undefined references to __wine_exception_handler' follow collect2: ld returned 1 exit status winegcc: /test/crossgcc/results/gcc-4.1.0-glibc-2.3.6/i686-unknown-linux-gnu/bin /i686-unknown-linux-gnu-gcc failed make[2]: *** [advapi32.dll.so] Error 2 make[2]: Leaving directory /usr/local/testSpace/wine/wine-1.0-rc1/dlls/advapi32' make[1]: *** [advapi32] Error 2 make[1]: *** Waiting for unfinished jobs....
I did regression tests, and got this:
0ee44f5e203fb627392ac2ad03cf822d66da2037 is first bad commit commit 0ee44f5e203fb627392ac2ad03cf822d66da2037 Author: Alexandre Julliard julliard@winehq.org Date: Thu May 1 10:57:54 2008 +0200
ntdll: Make the exception handling functions inline.
:040000 040000 daa72483d6175c1f1d3b9ecdfdfc2a0b78573caf 10912483dc84942eb8cb2bd6 192c1971c57169db M dlls :040000 040000 822538d2e6f977e4c1bf01310aa3e8d1d9f00510 3783b52e4e08e56a52b964d8 5e45479e504d87d7 M include
I suceeded in compiling on my other machine, which is under a Slackware 10 (32-bit environment).