[pocket-linux] Chapter 2: Simple Kernel Build - Problems

Eric Wanchic ewanchic at qwest.net
Mon Oct 18 16:28:54 CDT 2004


I am using Kernel 2.6.x. There is no option in menuconfig for  'support for
console on virtual terminal'. I downloaded the latest Kernel, 2.6.8.1 and it
too doesn't have a 'support for console on virtual terminal'. Regardless I
have removed everything so that the only thing I am comiling are:
 - 386 processor
 - Floppy Disk Support
 - Ram Disk Support (4096)
 - Second extended fs

And I'm always getting an errors. Practically half of the compile shows:
includes/wherever/foobar.h: In function '___add_to_page_cache':
includes/wherever/foobar.h:xxx: warning implicit declaration of function
'SetPageSwapCache'
etc,etc

Of course locations and filenames vary. So I get this a lot and everywhere
then finally I get these last lines.

LD    init/version.o
LD    .tmp_vmlinux1
kernel/built-in.o(.text+0xd3db): In function 'sys_setgroups':
:undefined reference to 'ngroups_max'
kernel/built-in.o(.text+0x11c24): In function 'sys_setgroups16':
:undefined reference to 'ngroups_max'
kernel/built-in.o(.text+0xxabb): In function 'add_to_page_cache':
:undefined reference to 'swapper_space'
kernel/built-in.o(.text+0xb59): In function 'add_to_page_cache':
:undefined reference to 'SetPageSwapCache'
make: *** [.tmp_vmlinux1] Error 1

Whats the next step.

Note: I've tried using 2.4.27 and 2.4.18, and I also seem to get a compile
error of some kind. Not the same as above of course. Doesn't matter if it is
right after I decompress the new source files or if I remove everything out
and just have those items checked. And I am decopressing the files is
seperate directories. I am currently using Suse 9.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tastytronic.net/pipermail/pocket-linux/attachments/20041018/4accf022/attachment.htm


More information about the Pocket-Linux mailing list