lkml.org 
[lkml]   [1998]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem compiling tiny .105 kernel
> I'm trying to make a tiny kernel for some work with low-mem x terminals;
> 2.1.x is very modular, so I can cut out a lot easily. Did I cut out too
> much?
>
> Here's the error...
>
> kernel/kernel.o: In function `show_task':
> kernel/kernel.o(.text+0x30b9): undefined reference to `render_sigset_t'

Two places want to use that function.
fs/proc/array.c (CONFIG_PROC_FS) for the support of /proc/<pid>/stat
kernel/sched.c for show_task() which gets called
from drivers/char/keyboard.c in response to Ctrl-ScrollLock.

The "right" thing to do would be to move render_sigset_t() into
kernel/sched.c (or some PROC_FS-neutral territory), but for your
low-memory case, I'd just comment out the section at the end of
show_task(). If you want to hack more, the reference from the keyboard
driver could probably be removed, with the show_ functions.

But, the proc filesystem is quite useful (for things like "ps"). You
could just enable CONFIG_PROC_FS.

-- Pete
-----------------------------------------------------
Pete Wyckoff | wyckoff@ca.sandia.gov
Sandia National Laboratories | 925 294 3503 (voice)
MS 9011, P.O. Box 969 | 925 294 1225 (fax)
Livermore, CA 94551 |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.059 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site