Re: 2.4.3 compile error No 3

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Wed Apr 11 2001 - 11:02:35 EST


> # CONFIG_IPX_INTERN is not set
> # CONFIG_SYSCTL is not set

> net/network.o: In function `ipx_init':
> net/network.o(.text.init+0x1008): undefined reference to `ipx_register_sysctl'

Do not do it! You cannot control some very important features of IPX without
sysctl! Anyway below is patch, Alan please apply (although I must say that
this Makefile changed a bit my opinion on how obj-y and obj-m works...).

As for your other reports - No1 is fixed in Alan tree and patch is flying somewhere
around, and No2 looks like that your semaphore.h is corrupted. For parport
problems in No4, you have broken compiler or you changed some options in the
middle of compilation.
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz

diff -urdN linux/net/ipx/Makefile linux/net/ipx/Makefile
--- linux/net/ipx/Makefile Fri Dec 29 22:07:24 2000
+++ linux/net/ipx/Makefile Wed Apr 11 15:52:59 2001
@@ -13,13 +13,12 @@
 
 export-objs = af_ipx.o af_spx.o
 
-obj-y := af_ipx.o
+obj-y := af_ipx.o sysctl_net_ipx.o
 
 ifeq ($(CONFIG_IPX),m)
   obj-m += $(O_TARGET)
 endif
 
-obj-$(CONFIG_SYSCTL) += sysctl_net_ipx.o
 obj-$(CONFIG_SPX) += af_spx.o
 
 include $(TOPDIR)/Rules.make

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:16 EST