Error in compiling kernel with CAM subsystem
Rusty Nejdl
rnejdl at ringofsaturn.com
Mon Sep 10 17:40:59 PDT 2007
I have seen a few posts on this but no replied. I've got CVS code as of a
few hours ago and compiling GENERIC kernel gives this:
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -Wundef -fformat-extensions -nostdinc -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
/usr/src/sys/cam/cam_periph.c
cc1: warnings being treated as errors
/usr/src/sys/cam/cam_periph.c: In function 'cam_periph_mapmem':
/usr/src/sys/cam/cam_periph.c:649: warning: pointer targets in assignment
differ in signedness
/usr/src/sys/cam/cam_periph.c:677: warning: pointer targets in assignment
differ in signedness
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Exit 1
Thanks!
Rusty Nejdl
More information about the freebsd-current
mailing list