All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] CONFIG_SYSCTL is not set
@ 2000-05-30  2:01 Grant Grundler
  2000-05-30  7:53 ` Richard Hirst
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Grant Grundler @ 2000-05-30  2:01 UTC (permalink / raw)
  To: parisc-linux

Hi folks,

By default, CONFIG_SYSCTL is not set.
And I get the following errors when linking:

fs/fs.o: In function `nfs_put_inode':
fs/fs.o(.text+0x399dc): undefined reference to `nfs_debug'
fs/fs.o: In function `L1261':
fs/fs.o(.text.init+0x18fc): undefined reference to `nfs_debug'
net/network.a(sunrpc.o): In function `rpc_create_client':
sunrpc.o(.text+0x360): undefined reference to `rpc_debug'

All of these errors are a result of not having globals defined in
net/sunrpc/sysctl.c.  sysctl.o only gets built when CONFIG_SYSCTL=y.


With CONFIG_SYSCTL=y, I get a different linker error
kernel/kernel.o(.data+0x3b4c): undefined reference to `sysrq_enabled'

(which willy already pointed out...See
http://puffin.external.hp.com/mailing-lists/parisc-linux/2000/05-May/0103.html)

This is very reproducible (going back and forth) in my build tree.
I don't see how willy got around it.

Do we want the build to work with or without CONFIG_SYSCTL?


>From the Documentation/Configure.help:
|  As it is generally a good thing, you should say Y here unless
|  building a kernel for install/rescue disks or your system is very  
|  limited in memory.

Philipp Rumpf wrote:
> I wouldn't really consider this a bug, but if anyone does he should 
> probably report it to whoever is working on that code in 2.3. 

If anyone wants to build x86 install/rescue disks, I think they can't now.
Either the Configure.help is wrong or the code is wrong.
I don't know how to submit a BUG.
Any pointers on where this bug should go?

thanks,
grant

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

* Re: [parisc-linux] CONFIG_SYSCTL is not set
  2000-05-30  2:01 [parisc-linux] CONFIG_SYSCTL is not set Grant Grundler
@ 2000-05-30  7:53 ` Richard Hirst
  2000-05-30 15:15 ` Paul Bame
  2000-06-01  0:01 ` Philipp Rumpf
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Hirst @ 2000-05-30  7:53 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux

Hi Grant,

You probably already worked this out, but mine builds fine with

CONFIG_SYSCTL=y
# CONFIG_MAGIC_SYSRQ is not set

Richard

On Mon, May 29, 2000 at 07:01:07PM -0700, Grant Grundler wrote:
> With CONFIG_SYSCTL=y, I get a different linker error
> kernel/kernel.o(.data+0x3b4c): undefined reference to `sysrq_enabled'
> 
> (which willy already pointed out...See
> http://puffin.external.hp.com/mailing-lists/parisc-linux/2000/05-May/0103.html)
> 
> This is very reproducible (going back and forth) in my build tree.
> I don't see how willy got around it.

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

* Re: [parisc-linux] CONFIG_SYSCTL is not set
  2000-05-30  2:01 [parisc-linux] CONFIG_SYSCTL is not set Grant Grundler
  2000-05-30  7:53 ` Richard Hirst
@ 2000-05-30 15:15 ` Paul Bame
  2000-06-01  0:01 ` Philipp Rumpf
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Bame @ 2000-05-30 15:15 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux


As a temporary hack, I changed arch/parisc/defconfig to enable
CONFIG_SYSCTL and defined sysrq_enabled in arch/parisc/kernel/setup.c.
The kernel will link this way at least, but it's not the "right answer".

	-P

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

* Re: [parisc-linux] CONFIG_SYSCTL is not set
  2000-05-30  2:01 [parisc-linux] CONFIG_SYSCTL is not set Grant Grundler
  2000-05-30  7:53 ` Richard Hirst
  2000-05-30 15:15 ` Paul Bame
@ 2000-06-01  0:01 ` Philipp Rumpf
  2 siblings, 0 replies; 4+ messages in thread
From: Philipp Rumpf @ 2000-06-01  0:01 UTC (permalink / raw)
  To: Grant Grundler, parisc-linux

On Mon, May 29, 2000 at 07:01:07PM -0700, Grant Grundler wrote:
> Philipp Rumpf wrote:
> > I wouldn't really consider this a bug, but if anyone does he should 
> > probably report it to whoever is working on that code in 2.3. 
> 
> If anyone wants to build x86 install/rescue disks, I think they can't now.
> Either the Configure.help is wrong or the code is wrong.
> I don't know how to submit a BUG.
> Any pointers on where this bug should go?

You were right.  It's just annoying behaviour not to compile at all, so
I submitted a patch to Alan (obviously, RPC_DEBUG doesn't make sense if
CONFIG_SYSCTL isn't defined).

So ac7 shouldn't have this problem.

	Philipp

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

end of thread, other threads:[~2000-06-01  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-30  2:01 [parisc-linux] CONFIG_SYSCTL is not set Grant Grundler
2000-05-30  7:53 ` Richard Hirst
2000-05-30 15:15 ` Paul Bame
2000-06-01  0:01 ` Philipp Rumpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.