-nostdinc, <bsd.kmod.mk>, and <std{arg,def}.h>

Juergen Lock nox at jelal.kn-bremen.de
Sat Jul 24 20:28:25 UTC 2010

So I just looked at portsmon and saw this:



	gcc -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing -Werror  -fno-stack-protector    -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -c -o monitor.o monitor.c
	In file included from monitor.c:19:
	kqemu_int.h:20:20: error: stddef.h: No such file or directory
	kqemu_int.h:21:20: error: stdarg.h: No such file or directory
	In file included from monitor.c:19:

 both kqemu ports are affected, but only on 9/i386 - amd64 is either
fine or wasn't built recently enough, and everything 8 and earlier
is fine too.

 Bug? :)

 (If not I can work around, just wanted to make sure since it might
also affect other things...)


More information about the freebsd-current mailing list