[U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.
Wolfgang Denk
wd at denx.de
Wed May 14 17:50:13 CEST 2008
In message <ed4892840805140612i18303b75mb01d943bbeb99713 at mail.gmail.com> you wrote:
>
> > I 'cd' in eldk-4.1-arm installation directory arm/src/u-boot-1.2.0 and run:
You are aware that U-Boot 1.2.0 is pretty old, aren't you? Is there
any pressing reason not to use current code instead?
> > In the last step, the `make' reported "No rule to make target
> > `.depend', needed by `_depend'. Stop". What's wrong with it?
>
> Does anyone know the problem? I need you help.
Except for some warnings, it builds fine here:
-> cd /tmp/u-boot-1.2.0
-> echo $CROSS_COMPILE
arm-linux-
-> arm-linux-gcc -v
Reading specs from /opt/eldk-4.1/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
Configured with: /opt/eldk/build/arm-2007-01-21/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux --with-headers=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --enable-__cxa_atexit
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
-> ./MAKEALL sbc2410x
Configuring for sbc2410x board...
In file included from sbc2410x.c:32:
/tmp/u-boot-1.2.0/include/s3c2410.h:73: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:77: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:81: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:85: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:89: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:93: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:97: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:101: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:105: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:109: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:113: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:117: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:121: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:125: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:129: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:133: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:137: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:141: warning: type qualifiers ignored on function return type
flash.c:292: warning: type qualifiers ignored on function return type
In file included from interrupts.c:39:
/tmp/u-boot-1.2.0/include/s3c2410.h:73: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:77: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:81: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:85: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:89: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:93: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:97: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:101: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:105: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:109: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:113: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:117: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:121: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:125: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:129: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:133: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:137: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:141: warning: type qualifiers ignored on function return type
In file included from serial.c:27:
/tmp/u-boot-1.2.0/include/s3c2410.h:73: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:77: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:81: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:85: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:89: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:93: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:97: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:101: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:105: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:109: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:113: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:117: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:121: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:125: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:129: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:133: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:137: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:141: warning: type qualifiers ignored on function return type
In file included from speed.c:38:
/tmp/u-boot-1.2.0/include/s3c2410.h:73: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:77: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:81: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:85: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:89: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:93: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:97: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:101: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:105: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:109: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:113: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:117: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:121: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:125: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:129: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:133: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:137: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:141: warning: type qualifiers ignored on function return type
In file included from s3c24x0_rtc.c:36:
/tmp/u-boot-1.2.0/include/s3c2410.h:73: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:77: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:81: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:85: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:89: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:93: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:97: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:101: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:105: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:109: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:113: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:117: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:121: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:125: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:129: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:133: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:137: warning: type qualifiers ignored on function return type
/tmp/u-boot-1.2.0/include/s3c2410.h:141: warning: type qualifiers ignored on function return type
text data bss dec hex filename
102787 3904 23844 130535 1fde7 ./u-boot
->
The problem must be on your side, as already suggested.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The night sky over the planet Krikkit is the least interesting sight
in the entire Universe.
- Douglas Adams _Life, the Universe, and Everything_
More information about the U-Boot
mailing list