On Monday 30 March 2009 18:38:06 Pugh, Jeffrey wrote: > Hello, > > I've been trying to compile bacula-2.4.4 on AIX 5.3 ML 6. After some > digging, everything appears to compile ok now except stored, erroring > off in dev.c. > The error is : > > dev.c In member function 'void DEVICE::open_tape_device(DCR*, int)': > 347: error: aggregate 'mtop mt_com' has incomplete type and cannot be > defined. > > Followed by a lot of failures that appear related to this. > > I'm using gcc 4.2.4 and gmake. > > Any help, hints, pointers etc. would be much appreciated.
It looks like the AIX definition of mtop is different from what it is on Solaris and Linux systems (not surprising) or more likely, the definition of mtop on AIX is in a different location (we use mtio.h or sys/mtio.h whichever is detected by ./configure). I doubt that anyone has built anything but an AIX Client, so you are probably doing something new. To make Bacula function with tapes requires an OS that has good, mature tape drivers (the case for AIX) but also one that supports the Berkeley tape I/O conventions (BSD) rather than the SysV behavoir. This latter point may be a problem for AIX, which is SysV based if I remember right. On the programming side, unless you want professional support (in which case, please contact Jack Griffin off-list), you are pretty much on your own since we rely on contributions for the AIX client support, though maybe someone on the bacula-users list can help. On the testing side (providing you can build it), the Tape testing chapter of the manual has a lot of good details. Hope the above helps. Best regards, Kern ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
