lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlink error in 2.3.26, NTFS fs read support. ntfs.o(.text+0xc42): undefined reference to `__divdi3
hello,

when choosing NTFS read support, and compiling bzImage, I get
this link error below. When I turn this option off, no link
error is generated of course.

-----------
ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.o drivers/misc/misc.o
drivers/parport/parport.a drivers/net/net.a drivers/scsi/scsi.a
drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/pcmcia/pcmcia.o
drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.a
drivers/video/video.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
fs/filesystems.a(ntfs.o): In function `ntfs_statfs':
ntfs.o(.text+0xc42): undefined reference to `__divdi3'
make: *** [vmlinux] Error 1
>
---------------------------------------------------

This error does not show up in 2.3.24. (when choosing NTFS
fs read support). so it looks like something added after
2.3.24 that causes this. (have not tried 2.3.25).

box is PIII, single CPU, suse 6.2, running kernel 2.3.24

>gcc --version
egcs-2.91.66

>ld --version
GNU ld 2.9.1

-
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.041 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site