Anyone use "mtx" from sourceforge.net ?

From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 01/28/04

  • Next message: Peter McKay: "Re: p650 internal disks"
    Date:         Wed, 28 Jan 2004 13:07:49 -0600
    To: aix-l@Princeton.EDU
    
    

    I am trying to compile mtx to access my tape library. My efforts to get
    "tapeutil" to work are so far, fruitless.

    I have gcc and gnumake downloaded, but when I compile mtx with the make, I
    get ....

    sapbox:/tmp/mtx/mtx-1.2.17rel >gnumake
    gcc -g -O2 -DVERSION="\"1.2.17rel\"" -c -o mtx.o mtx.c
    In file included from mtx.c:40:
    mtxl.h:35: error: parse error before "SCSI_OpenDevice"
    mtxl.h:35: warning: data definition has no type or storage class
    mtxl.h:36: error: parse error before "DEVICE_TYPE"
    mtxl.h:37: error: parse error before "DeviceFD"
    mtxl.h:52: error: parse error before "MediumChangerFD"
    mtxl.h:54: error: parse error before "fd"
    mtxl.h:56: error: parse error before "MediumChangerFD"
    mtxl.h:61: error: parse error before "MediumChangerFD"
    mtxl.h:62: error: parse error before "fd"
    mtxl.h:63: error: parse error before "fd"
    mtx.c:90: error: parse error before "MediumChangerFD"
    mtx.c:90: error: `DEVICE_TYPE' undeclared here (not in a function)
    mtx.c:90: error: parse error before numeric constant
    gnumake: *** [mtx.o] Error 1

    Anyone get mtx working or given up after trying ? Can anyone assist me
    with this error? My C days are long gone.

    Better yet - has anyone succeeded in getting tapeutil to read the RAM of
    their tape library and query tape barcodes ?

    Thanks, Bill.
    --------------------------------------------------------

    "If everything is coming your way, then you are in the wrong lane"

    Bill Verzal
    AIX Administrator, Komatsu America
    (847) 970-3726 - direct
    (847) 970-4184 - fax


  • Next message: Peter McKay: "Re: p650 internal disks"