Nicolas FRANCOIS wrote:
While compiling dosemu-1.2.2 on a LFS 6.0 (dev, gcc 3.4.3, kernel
2.6.13), I get this error message :

gcc -c -I/usr/X11R6/include -MP -MMD -I../src/include
-I../src/plugin/include  -Wall -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -O2 -fomit-frame-pointer -fno-strict-aliasing
-mtune=i686 -pipe  -o emu.o emu.c In file included
from /usr/include/sys/pci.h:23, from ../src/include/pci.h:10, from
emu.c:119: /usr/include/linux/pci.h:454: erreur: erreur d'analyse
syntaxique avant « pci_power_t » make[1]: *** [emu.o] Erreur 1 make[1]:
Leaving directory `/sources/dosemu-1.2.2/src' make: *** [default] Erreur 2

I encounterd it twice on Google, but not on the dosemu bugtracking
system. Can someone help me on this one ?

It is probably caused by a bug in glibc. Apply this patch to the installed /usr/include/sys/kd.h file:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/sys/kd.h.diff?cvsroot=glibc&r1=1.4&r2=1.5

--
Alexander E. Patrakov

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to