Messages in this thread | | | Subject | Re: 2.3.26pre2 compile error | Date | Fri, 05 Nov 1999 08:44:09 -0300 | From | Horst von Brand <> |
| |
Tonglu Yi <tlyi@126.com> said: > kernel 2.3.24, patched to 2.3.26pre2, compile error: > > fs/filesystems.a(fat.o): In function `fat_truncate': > fat.o(.text+0x22ad): undefined reference to `__divdi3' > fs/filesystems.a(fat.o): In function `fat_read_root': > fat.o(.text+0x2fca): undefined reference to `__divdi3' > fs/filesystems.a(fat.o): In function `fat_fill_inode': > fat.o(.text+0x40c6): undefined reference to `__divdi3' > make: *** [vmlinux] Error 1
SPARC, isn't it? Here I fixed that by forcing linking of libgcc.a into the kernel (that is where these functions are defined). -- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
- 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/
| |