Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 11:58:04 -0500
From:      "Francis.Lam" <Francis.Lam@Leitch.com>
To:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   Compile Amanda 2.4.1 with FreeBSD 3.1
Message-ID:  <E00FFF0572D3D21185C70008C7B2BDC422137C@stork.mars.leitch.com>

next in thread | raw e-mail | index | archive | help


> -----Original Message-----
> From:	eric@cirr.com [SMTP:eric@cirr.com]
> Sent:	Tuesday, March 30, 1999 11:16 AM
> To:	Alexandre Oliva
> Cc:	Francis.Lam; amanda-users@amanda.org
> Subject:	Re: Kerberos in Amanda 2.4.1 and compile with 3.1 
> 
> 
> Alexandre Oliva writes:
> - On Mar 29, 1999, "Francis.Lam" <Francis.Lam@Leitch.com> wrote:
> - >     scsi-chio.c:138: structure has no member named `ces_data'
> - >     scsi-chio.c:138: `CESTATUS_FULL' undeclared (first use this
> function)
> - 
> - >     Should the `CESTATUS_FULL' is `CES_STATUS_FULL' defined in
> - > /sys/sys/chio.h.
> - 
> - Dunno.  Eric (CC'ed) might be able to tell if this changed from
> - FreeBSD 2 to 3, together with the camlib changes.  Maybe the code
> - shouldn't even be compiled, if chg-scsi was disabled.  Please try the
> - second attached patch.
> - 
> - > I cannot find the 'ces_data' in the structure changer_element_status.
> What
> - > should it be?
> - 
> - No idea; maybe it changed with the camlib interface change, introduced
> - in FreeBSD 3.0.  Amanda doens't support it yet.  Thomas Hepper, who's
> - been doing a great job in chg-scsi, may be willing to introduce
> - support for it...
> 
> 	The ``answer'' to the above questions is that FreeBSD
> changed the contents of chio.h to be incompatible with the other
> implementations.  
> 
> 	CESTATUS_FULL is a macro in the NetBSD and Linux
> implementations, while freeBSD created an enum, cs_status_flags,
> containing similar information, with slightly different names.
> 
> 	The same is true of changer_element_status.  FreeBSD
> _greatly_ extended that structure to break out the information
> that was prevously handled opaquely in ces_data.
> 
> 	From the looks of things, the scsi-chio interfaces
> should not be built on FreeBSD 3.x and later.
> 
> --
> Eric Schnoebelen		eric@cirr.com		 http://www.cirr.com
>     As folks might have suspected, not much survives except roaches,
>         and they don't carry large enough packets fast enough...
> 	      --About the Internet and nuclear war.
> 
[Francis.Lam]  

Hi,

Is there any one out there had come accross with the same problem? Any
solution?

My Tape drive is HP SureStore DAT24X6.

[Francis.Lam]  Thanks

Francis Lam 

Francis.Lam@Leitch.com
>  


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




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