* Re: 2.4.3 compile error No 3
2001-04-11 16:02 ` 2.4.3 compile error No 3 Petr Vandrovec
@ 2001-04-11 13:29 ` Arnaldo Carvalho de Melo
2001-04-11 16:15 ` info
2001-04-12 8:49 ` Repeating 2.4.3 compile error with ipx makefile patch info
2 siblings, 0 replies; 5+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-04-11 13:29 UTC (permalink / raw)
To: Petr Vandrovec; +Cc: alan, 5740, linux-kernel
Em Wed, Apr 11, 2001 at 06:02:35PM +0200, Petr Vandrovec escreveu:
> > # 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
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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.4.3 compile error No 3
[not found] <4AB83BD5FB4@vcnet.vc.cvut.cz>
@ 2001-04-11 16:02 ` Petr Vandrovec
2001-04-11 13:29 ` Arnaldo Carvalho de Melo
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Petr Vandrovec @ 2001-04-11 16:02 UTC (permalink / raw)
To: alan; +Cc: 5740, acme, linux-kernel
> # 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.4.3 compile error No 3
2001-04-11 16:02 ` 2.4.3 compile error No 3 Petr Vandrovec
2001-04-11 13:29 ` Arnaldo Carvalho de Melo
@ 2001-04-11 16:15 ` info
2001-04-12 8:49 ` Repeating 2.4.3 compile error with ipx makefile patch info
2 siblings, 0 replies; 5+ messages in thread
From: info @ 2001-04-11 16:15 UTC (permalink / raw)
To: Petr Vandrovec; +Cc: linux-kernel, John Jasen
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" ÷Ù ÎÁÐÉÓÁÌÉ:
> > # 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Repeating 2.4.3 compile error with ipx makefile patch
2001-04-11 16:02 ` 2.4.3 compile error No 3 Petr Vandrovec
2001-04-11 13:29 ` Arnaldo Carvalho de Melo
2001-04-11 16:15 ` info
@ 2001-04-12 8:49 ` info
2 siblings, 0 replies; 5+ messages in thread
From: info @ 2001-04-12 8:49 UTC (permalink / raw)
To: Petr Vandrovec; +Cc: linux-kernel, alan, Arnaldo Carvalho de Melo
óÒÄ, 11 áÐÒ 2001 × ÓÏÏÂÝÅÎÉÉ ÎÁ ÔÅÍÕ "Re: 2.4.3 compile error No 3" ÷Ù ÎÁÐÉÓÁÌÉ:
> 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 vmlinux
net/network.o(.data+0x2c84): undefined reference to `sysctl_ipx_pprop_broadcasting'
_________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Repeating 2.4.3 compile error with ipx makefile patch
@ 2001-04-12 14:52 Petr Vandrovec
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vandrovec @ 2001-04-12 14:52 UTC (permalink / raw)
To: info; +Cc: linux-kernel, Arnaldo Carvalho de Melo
On 12 Apr 01 at 12:49, info wrote:
> /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 vmlinux
> net/network.o(.data+0x2c84): undefined reference to `sysctl_ipx_pprop_broadcasting'
Yes. This error is already fixed in 2.4.3-ac4, as I already wrote. Use newer
kernel or compile IPX as module. I believe that it is fixed in 2.4.4-pre2
too. Patch I sent fixed compilation with disabled CONFIG_SYSCTL. As
I use zerocopy patches from Alan tree, I cannot create tested patch
for Linus tree (and I try to avoid creation of untested patches)...
Petr Vandrovec
vandrove@vc.cvut.cz
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-04-12 12:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4AB83BD5FB4@vcnet.vc.cvut.cz>
2001-04-11 16:02 ` 2.4.3 compile error No 3 Petr Vandrovec
2001-04-11 13:29 ` Arnaldo Carvalho de Melo
2001-04-11 16:15 ` info
2001-04-12 8:49 ` Repeating 2.4.3 compile error with ipx makefile patch info
2001-04-12 14:52 Petr Vandrovec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox