2.4.3 compile error No 3
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines
#
CONFIG_IPX_INTERNis not set
#CONFIG_SYSCTLis 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]
net/ipx/Makefile +1 -2
@@ -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
Petr, greatest thanks!!! Now I try to aplly patch.... and will report after results.
By the way, I thung that it is a good idea - to modify xconfig/meniconfig script in manner to make disable ipx if sysctl setted off - like in many other cross-dependance options.
You know better than I who can do it.
���, 11 ��� 2001 � ��������� �� ���� "Re: 2.4.3 compile error No 3" �� ��������:
Quoted 37 lines
Quoted 5 lines
#
CONFIG_IPX_INTERNis not set
#CONFIG_SYSCTLis 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
Makefilechanged 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.his 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
net/ipx/Makefile +1
-2@@ -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
Em Wed, Apr 11, 2001 at 06:02:35PM +0200, Petr Vandrovec escreveu:
Quoted 8 lines
Quoted 5 lines
#
CONFIG_IPX_INTERNis not set
#CONFIG_SYSCTLis 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
pprop broadcasting? 8) I was about to make a patch for this where it would be possible to get rid of the sysctl stuff if the user choose not to have it...
- Arnaldo
PS.: Next patch will have the routing sysctl 8)
Repeating 2.4.3 compile error with ipx makefile patch
In reply to a message not in the archive���, 11 ��� 2001 � ��������� �� ���� "Re: 2.4.3 compile error No 3" �� ��������:
Quoted 1 line
diff -urdN linux/net/ipx/Makefile linux/net/ipx/Makefile
................
Petr, first of all I save text of patch you sent me to file "ipx-makefile.patch" in /usr/src and try to patch.
Result:
-------------------------------------------------------------------
[root@sh src]# patch -p0 < ipx-makefile.patch
patching file linux/net/ipx/Makefile
patch: **** malformed patch at line 6: export-objs = af_ipx.o af_spx.o
[root@sh src]#
--------------------------------------------
So I try to patched linux/net/ipx/Makefile manually with you text. Resulting Makefile:
_______________________________________________________
#
# Makefile for the Linux IPX layer.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here # unless it's something special (ie not a .c file). # # Note 2! The CFLAGS definition is now in the main makefile...
# We only get in/to here if CONFIG_IPX = 'y' or 'm'
O_TARGET := ipx.o
export-objs = af_ipx.o af_spx.o
obj-y := af_ipx.o sysctl_net_ipx.o
ifeq ($(CONFIG_IPX),m)
obj-m += $(O_TARGET)
endif
obj-$(CONFIG_SPX) += af_spx.o
include $(TOPDIR)/Rules.make
tar:
tar -cvf /dev/f1 .
________________________________
Then try to compile
Result - the same error.
_______________________________________________________________________
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/parport/driver.o drivers/ide/idedriver.o
drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o \
net/network.o \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinuxnet/network.o(.data+0x2c84): undefined reference to `sysctl_ipx_pprop_broadcasting'
_________________________________________________