> Thanks for your answer!! In fact, I have deleted the file of
> mysbc405.h and the link in the makefile.I plan to design for a new
> board. I don't konw where the envcrc.o is and how to delete the link to
> mysbc405.h entirely.
From
/home/zheng/workstation/u-boot-1.1.6
do
find . -type f | xargs grep envcrc
This should list all files that contain "envcrc"
Regards,
Hans
Reply by Wim Lewis●January 27, 20072007-01-27
In article <1169811874.057158.163450@l53g2000cwa.googlegroups.com>,
jackle <jackle_zheng@126.com> wrote:
>Thanks for your answer!! In fact, I have deleted the file of
>mysbc405.h and the link in the makefile.I plan to design for a new
>board. I don't konw where the envcrc.o is and how to delete the link to
>mysbc405.h entirely.
You need to tell make not to try to make envcrc.o either --- it's trying to
make envcrc.o (by compiling envcrc.c, probably) but it knows that it needs
mysbc405.h to do that.
Somewhere in the makefiles there is probably a variable which lists objects
that need to be built.
--
Wim Lewis <wiml@hhhh.org>, Seattle, WA, USA. PGP keyID 27F772C1
Reply by jackle●January 26, 20072007-01-26
Thanks for your answer!! In fact, I have deleted the file of
mysbc405.h and the link in the makefile.I plan to design for a new
board. I don't konw where the envcrc.o is and how to delete the link to
mysbc405.h entirely.
On 1=D4=C226=C8=D5, =CF=C2=CE=E73=CA=B109=B7=D6, "Arlet" <usene...@c-scape.=
nl> wrote:
> On Jan 26, 6:50 am, "jackle" <jackle_zh...@126.com> wrote:
>
>
>
>
>
> > linux system: redhat 9
> > cross compiler: arm-elf-gcc 2.95.3
> > bootloader: u-boot 1.1.6
> > when compliing,the wrong message is below:
>
> > [root@zheng u-boot-1.1.6]# make all
> > for dir in tools examples post post/cpu ; do make -C $dir _depend ;
> > done
> > make[1]: Entering directory
> > `/home/zheng/workstation/u-boot-1.1.6/tools'
> > make[1]: Nothing to be done for `_depend'.
> > make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/tools'
> > make[1]: Entering directory
> > `/home/zheng/workstation/u-boot-1.1.6/examples'
> > make[1]: Nothing to be done for `_depend'.
> > make[1]: Leaving directory
> > `/home/zheng/workstation/u-boot-1.1.6/examples'
> > make[1]: Entering directory `/home/zheng/workstation/u-boot-1.1.6/post'
> > make[1]: Nothing to be done for `_depend'.
> > make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/post'
> > make[1]: Entering directory
> > `/home/zheng/workstation/u-boot-1.1.6/post/cpu'
> > make[1]: Nothing to be done for `_depend'.
> > make[1]: Leaving directory
> > `/home/zheng/workstation/u-boot-1.1.6/post/cpu'
> > make -C tools all
> > make[1]: Entering directory
> > `/home/zheng/workstation/u-boot-1.1.6/tools'
> > make[1]: *** No rule to make target
> > `/home/zheng/workstation/u-boot-1.1.6/include/configs/mysbc405.h',
> > needed by `envcrc.o'. Stop.The error is probably not related to the '_=
depend' messages. Look at
> the last two lines. It seems like you're missing the mysbc405.h file.- =
> linux system: redhat 9
> cross compiler: arm-elf-gcc 2.95.3
> bootloader: u-boot 1.1.6
> when compliing,the wrong message is below:
>
> [root@zheng u-boot-1.1.6]# make all
> for dir in tools examples post post/cpu ; do make -C $dir _depend ;
> done
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/tools'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/tools'
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/examples'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory
> `/home/zheng/workstation/u-boot-1.1.6/examples'
> make[1]: Entering directory `/home/zheng/workstation/u-boot-1.1.6/post'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/post'
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/post/cpu'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory
> `/home/zheng/workstation/u-boot-1.1.6/post/cpu'
> make -C tools all
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/tools'
> make[1]: *** No rule to make target
> `/home/zheng/workstation/u-boot-1.1.6/include/configs/mysbc405.h',
> needed by `envcrc.o'. Stop.
> make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/tools'
> make: *** [tools] Error 2
>
> Any help would be appreciated.
I think you might be missing a header file. The _depend target is not
the problem here: it seems that you didn't tell make how to build
mysbc405.h, which it needs to make envcrc.o.
_Ico
--
:wq
^X^Cy^K^X^C^C^C^C
Reply by Arlet●January 26, 20072007-01-26
On Jan 26, 6:50 am, "jackle" <jackle_zh...@126.com> wrote:
> linux system: redhat 9
> cross compiler: arm-elf-gcc 2.95.3
> bootloader: u-boot 1.1.6
> when compliing,the wrong message is below:
>
> [root@zheng u-boot-1.1.6]# make all
> for dir in tools examples post post/cpu ; do make -C $dir _depend ;
> done
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/tools'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/tools'
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/examples'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory
> `/home/zheng/workstation/u-boot-1.1.6/examples'
> make[1]: Entering directory `/home/zheng/workstation/u-boot-1.1.6/post'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/post'
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/post/cpu'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory
> `/home/zheng/workstation/u-boot-1.1.6/post/cpu'
> make -C tools all
> make[1]: Entering directory
> `/home/zheng/workstation/u-boot-1.1.6/tools'
> make[1]: *** No rule to make target
> `/home/zheng/workstation/u-boot-1.1.6/include/configs/mysbc405.h',
> needed by `envcrc.o'. Stop.
The error is probably not related to the '_depend' messages. Look at
the last two lines. It seems like you're missing the mysbc405.h file.
Reply by jackle●January 26, 20072007-01-26
linux system: redhat 9
cross compiler: arm-elf-gcc 2.95.3
bootloader: u-boot 1.1.6
when compliing,the wrong message is below:
[root@zheng u-boot-1.1.6]# make all
for dir in tools examples post post/cpu ; do make -C $dir _depend ;
done
make[1]: Entering directory
`/home/zheng/workstation/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/tools'
make[1]: Entering directory
`/home/zheng/workstation/u-boot-1.1.6/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/zheng/workstation/u-boot-1.1.6/examples'
make[1]: Entering directory `/home/zheng/workstation/u-boot-1.1.6/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/post'
make[1]: Entering directory
`/home/zheng/workstation/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/zheng/workstation/u-boot-1.1.6/post/cpu'
make -C tools all
make[1]: Entering directory
`/home/zheng/workstation/u-boot-1.1.6/tools'
make[1]: *** No rule to make target
`/home/zheng/workstation/u-boot-1.1.6/include/configs/mysbc405.h',
needed by `envcrc.o'. Stop.
make[1]: Leaving directory `/home/zheng/workstation/u-boot-1.1.6/tools'
make: *** [tools] Error 2
Any help would be appreciated.