On Sun, Dec 17, 2006 at 02:09:44PM -0800, Doug Barton wrote: > I'm getting the following on -current when trying to compile kqemu-kmod: > > ===> Building for kqemu-kmod-1.3.0.p9_2 > Warning: Object directory not changed from original > /usr/local/tmp/usr/local/ports/emulators/kqemu-kmod/work/kqemu-1.3.0pre9 > @ -> /usr/local/src/sys > machine -> /usr/local/src/sys/i386/include > cc -O2 -fno-strict-aliasing -pipe -ggdb -ggdb -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 > --param inline-unit-growth=100 --param large-function-growth=1000 > -fno-common -ggdb -mno-align-long-strings -mpreferred-stack-boundary=2 > -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c kqemu-freebsd.c > cc1: error: unrecognized command line option "-Wno-pointer-sign" > *** Error code 1 > > I can't find no-pointer-sign in the gcc 3.4.6 man page, but it is in > the gcc 4.2 man page. Unfortunately, the port doesn't seem to > acknowledge the CC variable I have in my /etc/make.conf: > > CC=/usr/local/bin/gcc42 > > since I get the same error with or without that. > > Any ideas?
Hmm don't have klds to be compiled with the same cc as the kernel i.e. the system cc? You could try to mv away files/patch-Makefile.freebsd (which actually is a leftover from times when kqemu was still built inside the qemu tree, where it was necessary to get kqemu to build on systems where qemu's CC differed from the system cc.) If this works, we can probably remove that patch now as whoever sets CC on a kdl port should know what he's doing... :) Juergen _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"