[parisc-linux] CONFIG_SYSCTL is not set

Grant Grundler grundler@cup.hp.com
Mon, 29 May 2000 19:01:07 -0700 (PDT)

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

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?