Hi, I'm a newby on Linux/Mips more my English is very poor so sorry... But I have a big problem (for me): I want to cross-compile my linux kernel 2.6.10 on my PC i386 for mips32 (alchemy AU1550) CPU. I developed a module that contains some operations on types loff_t (i.e long long) such as div and mod. The code is in a foo.c file. I successfully built a cross toolchain using: The bin utils (Bintuils-2.15), the glibc headers (glibc-2.3.5) and the gcc core (gcc-3.4.4). The compilation of the kernel works but unfortunately the link generates two error messages on the file foo.c: Undefined reference to '__divdi3' Undefined reference to '__moddi3' What I'm doing wrong ? Why the gcc doesn't embed the symbol implementation ? And so where can I found an implementation ? Thanks for all your help