Linux-kernel mailing list archive 1997-48,: Re: 2.1.69 compilation failed

# Re: 2.1.69 compilation failed

Regis Duchesne (regis@via.ecp.fr)
Tue, 2 Dec 1997 13:37:46 +0100 (CET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Geert Uytterhoeven: "Re: Linux 2.1.69.."
- Previous message: Felix Schroeter: "Re: [k]nfsd, nfs and security questions"
- In reply to: root: "2.1.69 compilation failed"
- Next in thread: Jose Vilmar Estacio de Souza: "Re: 2.1.69 compilation failed"

> while compiling 2.1.69 I experienced this:

> make[2]: Entering directory `/usr/src/linux/net'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c netsyms.c
> netsyms.c:267: redefinition of `__kstrtab_memcpy_toiovec'
> netsyms.c:147: `__kstrtab_memcpy_toiovec' previously defined here
> netsyms.c:267: redefinition of `__ksymtab_memcpy_toiovec'
> netsyms.c:147: `__ksymtab_memcpy_toiovec' previously defined here
> make[2]: *** [netsyms.o] Error 1

Apply the following patch : memcpy_toiovec is always exported by default
for unix.o...

Regis "HPReg" Duchesne - Engineering Student at ***** ******** *****
www http://www.via.ecp.fr/~regis/
(O o) I use Linux & 3Com (1135 KB/s over 10Mb/s ethernet)
--.oOO--(_)--OOo.-----------------------------------------------------------

--- linux/net/netsyms.c.orig Tue Dec 2 02:05:14 1997
+++ linux/net/netsyms.c Tue Dec 2 13:35:03 1997
@@ -264,7 +264,6 @@
#endif
#ifdef CONFIG_PACKET_MODULE
-EXPORT_SYMBOL(memcpy_toiovec);
EXPORT_SYMBOL(dev_set_allmulti);
EXPORT_SYMBOL(dev_set_promiscuity);
EXPORT_SYMBOL(dev_mc_delete);

- Next message: Geert Uytterhoeven: "Re: Linux 2.1.69.."
- Previous message: Felix Schroeter: "Re: [k]nfsd, nfs and security questions"
- In reply to: root: "2.1.69 compilation failed"
- Next in thread: Jose Vilmar Estacio de Souza: "Re: 2.1.69 compilation failed"