Error in compiling kernel with CAM subsystem

From: Rusty Nejdl <rnejdl_at_ringofsaturn.com>
Date: Mon, 10 Sep 2007 19:30:32 -0500 (CDT)
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
Received on Mon Sep 10 2007 - 22:40:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC