extern void hello_ps(void);
int init_module(void) {
hello_ps();
return(0);
}
The problem being, if I load them, I get
zarniwoop:/devel/kernel# insmod hello.o
zarniwoop:/devel/kernel# insmod world.o
init_module: found dependency that is (no longer?) a module.
world.o: init_module: Invalid argument
zarniwoop:/devel/kernel#
nm seems to show them having the correct symbols exported and needed, and
after loading the first one, /proc/ksyms has hello_ps as expected -- what
am I doing wrong?
-- Peter
"The surest way to corrupt a youth is to instruct him to hold in higher
esteem those who think alike than those who think differently."
-- Nietzsche
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/