Broken kernel compile on 5.1-RELEASE / 5-CURRENT (SMP, PAE & scsi)

Mark Sergeant msergeant at snsonline.net
Mon Aug 18 23:19:14 PDT 2003


Hi All,

	When trying to compile a kernel for my 8 cpu DELL 8450's I recieve an
extremly puzzling error, I get a bunch of errors when compiling a kernel
that has the following options in it...

options     WITNESS
options     NETSMB
options     NETSMBCRYPTO
options     LIBMCHAIN
options     LIBICONV
options     PAE
options     SMP                     
options     APIC_IO

Without  PAE SMP or APIC_IO the kernel will compile fine. With these
options I get the following error when compiling the sym scsi driver.
cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror 
../../../dev/sym/sym_hipd.c
cc1: warnings being treated as errors
../../../dev/sym/sym_hipd.c: In function `sym_setup_data_and_start':
../../../dev/sym/sym_hipd.c:8146: warning: cast from pointer to integer
of different size
*** Error code 1

This is rather unfortunate as the only disks I have run off this
controller. I've found that it does compile with the ahc driver but even
then some usb stuff needs removing.

Does anyone have any insight into this and what I can do to get it
fixed.

Cheers,
-- 
Mark Sergeant <msergeant at snsonline.net>
SNSOnline Technical Services


More information about the freebsd-current mailing list