2001-04-11 16:04:09

by Petr Vandrovec

[permalink] [raw]
Subject: Re: 2.4.3 compile error No 3

> # 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
[email protected]

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