Re: System call problem

From: Steven Rostedt
Date: Sat Feb 26 2005 - 09:44:53 EST


On Sat, 2005-02-26 at 15:17 +0100, Josef E. Galea wrote:

> I compiled and booted the kernel and am trying to build a user space
> application that uses my system call, however gcc is returning this error:
> /tmp/cc4zgzUr.o(.text+0x4e): In functiono `get_rmt_paging':
> : undefined reference to `errno'
>

Where you defined your system call in the user space program (ie. where
you declared your _syscall macro), did you also include <errno.h>?

-- Steve


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/