Amanda-Users

Re: Tapecat: a cool tape utility

2006-05-10 03:35:59
Subject: Re: Tapecat: a cool tape utility
From: Inaki Sanchez <isanchez AT unav DOT es>
Date: Wed, 10 May 2006 09:31:05 +0200
Great tool!. Has someone succeeded in compiling it in  RHEL 4?

I got the following error:

$ make
gcc -Wall -ansi   -c -o cmdline.o cmdline.c
cmdline.c:26:31: asm-generic/errno.h: No such file or directory
make: *** [cmdline.o] Error 1

After instaling the kernel-smp-devel package, which provides the needed header, 
I got the following error:

$ CPATH=":/usr/src/kernels/2.6.9-34.EL-smp-i686/include" make
gcc -Wall -ansi   -c -o cmdline.o cmdline.c
gcc -Wall -ansi   -c -o debug.o debug.c
gcc -Wall -ansi    tapecat.c cmdline.o debug.o   -o tapecat
/tmp/ccwCGgux.o(.text+0x6b): In function `get_ioctl_statistics':
: undefined reference to `errno'
/tmp/ccwCGgux.o(.text+0xb9): In function `get_ioctl_statistics':
: undefined reference to `errno'
/tmp/ccwCGgux.o(.text+0x62d): In function `check_file_type':
: undefined reference to `errno'
/tmp/ccwCGgux.o(.text+0x66f): In function `check_file_type':
: undefined reference to `errno'
/tmp/ccwCGgux.o(.text+0x6ac): In function `check_file_type':
: undefined reference to `errno'
/tmp/ccwCGgux.o(.text+0x6f7): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [tapecat] Error 1


Thanks!


--
Iñaki Sánchez
Servicios Informáticos
Universidad de Navarra
Ed. de Derecho, Campus Universitario
31080 Pamplona (Navarra), España
tfno: +34 948 425600 Ext. 2106
http://www.unav.es/SI


Paddy Sreenivasan wrote:
Robert,

Thanks for your useful tool. I have added it to the Amanda wiki.
http://wiki.zmanda.com/index.php/Main_Page#Tools_that_can_be_useful_for_Amanda_users

Everyone,

If there are useful tools that you have written and are willing to
make it available for
all Amanda users, please add them to the Amanda wiki.

Thanks,
Paddy

On 5/9/06, rom <amandau AT inventivetechnology DOT at> wrote:

Hi!

If you have a tape and want to know what's inside that tape, here is a
link to a very cool and handy utility:

http://www.inventivetechnology.at/tapecat


Regards,

Robert



--

Amanda documentation: http://wiki.zmanda.com
Amanda forums: http://forums.zmanda.com


<Prev in Thread] Current Thread [Next in Thread>