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 <errno.h>, according to my copy of C99.

> 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'

Missing #include <errno.h>.

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

Reply via email to