A very recent commit broke my kernel build with 
  options COMPAT_LINUX
as shown below.  Without the option, it is fine:

@ ava:K6$;make depend
make depend
cc -c -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -D_KERNEL 
-UKERNEL ../../i386/i386/genassym.c
cc -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -D_KERNEL 
-UKERNEL genassym.o -o genassym
./genassym >assym.s
rm -f param.c
cp ../../conf/param.c .
perl5 ../../kern/vnode_if.pl -h ../../kern/vnode_if.src
perl5 ../../kern/makedevops.pl -c ../../kern/device_if.m
perl5 ../../kern/makedevops.pl -h ../../kern/device_if.m
perl5 ../../kern/makedevops.pl -c ../../kern/bus_if.m
perl5 ../../kern/makedevops.pl -h ../../kern/bus_if.m
perl5 ../../kern/makedevops.pl -c ../../pci/pci_if.m
perl5 ../../kern/makedevops.pl -h ../../pci/pci_if.m
perl5 ../../kern/makedevops.pl -c ../../isa/isa_if.m
perl5 ../../kern/makedevops.pl -h ../../isa/isa_if.m
cc -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -D_KERNEL 
-elf  -mpreferred-stack-boundary=2  -UKERNEL -o linux_genassym 
../../i386/linux/linux_genassym.c
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
*** Error code 1

Stop in /play/src/sys/compile/K6.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to