Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 16:36:41 -0600 (CST)
From:      Anthony Kimball <alk@pobox.com>
To:        current@freebsd.org
Subject:   linux_genassym
Message-ID:  <14434.40585.578926.91710@avalon.east>

next in thread | raw e-mail | index | archive | help

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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14434.40585.578926.91710>