lkml.org 
[lkml]   [1999]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.3.26pre2 compile error
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.078 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site