Subject: Re: kernel compilation fails (freebsd_machdep.c)
To: Kazushi Marukawa <jam@pobox.com>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 10/27/2001 20:27:12
I found out this was really problem with the source, the VM86 parts
were not updated when the header file was changed. It should be ok now,
you'd need rev. 1.30 of syssrc/sys/arch/i386/i386/freebsd_machdep.c.

Jaromir


Kazushi Marukawa wrote:
> Today's kernel compilation fails with following error message.  I guess
> freebsd_machdep.c or header files changed today causes this problem.  Please
> check this out.  Thanks.
> 
> cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DLKM -DNMBCLUSTERS="0x400" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Di386  -c ../../../../arch/i386/i386/freebsd_machdep.c
> ../../../../arch/i386/i386/freebsd_machdep.c: In function `freebsd_sendsig':
> ../../../../arch/i386/i386/freebsd_machdep.c:132: structure has no member named `sc_eflags'
> ../../../../arch/i386/i386/freebsd_machdep.c: In function `freebsd_sys_sigreturn':
> ../../../../arch/i386/i386/freebsd_machdep.c:223: structure has no member named `sc_eflags'
> ../../../../arch/i386/i386/freebsd_machdep.c:230: structure has no member named `sc_eflags'
> ../../../../arch/i386/i386/freebsd_machdep.c:242: structure has no member named `sc_eflags'
> *** Error code 1
> 
> Stop.
> 
> -- Kazushi
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=  Those who would give up liberty for a little temporary safety deserve  =-
-=  neither liberty nor safety, and will lose both.  -- Benjamin Franklin  =-