[Techtalk] kernel hack question
Tracey Clark
grrliegeek at elenari.net
Fri Feb 6 16:39:33 EST 2004
And it was said by Tintin J de Belen-->
> I create a simple system call and placed the needed files in the
> appropriate directories; edited entry.S and unistd.
>
> but when I try to run gcc userapp.c, I get this error
>
> __NR_myservice' undeclared (first use in this function)
> error: (Each undeclared identifier is reported only once
> error: for each function it appears in.)
What the error is saying is that there is a call to a function or
variable called __NR_myservice that is not defined. This means the
variable or function was used without being declared in the program & set
up according to the C specs.
Is there a service named NR_myservice or was that an example that was
supposed to be changed?
--
Tracey
Linux Counter #264789
"Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect." - Linus Torvalds, New York Times, 28 Sept 03
More information about the Techtalk
mailing list