[uClibc]insmod problem

Igor Trevisan igor.trevisan at bluewind.it
Thu Jan 9 14:35:45 UTC 2003


Hi,

I'm using uClibc-0.9.16 and Busybox-0.60.5 compiled for an arm-linux
platform.
I have to write the driver for a simple rele device and I was starting
with a very simple demo:

*********************** frrele.c *********************************
#define MODULE
#include <linux/module.h>
#include <linux/kernel.h>
//#include <linux/modversions.h>

int init_module(void)
{
 printk("<1>Initializing rele module...\n");

 return 0;
}

void cleanup_module(void)
{
 printk("<1>Goodbye from rele module...\n");
}
**************************** eof *********************************

I compiled it with 
arm-uclibc-gcc -c frrele.c, I moved frrele.o into
the target  File System and finally I tried to use insmod to install
the new module.
This is what I obtain...

# insmod ./frrele.o
Using ./frrele.o
insmod: unresolved symbol printk
#

What's wrong?!
Any suggestion is appreciated!
Thanks in advance...
	Igor.





More information about the uClibc mailing list