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

I'll commit a fix in a sec.

christos

| 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
-- End of excerpt from Hisashi T Fujinaka