Messages in this thread |  | | | Date | Fri, 5 Nov 1999 08:12:52 -0500 (EST) | | From | "Richard B. Johnson" <> | | Subject | Re: 2.3.26pre2 compile error |
| |
On Fri, 5 Nov 1999, Peter Samuelson 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 > > > -- > Peter Samuelson > <sampo.creighton.edu!psamuels> >
I don't think you really want to link the kernel with a tool used to build it. A more appropriate fix would be to compile with "fno-builtins".
Cheers, Dick Johnson
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips). Warning : It's hard to remain at the trailing edge of technology.
- 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/
|  |