Re: 2.3.26pre2 compile error

Keith Owens (kaos@ocs.com.au)
Fri, 05 Nov 1999 21:13:37 +1100


On Fri, 5 Nov 1999 03:59:48 -0600 (CST),
Peter Samuelson <peter@wire.cadcamlab.org> wrote:
>[Tonglu Yi]
>> fs/filesystems.a(fat.o): In function `fat_truncate':
>> fat.o(.text+0x22ad): undefined reference to `__divdi3'
>
>Does this help?
>
>--- linux/Makefile.orig Thu Nov 4 23:26:48 1999
>+++ linux/Makefile Fri Nov 5 03:58:05 1999
>@@ -244,6 +244,7 @@
> $(DRIVERS) \
> $(LIBS) \
> --end-group \
>+ `$(CC) -print-libgcc-file-name` \
> -o vmlinux
> $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map

Did you really mean to link libgcc.a into the kernel? That cannot be
right, the kernel does not use external libraries.

-
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/