lkml.org 
[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectunresolved symbol kiobuf_init for kernel 2.4.9-6
Date
Hey folks,

I'm attempting to load a module whose code has a call to kiobuf_init. The
function kiobuf_init is defined in fs/iobuf.c BUT not forward declared in
include/linux/iobuf.h (as it was in 2.4.3-12). But the kernel compiles
anyway. The module code compiles as well -- even if I do ignore the
undefined symbol message at compile time. However, when I try to insmod the
module I get the dreaded message

module.o: unresolved symbol kiobuf_init

Now here's the funny thing:

The /boot/System.map file lists it as

c014d410 t kiobuf_init

But there's nothing in the /proc/ksyms

I've stepped through the installation process of insmod and noted that there
are 1474 symbols in ksyms and none of them is kiobuf_init. So, obviously
when it checks for unresolved symbols it doesn't find it.

I've recompiled the kernel, the module source and even forward declared the
function, but nothing seems to work!

What could I be doing wrong???? I've been working this problem for several
days now without success!

Thanks,

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

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