Subject: Re: kernel build problem
To: None <john@johnrshannon.com>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 09/23/2003 13:25:36
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
>
--
Perry E. Metzger perry@piermont.com