Skip to contentSkip to conversation

Out-of-tree build of API code fails

U-Boot Wolfgang Denk 2 participants 6 messages Mar 28, 2009 – Jun 15, 2009

lore
Share & tools
lore
#0 lore raw

Dear Rafal,

it seems the api_examples/ code fails when building out of tree:

-> make O=/work/wd/tmp-ppc PMC440_config
Configuring for PMC440 board...
-> make O=/work/wd/tmp-ppc all
Generating /work/wd/tmp-ppc/include/autoconf.mk.dep
Generating /work/wd/tmp-ppc/include/autoconf.mk
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/home/wd/git/u-boot/work/tools'
ln -s /home/wd/git/u-boot/work/tools/../common/env_embedded.c /work/wd/tmp-ppc/tools/env_embedded.c ln -s /home/wd/git/u-boot/work/tools/../include/zlib.h /work/wd/tmp-ppc/tools/zlib.h ln -s /home/wd/git/u-boot/work/tools/../lib_generic/crc32.c /work/wd/tmp-ppc/tools/crc32.c ln -s /home/wd/git/u-boot/work/tools/../lib_generic/md5.c /work/wd/tmp-ppc/tools/md5.c ln -s /home/wd/git/u-boot/work/tools/../lib_generic/sha1.c /work/wd/tmp-ppc/tools/sha1.c ln -s /home/wd/git/u-boot/work/tools/../common/image.c /work/wd/tmp-ppc/tools/image.c

if [ ! -f /work/wd/tmp-ppc/tools/mkimage.h ] ; then \
                        ln -s /home/wd/git/u-boot/work/tools/../tools/mkimage.h /work/wd/tmp-ppc/tools/mkimage.h; \
                fi
if [ ! -f /work/wd/tmp-ppc/tools/fdt_host.h ] ; then \
                        ln -s /home/wd/git/u-boot/work/tools/../tools/fdt_host.h /work/wd/tmp-ppc/tools/fdt_host.h; \
                fi

make[1]: Leaving directory `/home/wd/git/u-boot/work/tools'
make[1]: Entering directory `/home/wd/git/u-boot/work/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/wd/git/u-boot/work/tools'
make[1]: Entering directory `/home/wd/git/u-boot/work/examples'
make[1]: Leaving directory `/home/wd/git/u-boot/work/examples'
make[1]: Entering directory `/home/wd/git/u-boot/work/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/wd/git/u-boot/work/examples'
make[1]: Entering directory `/home/wd/git/u-boot/work/api_examples'
make[1]: *** No rule to make target /work/wd/tmp-ppc/api_examples/.depend', needed by _depend'. Stop. make[1]: Leaving directory `/home/wd/git/u-boot/work/api_examples'
make: *** [depend] Error 2

Could you please have a look? Thanks in advance.

Best regards,

Wolfgang Denk

Signature · 5 lines
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
A Puritan is someone who is deathly afraid that  someone,  somewhere,
is having fun.
#1 lore raw

Dear Wolfgang,

Quoted 3 lines · Wolfgang Denk

Dear Rafal,

it seems the api_examples/ code fails when building out of tree:

...

Quoted 1 line

Could you please have a look? Thanks in advance.

Sure, I'll take a look.

kind regards,
Rafal

#2 lore raw

Dear Rafal Jaworowski,

Quoted 6 lines · In message <[email protected]> you wrote:

Dear Wolfgang,

Quoted 2 lines · Wolfgang Denk

Dear Rafal,

Quoted 7 lines
Quoted 1 line

it seems the api_examples/ code fails when building out of tree:

...

Quoted 1 line

Could you please have a look? Thanks in advance.

Sure, I'll take a look.

Did your 'having a look' result in any results, like a patch that fixes the problem?

We're slowly but surely approaching the next release and I would like to see this fixed...

Thanks in advance.

Best regards,

Wolfgang Denk

Signature · 7 lines
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
Niklaus Wirth has lamented that, whereas Europeans pronounce his name
correctly (Ni-klows Virt), Americans invariably mangle it into (Nick-
les Worth). Which is to say that Europeans  call  him  by  name,  but
Americans call him by value.
#3 lore raw
Quoted 10 lines · Wolfgang Denk

In message <[email protected]> you

Quoted 8 lines · wrote:

Dear Wolfgang,

Quoted 3 lines · Wolfgang Denk

Dear Rafal,

it seems the api_examples/ code fails when building out of tree:

Quoted 8 lines
Quoted 5 lines

...

Quoted 1 line

Could you please have a look? Thanks in advance.

Sure, I'll take a look.

Did your 'having a look' result in any results, like a patch that fixes the problem?

At the time I looked at this the main line build was broken due to other issues, so I need to see to it again.

kind regards,
Rafal

#4 lore raw

Dear Rafal,

Quoted 5 lines · in message <[email protected]> you wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

it seems the api_examples/ code fails when building out of tree:

...

Quoted 1 line

Could you please have a look? Thanks in advance.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Sure, I'll take a look.

Did your 'having a look' result in any results, like a patch that fixes the problem?

At the time I looked at this the main line build was broken due to other issues, so I need to see to it again.

This is still broken (and I don'e see any related main line build that is broken), so could you *please* have a look again?

Thanks in advance.

Best regards,

Wolfgang Denk

Signature · 5 lines
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 greatest warriors are the ones who fight for peace."
- Holly Near
#5 lore raw

Dear Wolfgang,

Quoted 9 lines · Wolfgang Denk

in message <[email protected]> you

Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines

it seems the api_examples/ code fails when building out of tree:

...

Quoted 1 line

Could you please have a look? Thanks in advance.

Sure, I'll take a look.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Did your 'having a look' result in any results, like a patch that fixes the problem?

At the time I looked at this the main line build was broken due to other issues, so I need to see to it again.

This is still broken (and I don'e see any related main line build that is broken), so could you *please* have a look again?

I was actually working on this on Sat, but it seems like something obscure and I could not find the cause of the problem so far. I don't have much time right now to look into it any deeper though, so it has to wait, sorry (unless someone else can try to fix it).

kind regards,
Rafal