On 2001.01.18 Christian A Strømmen [Number1/NumeroUno] wrote:
> I entered the 2.4.0 src dir and did "make mrproper ; make xconfig ; make dep 
> ; make modules ; make modules_install ; make bzImage", however, during make 
> modules I got this error:
> <snap>
> In file included from /usr/src/linux/include/linux/kernel.h:11,
>                  from rtc.c:60:
> /usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:43: parse error 
> before `__gnuc_va_list'
> /usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:43: warning: data 
> definition has no type or storage class
> /usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:110: parse error 
> before `va_list'
> /usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:110: warning: data 
> definition has no type or storage class
> In file included from rtc.c:60:
> /usr/src/linux/include/linux/kernel.h:62: parse error before `va_list'
> /usr/src/linux/include/linux/kernel.h:62: warning: function declaration isn't 
> a prototype
> cpp: -lang-c: linker input file unused since linking not done

It seems your cc install is very screwed, the -lang-c does not appear in any
kernel
Makefile, so I suppose it comes from the cc driver. It looks like it is
calling /usr/bin/cpp for preprocessing (so it does not understand the -lang-c
flag the cc command gives him, because it is only internal, for cpp0),
and it should use the internal cpp0, usually located at
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/cpp0.

As a suggestion (as you seem not to be using egcs to build kernel) check you
don't have any egcs-xxxx package installed (specially egcs and egcs-cpp). You
seem to be using cooker (at least gcc 2.6). So get the latest gcc-2.96 (gcc,
gcc-cpp). Perhaps you miss the gcc-cpp package, and your gcc-2.96 is trying
to use and old cpp.

And if you want your life to be easier, get the 2.4.0 original sources from
www.kernel.org, and the 2.4.1-pre8 patch, to run a 2.4.1-pre8 kernel. The
advantage (apart from tons of bug fixes and cleanup)
is that reiser is yet integrated in the main kernel tree for the
1-pre series from Linus. Then, you just have to look for a suitable supermount
patch (I don't know where to get supermount 'cause I hate it).

-- 
J.A. Magallon                                                      $> cd pub
mailto:[EMAIL PROTECTED]                                          $> more beer

Linux werewolf 2.4.0-ac9 #2 SMP Sun Jan 14 01:46:07 CET 2001 i686


Reply via email to