Subject: Re: current not building still, error in sys/lkm/compat/aout
To: Christos Zoulas <christos@zoulas.com>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 09/12/2003 09:29:51
On Fri, 12 Sep 2003, Christos Zoulas wrote:

> In article <Pine.NEB.4.56.0309112302520.4580@kerry>,
> Hisashi T Fujinaka <htodd@twofifty.com> wrote:
> >And the error I see is:
> >
> >/usr/src/obj.i386/tooldir.NetBSD-1.6Z-i386/bin/i386--netbsdelf-gcc -O2
> >-ffreestanding  -Wall -Wstrict-prototypes -Wmissing-prototypes
> >-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized
> >-Werror   -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_AOUT -nostdinc
> >-nostdinc -I. -I/usr/src/sys/lkm/compat/aout -isystem /usr/src/sys
> >-isystem /usr/src/sys/arch -D_KERNEL -D_LKM  -c
> >/usr/src/sys/compat/aout/aout_sysent.c
> >/usr/src/sys/compat/aout/aout_sysent.c:746: sizeof applied to an
> >incomplete type
> >
> >*** Failed target:  aout_sysent.o
> >*** Failed command:
> >/usr/src/obj.i386/tooldir.NetBSD-1.6Z-i386/bin/i386--netbsdelf-gcc -O2
> >-ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes
> >-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized
> >-Werror -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_AOUT -nostdinc -nostdinc
> >-I. -I/usr/src/sys/lkm/compat/aout -isystem /usr/src/sys -isystem
> >/usr/src/sys/arch -D_KERNEL -D_LKM -c
> >/usr/src/sys/compat/aout/aout_sysent.c
> >*** Error code 1
>
> Fixed...

Thanks! But now the kernel won't compile:

/usr/src/obj.i386/tooldir.NetBSD-1.6Z-i386/bin/i386--netbsdelf-gcc -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -c vers.c
/usr/src/obj.i386/tooldir.NetBSD-1.6Z-i386/bin/i386--netbsdelf-ld -T /usr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
locore.o: In function `sigcode':
locore.o(.text+0x355): undefined reference to
`SYS_compat_16___sigreturn14'

*** Failed target:  netbsd



-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte