lkml.org 
[lkml]   [1999]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernelupgrade / Re: Too many open files error
On Fri, Mar 12, 1999 at 04:14:18PM +0100, Dietmar Stein wrote:
> Hi Alan,
>
> I am not so familiar in programming but I mentioned to put the entry
> "console_init();" before the entry "time_init();" in function
> "start_kernel"
> at line 1120.
> The file main.c looks like (in line 1119 / 1120 / 1121):
> ...
> 1119: sched_init();
> 1120: console_init();
> 1121: time_init();
> ...
>
> All I got while compiling (I did a make dep ; make clean ; make modules
> ; make
> modules_install ; make zdisk) is a message from make zdisk
> "init/main.c: In function `start_kernel´:
> init/main.c:1120: too few arguments to function `console_init´ " Then
> the
> compilation fails.

Cut the line number 1133
memory_start = console_init(memory_start,memory_end);

and put it before the line 1120 (as you did, but you need to pass the
right parameter to the function, too, and not repeat two times the
initialization of console).

Hope this helps,
Romano

--
Romano Giannetti, Professor - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2410 fax +34 915 596 569

--------------4037B441C3F60C8DDC82CCB4
Content-Type: text/plain; charset=us-ascii; name="mail05.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="mail05.txt"

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