On Thu, Sep 08, 2005 at 07:26:17PM +0530, vasanth wrote: > I am getting the folowing error message when i do insmod . > insmod: unresolved symbol __udelay > insmod: unresolved symbol atomic_add > insmod: unresolved symbol atomic_sub > > I complied the driver code for mips processor using the folowing command > mips-linux-gcc -G O -mno-abicalls -fno-pic -pipe -mtune=4kc -mips32 -c lcddriver.c -I/mykernel/include > It is compiling without any error . Use -O2. In fact use _exactly_ the same options as for the kernel build itself. Ralf