Re: Tapecat: a cool tape utility

2006-05-10 Thread rom

Geert Uytterhoeven wrote:

On Wed, 10 May 2006, Inaki Sanchez wrote:

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


That should be , according to my copy of C99.


That's correct. I'm sorry, I was using my configuration with some 
different things. I updated the .bz2 file to use the standard errno.h.


Thanks!

Robert


Re: Tapecat: a cool tape utility

2006-05-10 Thread Geert Uytterhoeven
On Wed, 10 May 2006, Inaki Sanchez wrote:
> 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

That should be , according to my copy of C99.

> gcc -Wall -ansitapecat.c cmdline.o debug.o   -o tapecat
> /tmp/ccwCGgux.o(.text+0x6b): In function `get_ioctl_statistics':
> : undefined reference to `errno'

Missing #include .

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: Tapecat: a cool tape utility

2006-05-10 Thread Inaki Sanchez

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 -ansitapecat.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 <[EMAIL PROTECTED]> 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



Re: Tapecat: a cool tape utility

2006-05-09 Thread Paddy Sreenivasan

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 <[EMAIL PROTECTED]> 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