Subject: linux_sysctl.c broken in current with GENERIC (i386)
To: None <tech-kern@netbsd.org>
From: Alicia da Conceicao <alicia@engine.ca>
List: port-i386
Date: 04/17/2004 05:31:33
Sorry to be the barer of bad news, but I discovered the following:

1) The current tar_files directory is missing in NetBSD-current:

	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/

   so, I can't find "sys.tar.gz".  Prehaps this was accidently
   overlooked when the FTP server was replaced after the old one
   died?

2) NetBSD-current won't build with unmodified GENERIC (i386).  It
   fails, when it tries to compile "linux_sysctl.c".

=================================================================
compile  GENERIC/linux_sysctl.o
cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../compat/linux/common/linux_sysctl.c
../../../../compat/linux/common/linux_sysctl.c:75: unknown field `__sysc_ustr' specified in initializer
../../../../compat/linux/common/linux_sysctl.c:75: unknown field `__sysc_sdatum' specified in initializer
cc1: warnings being treated as errors
../../../../compat/linux/common/linux_sysctl.c:75: warning: missing braces around initializer
../../../../compat/linux/common/linux_sysctl.c:75: warning: (near initialization for `linux_sysctl_root._sysctl_size')
../../../../compat/linux/common/linux_sysctl.c:76: unknown field `sysctl_name' specified in initializer
../../../../compat/linux/common/linux_sysctl.c:76: warning: initialization makes integer from pointer without a cast
../../../../compat/linux/common/linux_sysctl.c:76: initializer element is not computable at load time
../../../../compat/linux/common/linux_sysctl.c:76: (near initialization for `linux_sysctl_root._sysctl_func.__sysc_upad')
../../../../compat/linux/common/linux_sysctl.c:77: initializer element is not computable at load time
../../../../compat/linux/common/linux_sysctl.c:77: (near initialization for `linux_sysctl_root._sysctl_func')
../../../../compat/linux/common/linux_sysctl.c:77: initializer element is not constant
../../../../compat/linux/common/linux_sysctl.c:77: (near initialization for `linux_sysctl_root')
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/GENERIC
=================================================================

Does anyone have a recent kernel tarball (sys.tar.gz) that can
build with GENERIC (i386)?  I urgently need a recent kernel to
use with a Atheros AR5212 mini-pci Wi/Fi card I installed in my
laptop to replace to useless Intel Centrino Wi/Fi.

Alicia.