On Thu, 7 Aug 2003, Lukas Ertl wrote: > buildworld is current broken: > > ===> sys/boot/i386/libi386 > cc -O -pipe -mcpu=pentiumpro -ffreestanding -DCOMPORT=0x3f8 -DCOMSPEED=9600 > -DTERM_EMU -I/usr/src/sys/boot/i386/libi386/../../common > -I/usr/src/sys/boot/i386/libi386/../btx/lib > -I/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpica > -I/usr/src/sys/boot/i386/libi386/../../.. -I. > -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -ffreestanding > -mpreferred-stack-boundary=2 -c /usr/src/sys/boot/i386/libi386/biosacpi.c > In file included from /usr/src/sys/contrib/dev/acpica/acfreebsd.h:165, > from /usr/src/sys/boot/i386/libi386/biosacpi.c:33: > /usr/obj/usr/src/i386/usr/include/ctype.h:88: error: syntax error before "int" > *** Error code 1 > > Stop in /usr/src/sys/boot/i386/libi386. > *** Error code 1
I think I found the error: Rev. 1.18 of sys/contrib/dev/acpica/acfreebsd.h introduced an '#include <ctype.h>', which has a declaration of isascii(). The problem is that biosacpi.c includes stand.h, which defines isascii() already, and you end up with this (from the preprocessor output): int _tolower(int); int _toupper(int); int (((int) & ~0x7F) == 0); int toascii(int); So either remove the inclusion if ctype.h in acfreebsd.h or remove the inclusion of stand.h in biosacpi.c. regards, le -- Lukas Ertl eMail: [EMAIL PROTECTED] UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"