linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ messages in thread

* Re: 2.4.3 compile error No 3
@ 2001-04-11 18:59 Petr Vandrovec
  0 siblings, 0 replies; 7+ messages in thread
From: Petr Vandrovec @ 2001-04-11 18:59 UTC (permalink / raw)
  To: info; +Cc: linux-kernel, John Jasen

On 11 Apr 01 at 20:34, info wrote:
>  ďÎ, 12 ßđĎ 2001, Πˤ¤-Ţ++++ +- ď+-Ň "Re: 2.4.3 compile error No 3", Petr Vandrovec +-đ+Ë-|:
> > On 11 Apr 01 at 20:15, info wrote:

> > Without sysctl you cannot disable Netbios propagation packet routing.
> > And no machine with enabled Netbios routing passes our 'you must not
> > participate in broadcast storms' test if it has enabled more than
> > one IPX frame on each interface. So you'll get disconnected from our 
> > university net.
> 
> My user's mind was: if sysctl is needed for ipx, then:
> 1-st variant -  to modify config script in such manner that sysctl
> turned on automatically (maybe as other needable functions, if they
> are) if ipx selected. 
> 2-nd variant - to modify it in such manner that you can't select ipx
> before you select sysctl 

You can use IPX without this sysctl in small networks. But in large
network sooner or later net admin comes to you with baseball bat.

Patch I sent to you fixes compilation troubles.
                                                        Petr Vandrovec
                                                        

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.4.3 compile error No 3
@ 2001-04-11 18:23 Petr Vandrovec
  2001-04-11 16:34 ` info
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vandrovec @ 2001-04-11 18:23 UTC (permalink / raw)
  To: info; +Cc: linux-kernel, John Jasen

On 11 Apr 01 at 20:15, info wrote:
> 
> 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. 

Without sysctl you cannot disable Netbios propagation packet routing.
And no machine with enabled Netbios routing passes our 'you must not
participate in broadcast storms' test if it has enabled more than
one IPX frame on each interface. So you'll get disconnected from our 
university net.
                                    Petr Vandrovec
                                    vandrove@vc.cvut.cz
                                    

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.4.3 compile error No 3
  2001-04-11 18:23 2.4.3 compile error No 3 Petr Vandrovec
@ 2001-04-11 16:34 ` info
  0 siblings, 0 replies; 7+ messages in thread
From: info @ 2001-04-11 16:34 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: linux-kernel, John Jasen

þÔ×, 12 áÐÒ 2001, × ÓÏÏÂÝÅÎÉÉ ÎÁ ÔÅÍÕ "Re: 2.4.3 compile error No 3", Petr Vandrovec ÎÁÐÉÓÁÌ:
> On 11 Apr 01 at 20:15, info wrote:
> > 
> > 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. 
> 
> Without sysctl you cannot disable Netbios propagation packet routing.
> And no machine with enabled Netbios routing passes our 'you must not
> participate in broadcast storms' test if it has enabled more than
> one IPX frame on each interface. So you'll get disconnected from our 
> university net.
>                                     Petr Vandrovec
>                                     vandrove@vc.cvut.cz

Sorry, Petr, I can't understand your mind: my knowlege in programming
and English isn't enougth.

My user's mind was: if sysctl is needed for ipx, then:
1-st variant -  to modify config script in such manner that sysctl
turned on automatically (maybe as other needable functions, if they
are) if ipx selected. 
2-nd variant - to modify it in such manner that you can't select ipx
before you select sysctl 

The second variant is more easy (for example: you can't select reiserfs now
if you doesn't select one of another option, I don't remember it's
name).
But  the first way is more user-friendly. This is the same principle
as in rpm during installation. For example: when I select in Mandrake
installer that I want to have Klyx in my KDE, the installer
automatically select tetex, latex, ghostscript and other packages.
Because klyx can't work without them. It is very  comfortable for
user.

I think that you, as kernel programmer, work with .config
directly. But  I - as user - work only on level of "menu xconfig"
screen when I try to compile.

I speake only about user's friendlyness of kernel config screen, not
about frames and other programming topics. I don't know what is it at
all. It is not my user's level.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-04-12  9:06 UTC | newest]

Thread overview: 7+ 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-11 18:23 2.4.3 compile error No 3 Petr Vandrovec
2001-04-11 16:34 ` info
2001-04-11 18:59 Petr Vandrovec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).