Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Kernel 2.4.3 compile problem
@ 2001-10-26 11:36 Andre.Messerschmidt
  2001-10-27 18:45 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Andre.Messerschmidt @ 2001-10-26 11:36 UTC (permalink / raw)
  To: linux-mips

Hi.

I tried to compile the kernel 2.4.3 but the process stops directly with the
following error:

saeanme@sae139c:/mipseb/usr/src/linux> make vmlinux
mips-linux-gcc -I /mipseb/usr/src/linux-2.4.3/include/asm/gcc -D__KERNEL__ 
-I/mipseb/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -g -G 0 -mno-abicalls -fno-pic
-mcpu=r4600 
-mips2 -Wa,--trap -pipe   -c -o init/main.o init/main.c
In file included from
/usr/lib/gcc-lib/mips-linux/egcs-2.91.66/include/stdarg.h:27,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/kernel.h:10,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/wait.h:13,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/fs.h:12,
                 from
/mipseb/usr/src/linux-2.4.3/include/linux/capability.h:17,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/binfmts.h:5,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/sched.h:9,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/mm.h:4,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/slab.h:14,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/lib/gcc-lib/mips-linux/egcs-2.91.66/include/va-mips.h:278: parse error
at null character
In file included from /mipseb/usr/src/linux-2.4.3/include/linux/wait.h:13,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/fs.h:12,
                 from
/mipseb/usr/src/linux-2.4.3/include/linux/capability.h:17,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/binfmts.h:5,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/sched.h:9,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/mm.h:4,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/slab.h:14,
                 from /mipseb/usr/src/linux-2.4.3/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/mipseb/usr/src/linux-2.4.3/include/linux/kernel.h:62: parse error before
`va_list'
/mipseb/usr/src/linux-2.4.3/include/linux/kernel.h:62: warning: function
declaration isn't a prototype
make: *** [init/main.o] Error 1
saeanme@sae139c:/mipseb/usr/src/linux>

I downloaded the kernel from
ftp://ftp.mips.com/pub/linux/mips/kernel/2.4/src/
and the compiler is the current from ftp://oss.sgi.com/pub/linux/mips/
Is this a combination that cannot work? 
Any help would be appreciated.

best regards
--
Andre Messerschmidt

Application Engineer
Infineon Technologies AG

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kernel 2.4.3 compile problem
  2001-10-26 11:36 Kernel 2.4.3 compile problem Andre.Messerschmidt
@ 2001-10-27 18:45 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2001-10-27 18:45 UTC (permalink / raw)
  To: Andre.Messerschmidt; +Cc: linux-mips

On Fri, Oct 26, 2001 at 01:36:25PM +0200, Andre.Messerschmidt@infineon.com wrote:

> /usr/lib/gcc-lib/mips-linux/egcs-2.91.66/include/va-mips.h:278: parse error
> at null character

If this file contains a NUL character your compiler installation got
corrupted somehow.  Say might also be memory corruption of your compiler
host.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-27 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-26 11:36 Kernel 2.4.3 compile problem Andre.Messerschmidt
2001-10-27 18:45 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox