Re: 2.3.26pre2 compile error

Peter Samuelson (peter@wire.cadcamlab.org)
Fri, 5 Nov 1999 03:59:48 -0600 (CST)


[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

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

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