coldfire-toolchain: "make dep" fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coldfire-toolchain: "make dep" fails



Hello,

I just downloaded the CodeSourcery GNU toolchain for the coldfire platform
(freescale-coldfire-4.1-3-m68k-uclinux-i686-pc-linux-gnu.tar.bz2) and tried to compile a
linux 2.4.32-uc0 kernel with it. Unfortunately, "make dep" fails:

$ PATH=~/codesourcery/bin/:$PATH
$ m68k-uclinux-gcc -v
Using built-in specs.
Target: m68k-uclinux
Configured with: /scratch/richard/codesourcery/freescale/src/gcc-coldfire-4_1/configure
--disable-nls --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=m68k-uclinux
--enable-languages=c,c++ --enable-shared --enable-threads --disable-libmudflap
--disable-libssp --disable-libgomp --disable-libstdcxx-pch --disable-shared
--with-cpu=5206 --with-gnu-as --with-gnu-ld
--prefix=/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc
--with-sysroot=/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc/m68k-uclinux/libc
--with-build-sysroot=/scratch/richard/codesourcery/freescale/install/m68k-uclinux/libc
Thread model: single
gcc version 4.1.0 (CodeSourcery ColdFire)

$ make ARCH=m68knommu CROSS_COMPILE=m68k-uclinux- menuconfig
...

$ make ARCH=m68knommu CROSS_COMPILE=m68k-uclinux- dep
rm -f .depend .hdepend
make _sfdep_arch/m68knommu/kernel _sfdep_arch/m68knommu/mm _sfdep_arch/m68knommu/lib
_sfdep_arch/m68knommu/platform/527x _sfdep_kernel _sfdep_drivers _sfdep_mmnommu _sfdep_fs
_sfdep_net _sfdep_ipc _sfdep_lib _sfdep_crypto
_FASTDEP_ALL_SUB_DIRS="arch/m68knommu/kernel arch/m68knommu/mm arch/m68knommu/lib
arch/m68knommu/platform/527x kernel drivers mmnommu fs net ipc lib crypto"
make[1]: Entering directory `/home/mma/sandbox/linux-2.4.32-uc0'
make -C arch/m68knommu/kernel fastdep
make[2]: Entering directory `/home/mma/sandbox/linux-2.4.32-uc0/arch/m68knommu/kernel'
/home/mma/sandbox/linux-2.4.32-uc0/scripts/mkdep -fno-builtin -nostdinc -D__KERNEL__
-I/home/mma/sandbox/linux-2.4.32-uc0/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O1
-g -fno-strict-aliasing -fno-common -I../include -pipe -DNO_MM -DNO_FPU -m5307 -Wa,-S
-Wa,-m5307 -D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__ -O1  -nostdinc
-iwithprefix include -- bios32.c console.c m68k_defs.c m68k_ksyms.c process.c ptrace.c
semaphore.c setup.c sys_m68k.c time.c traps.c > .depend
realpath(../include) failed, No such file or directory
make[2]: *** [fastdep] Error 1
make[2]: Leaving directory `/home/mma/sandbox/linux-2.4.32-uc0/arch/m68knommu/kernel'
make[1]: *** [_sfdep_arch/m68knommu/kernel] Error 2
make[1]: Leaving directory `/home/mma/sandbox/linux-2.4.32-uc0'
make: *** [dep-files] Error 2

Using the toolchain from www.uclinux.org (based on gcc.2.95) this works without a problem.

Any hints on what's wrong?

Thanks,

Michel