From owner-freebsd-current Fri Aug 7 06:14:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02339 for freebsd-current-outgoing; Fri, 7 Aug 1998 06:14:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA02331 for ; Fri, 7 Aug 1998 06:14:25 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (mCaXldqORvrNnYsnCZdp09DraUeXLA89@localhost [127.0.0.1]) by gratis.grondar.za (8.8.8/8.8.8) with ESMTP id PAA22164; Fri, 7 Aug 1998 15:10:36 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199808071310.PAA22164@gratis.grondar.za> To: Henry Vogt cc: freebsd-current@FreeBSD.ORG Subject: Re: CAM/Kernel compile problem in -current Date: Fri, 07 Aug 1998 15:10:36 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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