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

[microblaze-uclinux] make all error



Hello,

 

I just installed my CentOS linux again. Xilinx ISE and EDK 8.1, and I got last microblaze-toolchain-sources and compiled them.

 

mb-gcc –v” gives:

 

[root@CentOS35Raul uClinux-dist]# mb-gcc -v

Lese Spezifikationen von /usr/local/microblaze-toolchain-sources/release/lin/microblaze/lib/gcc/microblaze/3.4.1/specs

Konfiguriert mit: /usr/local/microblaze-toolchain-sources/srcs/gcc/configure --srcdir=/usr/local/microblaze-toolchain-sources/srcs/gcc --target=microblaze --prefix=/usr/local/microblaze-toolchain-sources/release/lin/microblaze --program-prefix=mb- --nfp -v --enable-languages=c++ --with-newlib --with-headers --enable-multilib --enable-cxx-flags=-DOPTIMIZE_FOR_LOW_MEMORY -D_NEWLIB_VERSION

Thread-Modell: single

gcc-Version 3.4.1 ( Xilinx EDK 8.1.01 Build EDK_I.19.4 260907 )

[root@CentOS35Raul uClinux-dist]#

 

When I try to compile uClinux kernel.make clean dep” goes well but “make all” gives the next error:

 

make CFLAGS="-D__KERNEL__ -I/home/MEMEC/uClinux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -DPLATFORM=uclinux-auto -O2 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__ -I/usr/local/microblaze-toolchain-sources/release/lin/microblaze/lib/gcc/microblaze/3.4.1/./include -mno-xl-soft-mul " -C  arch/microblaze/kernel

make[2]: Wechsel in das Verzeichnis Verzeichnis »/home/MEMEC/uClinux-2.4.x/arch/microblaze/kernel«

make[2]: *** Keine Regel vorhanden, um das Target »/home/uClinux-2.4.x/include/linux/stddef.h«,

  benötigt von »microblaze_defs.h«, zu erstellen.  Schluss.

make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/MEMEC/uClinux-2.4.x/arch/microblaze/kernel«

make[1]: *** [_dir_arch/microblaze/kernel] Fehler 2

make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/MEMEC/uClinux-2.4.x«

make: *** [linux] Fehler 1

 

Translated to english:

...

make[2] Change to directory »/home/MEMEC/uClinux-2.4.x/arch/microblaze/kernel«

make[2] *** No rules to build target »/home/uClinux-2.4.x/include/linux/stddef.h«, needed for »microblaze_defs.h«

make[2] Leaving directoy »/home/MEMEC/uClinux-2.4.x/arch/microblaze/kernel«

 

What have I done wrong? Or what is left to do?

Thanks.

 

Raul Camaras. R&D Engineer.

Nokian Capacitors GmbH

Zum Hussenstein 7

D-78642 Konstanz

Nr.: +49 7531 9189649. Handy: +49 151 17337921

Fax 07531/919574

www.nokiancapacitors.de

Geschäftsführer Ralf Jessler

Sitz Konstanz

Registergericht Amtsgericht Freiburg i.Br. HRB381566