Subject: Re: kernel build problem
To: Perry E. Metzger <perry@piermont.com>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 09/23/2003 10:39:15
Standard options yields:

/usr/src/obj.i386/tooldir.NetBSD-1.6ZC-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 /usr/src/sys/kern/kern_sig.c
/usr/src/sys/kern/kern_sig.c: In function `compat_16_sys___sigaction14':
/usr/src/sys/kern/kern_sig.c:371: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/kern_sig.c:372: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/kern_sig.c:377: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/kern_sig.c:378: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/kern_sig.c:378: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/kern_sig.c:382: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/kern_sig.c:383: error: dereferencing pointer to
incomplete type

*** Failed target:  kern_sig.o


On Tue, 23 Sep 2003, Perry E. Metzger wrote:

>
> I see a "-march=i686" in your build line. That makes me suspicious
> that you aren't using standard compile options...
>
> Perry
>
> "John R. Shannon" <john@johnrshannon.com> writes:
>
> > NetBSD 1.6ZC (KERNEL) #4: Tue Sep 23 05:00:11 MDT 2003 - i386
> >
> > Is there anything special I need to do to compile today's sources?
> >
> > /usr/tools/bin/i386--netbsdelf-gcc   -ffreestanding  -march=i686 -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 -DMSGBUFSIZE="0x20000"
> > -DRBUS_IO_BASE="0x500" -DRBUS_IO_SIZE="0x800" -DLKM -DMAXUSERS=32 -D_KERNEL
> > -D_KERNEL_OPT   -c /usr/src/sys/kern/kern_sig.c
> > /usr/src/sys/kern/kern_sig.c: In function `compat_16_sys___sigaction14':
> > /usr/src/sys/kern/kern_sig.c:371: error: dereferencing pointer to incomplete
> > type
> > /usr/src/sys/kern/kern_sig.c:372: error: dereferencing pointer to incomplete
> > type
> > /usr/src/sys/kern/kern_sig.c:377: error: dereferencing pointer to incomplete
> > type
> > /usr/src/sys/kern/kern_sig.c:378: error: dereferencing pointer to incomplete
> > type
> > /usr/src/sys/kern/kern_sig.c:378: error: dereferencing pointer to incomplete
> > type
> > /usr/src/sys/kern/kern_sig.c:382: error: dereferencing pointer to incomplete
> > type
> > /usr/src/sys/kern/kern_sig.c:383: error: dereferencing pointer to incomplete
> > type
> >
> > --
> >
> > John R. Shannon
> > john@johnrshannon.com
> >
>
>

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