Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 1998 15:10:36 +0200
From:      Mark Murray <mark@grondar.za>
To:        Henry Vogt <henry@MX.BA-Stuttgart.De>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: CAM/Kernel compile problem in -current 
Message-ID:  <199808071310.PAA22164@gratis.grondar.za>

next in thread | raw e-mail | index | archive | help
Henry Vogt wrote:
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prot
otypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -ansi  -nostdinc -I- -I. 
-I../.. -I../../../include  -DKERNEL -include opt_global.h  ../../cam/scsi/scsi_da.c
> ../../cam/scsi/scsi_da.c: In function `daopen':
> ../../cam/scsi/scsi_da.c:316: warning: passing arg 4 of `dsopen' makes integer from pointer w
ithout a cast
> ../../cam/scsi/scsi_da.c:316: warning: passing arg 5 of `dsopen' from incompatible pointer ty
pe
> ../../cam/scsi/scsi_da.c:316: warning: passing arg 6 of `dsopen' from incompatible pointer ty
pe
> ../../cam/scsi/scsi_da.c:316: warning: passing arg 7 of `dsopen' from incompatible pointer ty
pe
> ../../cam/scsi/scsi_da.c:316: warning: passing arg 8 of `dsopen' from incompatible pointer ty
pe
> ../../cam/scsi/scsi_da.c:316: too few arguments to function `dsopen'
> *** Error code 1

Add a new third argument of zero - so add a ", 0" (without the
quotes) in position 3.  (It may be position four - check for other
calls to dsopen).

> Needs the CAM-Snapshot to be updated ? 

Yes, frequently - but the guys working on it also need time to do
the necessary development.

> Or am I doing something wrong?

Yes - not hacking on it yourself :-)

> This leads me to a more general question:
> Whats the supposed way to have CAM  a n d  to follow the -current sources ?

Hack a lot. :-)

> Do i have to re-check out a new source-tree and re-applied CAM, everytime ?

Whenever a new CAM snapshot is released is a good idea, if you have
the time and energy.

> Of course I would prefer just to check out the sources as usual..
> Sorry, if this is a silly question or something obvious, which I'm not aware of.

As with normal CURRENT, you are pretty much your own support guy
- the authors are there to help with bugs, rather than implementation.

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808071310.PAA22164>