Re: Problems compiling MIPS64 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Dec 2002, Julian Scheel wrote:

> after I got the mips-patched 2.4.20 kernel-sources now, I made a new try to 
> compile my mips64-kernel.
> As compiler I am using the SDE-GCC (www.algor.co.uk). make menuconfig works 
> well, but when I do "make vmlinux" I get following errors:
[...]
> /home/jscheel/Programmieren/cmms/mips-kernel/linux/include/linux/mm.h:335: 
> `_MIPS_SZLONG' undeclared (first use in this function)
> make: *** [init/main.o] Error 1
> -----------
> 
> especially the line "#error Use a Linux compiler or give up" surprised me?!
> Can someone help me a bit?

 The configuration of your compiler is broken.  Gcc is supposed to always
define the _MIPS_SZLONG macro appropriately (in its specs file -- run
`sde-gcc -print-file-name=specs' to find the file's location), but yours
fails to.  The remaining errors result from the lack of a _MIPS_SZLONG
definition. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux