[Wine] cannot compile wine 1.3.28

Martin Gregorie martin at gregorie.org
Mon Sep 12 16:26:31 CDT 2011

On Mon, 2011-09-12 at 15:12 -0500, melancholy wrote:
> ok, I could fix the problem with gcc by creating symlinks, but now, compiling wine results in the following error in the make process:
> Code:
> ldt.c: In function modify_ldt:
> ldt.c:73:21: error: __NR_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]
> make[1]: *** [ldt.o] Error 1
> make[1]: Leaving directory `/home/yuki/archive/wine-1.3.28/libs/wine'
> make: *** [libs/wine] Error 2
> I googled that, but couldn't find anything...
That looks as though you're missing a C header file.

What does "grep -r __NR_modify_ldt *" show if you run it from the from
the same directory you used to run gcc?


More information about the wine-users mailing list