Wine 1.1.33 doesn't compile

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Wine 1.1.33 doesn't compile

Post by fdelente »

Hello.

After configuring the source, I do make and get this error:

ldt.c: In function 'modify_ldt':
ldt.c:79: error: 'SYS_modify_ldt' undeclared (first use in this function)

I've compiled up to 1.1.32 without getting this error. Is there a fix?

Thanks.
mickthebike
Level 3
Level 3
Posts: 63
Joined: Tue May 13, 2008 3:44 am

Post by mickthebike »

I compiled 1.33 yesterday on OpenSuse 11.2...
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

That's a missing syscall. On what OS are you trying to compile Wine?
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Post by fdelente »

Thunderbird wrote:That's a missing syscall. On what OS are you trying to compile Wine?
I thougt it was obvious :^) but it's not...

I'm compiling on linux, kernel 2.6.31.5 #3 PREEMPT Fri Oct 30 18:31:42 CET 2009 i686 AMD Athlon(tm) 64 Processor 4000+ AuthenticAMD GNU/Linux
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine 1.1.33 doesn't compile

Post by vitamin »

fdelente wrote:ldt.c: In function 'modify_ldt':
ldt.c:79: error: 'SYS_modify_ldt' undeclared (first use in this function)

I've compiled up to 1.1.32 without getting this error. Is there a fix?
You sure your kernel headers match your kernel? Also are you compiling regular 32-bit Wine? Works fine here with 2.6.31.5
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Post by fdelente »

I'lll have a look, but I compiled 1.1.32 without trouble on exactly the same machine.

Thanks.
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Post by fdelente »

Seems to have been a bad include problem; thanks for the tips.
voral
Newbie
Newbie
Posts: 1
Joined: Mon Sep 05, 2011 10:41 am

(Wine 1.3.27)Same problem

Post by voral »

I have same problem.

Linux debian 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux

Wine 1.3.27

Code: Select all

make[1]: Entering directory `/usr/src/wine-1.3.27/libs/wine'
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -Wpointer-arith -Wlogical-op  -g -O2  -o ldt.o ldt.c
ldt.c: In function ‘modify_ldt’:
ldt.c:73:21: error: ‘SYS_modify_ldt’ undeclared (first use in this function)
ldt.c:73:21: note: each undeclared identifier is reported only once for each function it appears in
ldt.c:74:1: warning: control reaches end of non-void function [-Wreturn-type]
Susan Cragin

Wine 1.1.33 doesn't compile

Post by Susan Cragin »

When compiling wine I just had a crash and the crash report said it was a gcc bug so I reported it that way.

ubuntu
bug 842012
krauchinho
Newbie
Newbie
Posts: 1
Joined: Thu Sep 08, 2011 8:58 am

Post by krauchinho »

same problem here. hope the bug will be fixed in the next release
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

This thread is two years old and the original topic was 1.1.33. Problems compiling current Wine have nothing to do with it.

Please do not resurrect old threads for new problems.
Locked