2.1.28 with IPv6 module - missing symbol, Makefile bug

Keith Owens (kaos@ocs.com.au)
Wed, 05 Mar 1997 19:02:51 +1100


If IPv6 is compiled as a module, csum_partial_copy still needs to be
exported, it was removed in patch 2.1.28. Trivial patch *but* the
net/Makefile does not automatically recompile netsyms.o when netsyms.c
is changed. It is not a timestamp problem, other patches recompile
fine.

I had to rm net/netsyms.o after applying this patch to force netsyms.o
to be recompiled. Any Makefile expert care to say why?

--- linux/net/netsyms.c.orig Wed Mar 5 18:00:53 1997
+++ linux/net/netsyms.c Wed Mar 5 18:54:44 1997
@@ -184,6 +184,7 @@
EXPORT_SYMBOL(dev_lockct);
EXPORT_SYMBOL(ndisc_eth_hook);
EXPORT_SYMBOL(memcpy_fromiovecend);
+EXPORT_SYMBOL(csum_partial_copy);
EXPORT_SYMBOL(csum_partial_copy_fromiovecend);
EXPORT_SYMBOL(__release_sock);
EXPORT_SYMBOL(net_timer);