[OpenWrt-Devel] uClibc build failure

2009-05-12 Thread Josh Abbott
Hi,

Yesterday I was trying to build openwrt (svn) and since then it is
giving me an error abount uclibc:

install -d lib/
rm -f lib/ld-uClibc.so lib/ld-uClibc.so.0 lib/ld-uClibc-0.9.29.so
mipsel-openwrt-linux-uclibc-ld -EL -melf32ltsmip -shared --warn-common
--warn-once -z combreloc -z relro -z defs -e _start -z now -Bsymbolic
--export-dynamic --sort-common --discard-locals --discard-all
--no-undefined -soname=ld-uClibc.so.0 -o lib/ld-uClibc-0.9.29.so
--whole-archive ldso/ldso/ld-uClibc_so.a --no-whole-archive
/usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a
mipsel-openwrt-linux-uclibc-ld:
/usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a:
No such file: No such file or directory
make[4]: *** [lib/ld-uClibc.so] Error 1
make[4]: Leaving directory
`/usr/local/src/trunk/build_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/uClibc-0.9.29'
make[3]: *** 
[/usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/stamp/.uclibc_installed]
Error 2
make[3]: Leaving directory `/usr/local/src/trunk/toolchain/uClibc'
make[2]: *** [toolchain/uClibc/compile] Error 2
make[2]: Leaving directory `/usr/local/src/trunk'
make[1]: *** 
[/usr/local/src/trunk/staging_dir/target-mipsel_uClibc-0.9.29/stamp/.toolchain_install]
Error 2
make[1]: Leaving directory `/usr/local/src/trunk'
make: *** [world] Error 2

The same kind of error (but for i486) was reported May 5, and was corrected.

The svn revision I'm using is 15794.

Thank you
josh
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] uClibc build failure

2009-05-12 Thread Florian Fainelli
Hi Josh,

Le Tuesday 12 May 2009 12:04:52 Josh Abbott, vous avez écrit :
 Hi,

 Yesterday I was trying to build openwrt (svn) and since then it is
 giving me an error abount uclibc:

 install -d lib/
 rm -f lib/ld-uClibc.so lib/ld-uClibc.so.0 lib/ld-uClibc-0.9.29.so
 mipsel-openwrt-linux-uclibc-ld -EL -melf32ltsmip -shared --warn-common
 --warn-once -z combreloc -z relro -z defs -e _start -z now -Bsymbolic
 --export-dynamic --sort-common --discard-locals --discard-all
 --no-undefined -soname=ld-uClibc.so.0 -o lib/ld-uClibc-0.9.29.so
 --whole-archive ldso/ldso/ld-uClibc_so.a --no-whole-archive
 /usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/u
sr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a
 mipsel-openwrt-linux-uclibc-ld:
 /usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/u
sr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a: No such file:
 No such file or directory
 make[4]: *** [lib/ld-uClibc.so] Error 1
 make[4]: Leaving directory
 `/usr/local/src/trunk/build_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/uC
libc-0.9.29' make[3]: ***
 [/usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/
stamp/.uclibc_installed] Error 2
 make[3]: Leaving directory `/usr/local/src/trunk/toolchain/uClibc'
 make[2]: *** [toolchain/uClibc/compile] Error 2
 make[2]: Leaving directory `/usr/local/src/trunk'
 make[1]: ***
 [/usr/local/src/trunk/staging_dir/target-mipsel_uClibc-0.9.29/stamp/.toolch
ain_install] Error 2
 make[1]: Leaving directory `/usr/local/src/trunk'
 make: *** [world] Error 2

 The same kind of error (but for i486) was reported May 5, and was
 corrected.

You should clean your whole environnement and rebuild using make distclean; 
make. This fixes the issue.

Sorry for the bug.
-- 
Best regards, Florian Fainelli
Email : flor...@openwrt.org
http://openwrt.org
---


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] uClibc build failure

2009-05-12 Thread David A. Bandel
On Tue, May 12, 2009 at 5:13 AM, Nico n...@openwrt.org wrote:
 Hi Josh,

 You have to remove the whole toolchain and rebuild it:

 make toolchain/clean toolchain/install


(If the below is answered in the docs, excuse the questions.  Not
having much luck building the docs.)

OK, this particular step (and may be the reason for a package file
build failure I just had) is necessary when?  When changing between
architectures only (arm/mips/x86 in target system menu) or anytime you
change target profile?  If this is necessary between builds of the
same target system/target profile, something is broken (as it was when
I reported it a few days ago).

I've been using make clean or make dirclean (which as I read the
Makefile do the same thing) when changing target profiles or target
systems.

I hadn't noticed the toolchain/clean toolchain/install targets in the
Makefile (probably because they're included from the toolchain
directory).

Will try again to build the docs.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] uClibc build failure

2009-05-12 Thread Josh Abbott
I was only doing make clean and it wasn't working.

I checked out the svn sources once again and now I can build the image again.

Thank you,
josh

On Tue, May 12, 2009 at 11:11, Florian Fainelli flor...@openwrt.org wrote:
 Hi Josh,

 Le Tuesday 12 May 2009 12:04:52 Josh Abbott, vous avez écrit :
 Hi,

 Yesterday I was trying to build openwrt (svn) and since then it is
 giving me an error abount uclibc:

 install -d lib/
 rm -f lib/ld-uClibc.so lib/ld-uClibc.so.0 lib/ld-uClibc-0.9.29.so
 mipsel-openwrt-linux-uclibc-ld -EL -melf32ltsmip -shared --warn-common
 --warn-once -z combreloc -z relro -z defs -e _start -z now -Bsymbolic
 --export-dynamic --sort-common --discard-locals --discard-all
 --no-undefined -soname=ld-uClibc.so.0 -o lib/ld-uClibc-0.9.29.so
 --whole-archive ldso/ldso/ld-uClibc_so.a --no-whole-archive
 /usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/u
sr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a
 mipsel-openwrt-linux-uclibc-ld:
 /usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/u
sr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a: No such file:
 No such file or directory
 make[4]: *** [lib/ld-uClibc.so] Error 1
 make[4]: Leaving directory
 `/usr/local/src/trunk/build_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/uC
libc-0.9.29' make[3]: ***
 [/usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/
stamp/.uclibc_installed] Error 2
 make[3]: Leaving directory `/usr/local/src/trunk/toolchain/uClibc'
 make[2]: *** [toolchain/uClibc/compile] Error 2
 make[2]: Leaving directory `/usr/local/src/trunk'
 make[1]: ***
 [/usr/local/src/trunk/staging_dir/target-mipsel_uClibc-0.9.29/stamp/.toolch
ain_install] Error 2
 make[1]: Leaving directory `/usr/local/src/trunk'
 make: *** [world] Error 2

 The same kind of error (but for i486) was reported May 5, and was
 corrected.

 You should clean your whole environnement and rebuild using make distclean;
 make. This fixes the issue.

 Sorry for the bug.
 --
 Best regards, Florian Fainelli
 Email : flor...@openwrt.org
 http://openwrt.org
 ---

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] uClibc build failure

2009-05-12 Thread mail
Hello Josh,

make distclean is the solution from Florian, as it will reset your
working copy that it looks like it was checked out from new.
Unfortunately it also deletes the download folder dl, that's why I move
away first then move it back.

Maddes

On Tue, May 12, 2009 16:10, Josh Abbott wrote:
 I was only doing make clean and it wasn't working.

 I checked out the svn sources once again and now I can build the image
 again.

 Thank you,
 josh

 On Tue, May 12, 2009 at 11:11, Florian Fainelli flor...@openwrt.org
 wrote:
 Hi Josh,

 Le Tuesday 12 May 2009 12:04:52 Josh Abbott, vous avez �crit�:
 Hi,

 Yesterday I was trying to build openwrt (svn) and since then it is
 giving me an error abount uclibc:

 install -d lib/
 rm -f lib/ld-uClibc.so lib/ld-uClibc.so.0 lib/ld-uClibc-0.9.29.so
 mipsel-openwrt-linux-uclibc-ld -EL -melf32ltsmip -shared --warn-common
 --warn-once -z combreloc -z relro -z defs -e _start -z now -Bsymbolic
 --export-dynamic --sort-common --discard-locals --discard-all
 --no-undefined -soname=ld-uClibc.so.0 -o lib/ld-uClibc-0.9.29.so
 --whole-archive ldso/ldso/ld-uClibc_so.a --no-whole-archive
 /usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/u
sr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a
 mipsel-openwrt-linux-uclibc-ld:
 /usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/u
sr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/libgcc_initial.a: No such
 file:
 No such file or directory
 make[4]: *** [lib/ld-uClibc.so] Error 1
 make[4]: Leaving directory
 `/usr/local/src/trunk/build_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/uC
libc-0.9.29' make[3]: ***
 [/usr/local/src/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/
stamp/.uclibc_installed] Error 2
 make[3]: Leaving directory `/usr/local/src/trunk/toolchain/uClibc'
 make[2]: *** [toolchain/uClibc/compile] Error 2
 make[2]: Leaving directory `/usr/local/src/trunk'
 make[1]: ***
 [/usr/local/src/trunk/staging_dir/target-mipsel_uClibc-0.9.29/stamp/.toolch
ain_install] Error 2
 make[1]: Leaving directory `/usr/local/src/trunk'
 make: *** [world] Error 2

 The same kind of error (but for i486) was reported May 5, and was
 corrected.

 You should clean your whole environnement and rebuild using make
 distclean;
 make. This fixes the issue.

 Sorry for the bug.
 --
 Best regards, Florian Fainelli
 Email : flor...@openwrt.org
 http://openwrt.org
 ---

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] uClibc build failure

2009-05-04 Thread David A. Bandel
Folks,

2 days ago I built a x86-WRAP package. Build went well (works just fine).

Today, I did an `svn up` (silly me), changed a few packages from M to
*, and performed a rebuild.  Build crashes with:

i486-openwrt-linux-uclibc-ld:
/usr/src/trunk/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/i486-openwrt-linux-uclibc/4.1.2/libgcc_initial.a:
No such file: No such file or directory

There is a libgcc.a, but nowhere is there a libgcc_initial.a

Any ideas, anyone?

TIA,

David A. Bandel
-- 
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel