Can't compile wine-1.0rc1

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Fabrice DELENTE

Can't compile wine-1.0rc1

Post by Fabrice DELENTE »

Hello.

I've tried compiling the release candidate, but I get this error:

../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./advapi32.spec advapi.o cred.o crypt.o crypt_arc4.o crypt_des.o crypt_lmhash.o crypt_md4.o crypt_md5.o crypt_sha.o eventlog.o lsa.o registry.o security.o service.o svcctl_c.o version.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....

Anybody knows a fix? Thanks.

--
Fabrice DELENTE
Quix0r
Level 3
Level 3
Posts: 50
Joined: Sat May 10, 2008 8:23 am

Post by Quix0r »

Have you done a make depend before?

And the "unknown-linux" looks strange to me.

Which distro do you have?

I'm also currently compiling rc1 on my computer. :)
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Post by fdelente »

Sorry for the delay, I posted only on the mailing-list, I don't know how my post ended up here, anyway...

Yes, I did make depend before make. I use a script that has successfully compiled wine-cvs then wine-git for about two years (maybe more :^)

It's just with wine-1.0rc1 that the problem surfaced. Even trying with a fresh, downloaded from scratch git tree didn't help.

My distribution is SLAMD64 11.0 (I compiled with a cross-32bit gcc); I succeeded in compiling on my other machine, a 32-bit Slackware 10. The 64-bit environment wasn't a problem up to now.

I did regression tests, it seems that compiling stopped after this commit:

0ee44f5e203fb627392ac2ad03cf822d66da2037 is first bad commit
commit 0ee44f5e203fb627392ac2ad03cf822d66da2037
Author: Alexandre Julliard <[email protected]>
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

Any further hint? Thanks.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Can't compile wine-1.0rc1

Post by austin987 »

On Sun, May 18, 2008 at 11:34 AM, fdelente <[email protected]> wrote:
Sorry for the delay, I posted only on the mailing-list, I don't know how my post ended up here, anyway...
The two are linked together ;-).
Yes, I did make depend before make. I use a script that has successfully compiled wine-cvs then wine-git for about two years (maybe more :^)

It's just with wine-1.0rc1 that the problem surfaced. Even trying with a fresh, downloaded from scratch git tree didn't help.

My distribution is SLAMD64 11.0 (I compiled with a cross-32bit gcc); I succeeded in compiling on my other machine, a 32-bit Slackware 10. The 64-bit environment wasn't a problem up to now.
64 bit compilation is a bit sketchy ATM...
I did regression tests, it seems that compiling stopped after this commit:

0ee44f5e203fb627392ac2ad03cf822d66da2037 is first bad commit
commit 0ee44f5e203fb627392ac2ad03cf822d66da2037
Author: Alexandre Julliard <[email protected]>
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

Any further hint? Thanks.
Please file a bug at bugs.winehq.org
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Post by fdelente »

> 64 bit compilation is a bit sketchy ATM...

It worked ok up to 0.9.61.

> Please file a bug at bugs.winehq.org

Done.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Can't compile wine-1.0rc1

Post by vitamin »

Fabrice DELENTE wrote:I've tried compiling the release candidate, but I get this error:
Don't compile Wine as 64-bit - it won't work even if it compiles.
Locked