[Wine] cannot compile wine 1.3.28

Martin Gregorie martin at gregorie.org
Sun Sep 11 16:06:08 CDT 2011

On Sun, 2011-09-11 at 15:17 -0500, melancholy wrote:
> ugh, the output above is faulty, this one is the correct one:
> Code:
> config.status: creating tools/Makefile
> make[1]: Entering directory `/home/yuki/archive/wine-1.3.28/tools'
> gcc -m32 -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -D__WINESRC__   -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 makedep.o makedep.c
> In file included from /usr/include/bits/errno.h:25:0,
>                  from /usr/include/errno.h:36,
>                  from makedep.c:27:
> /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
> compilation terminated.
> make[1]: *** [makedep.o] Error 1
> make[1]: Leaving directory `/home/yuki/archive/wine-1.3.28/tools'
> make: *** [tools/Makefile] Error 2
This means that either: 
- one of the gcc packages is missing /usr/include/asm/error.h 
- your gcc package install/upgrade went wrong. 

Either way its a problem to resolve with your distro, not Wine: with
that file missing or misplaced attempts to compile almost any C program
will fail.

Make sure your Linux installation is fully up to date and, if that
doesn't fix it, ask your distro's forums and/or support system.


More information about the wine-users mailing list