lkml.org 
[lkml]   [2001]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Unresolved Symbol error
Date
> I am trying to create a catcher module that will provide a 
> distributed layer over the file system. To do this I am using
> a kernel module to intercept and pre process the open system
> call. However I need to use some functions such as strlen()
> and memcpy() etc. When I try to compile the module it
> compiles fine. Without any errors. However when I insert the
> module using insmod <module name> I get an error:
> catcher.o: unresolved symbol strlen
>
> I am compiling the module using -D__KERNEL__ -DMODULE -DLINUX
> options. Is there some thing else that I have to do to use
> the strlen function.

Also use -O2 .

~Randy

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

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.062 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site