Re: Issues with tape changers
2004-07-14 10:18:05
On 14 Jul 2004, at 14:25, Joshua Baker-LePain wrote:
On Wed, 14 Jul 2004 at 2:08pm, Gaby Vanhegan wrote
Thanks, I will give this a try. Is there much configuration required
for chg-zd-mtx?
Not really. Look through the chg-zd-mtx script itself (which amanda
puts
in /usr/local/libexec by default -- it steps you through the config
process.
Well, if I could make mtx compile under OpenBSD, that would be lovely.
So far the latest release doesn't. I get:
bash-2.05b# gmake clean
rm -f *.o *~
rm -f mtx tapeinfo loaderinfo scsitape
rm -f mam2debug mam2debug2
bash-2.05b# gmake
gcc -g -O2 -DVERSION="\"1.2.17rel\"" -c -o mtx.o mtx.c
In file included from mtx.c:40:
mtxl.h:35: syntax error before `SCSI_OpenDevice'
mtxl.h:35: warning: data definition has no type or storage class
mtxl.h:36: syntax error before `DEVICE_TYPE'
mtxl.h:37: syntax error before `DeviceFD'
mtxl.h:52: syntax error before `MediumChangerFD'
mtxl.h:54: syntax error before `fd'
mtxl.h:56: syntax error before `MediumChangerFD'
mtxl.h:61: syntax error before `MediumChangerFD'
mtxl.h:62: syntax error before `fd'
mtxl.h:63: syntax error before `fd'
mtx.c:90: syntax error before `MediumChangerFD'
mtx.c:90: `DEVICE_TYPE' undeclared here (not in a function)
mtx.c:90: syntax error before `0'
mtx.c:90: warning: data definition has no type or storage class
gmake: *** [mtx.o] Error 1
bash-2.05b#
Any C people who could assist?
Gaby
--
Uganda Maximum - Enemy of the English Thrust
gaby AT vanhegan DOT net
http://weblog.vanhegan.net
|
|
|