[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    AW: [uClinux-dev] busybox-error buildung uClinux
From:       <michael.knoppik () wago ! com>
Date:       2008-06-30 10:28:22
Message-ID: EEBB5563A900824DB9BE9F09B761F12160B2AB () SVEX01003 ! wago ! local
[Download RAW message or body]

can't find the option for mtd-utils to use zlib-devel. think there isn't anyone.
CONFIG_LIB_ZLIB is already set on "y". I just ran make oldconfig an make. but still \
got the ld-error and the busybox unstripped error. But I've checked my old \
uclinux(without preempt-rt) and I've seen, that there I've got the same errors, but \
they are ignored from the make-environment. how can I ignore them in my actual \
version. The old version runs without any big problems!!

-----Ursprüngliche Nachricht-----
Von: uclinux-dev-bounces@uclinux.org
[mailto:uclinux-dev-bounces@uclinux.org]Im Auftrag von David McCullough
Gesendet: Montag, 30. Juni 2008 12:15
An: uClinux development list
Betreff: Re: [uClinux-dev] busybox-error buildung uClinux



Jivin michael.knoppik@wago.com lays it down ...
> Hello,
> 
> I think here is the beginning of the problem.
> 
> /usr/local/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld.real: cannot find \
>                 -lz
> collect2: ld returned 1 exit status
> make[3]: *** [mkfs.jffs2] Fehler 1
> make[3]: Leaving directory `/home/u011514/uClinux-dist/user/mtd-utils'
> make[2]: *** [mtd-utils] Fehler 2 
> 
> Do I not have to use ld instead of ld.real? How can I switch to ld?

ld.real and ld are both fine,  the uclinux flat toochain renames ld to
ld.real so you do not need to worry about this.

The real problem is the:

	ld.real: cannot find -lz

Looks like the mtd-utils need to have zlib enabled in the build.
Because I am lazy and don't remember where to find this in the
"make xconfig",  do this.  Edit config/.config,  find the line
containing CONFIG_LIB_ZLIB and change it to:

	CONFIG_LIB_ZLIB=y

save then run:

	make oldconfig
	make

And you should be away ;-)

Cheers,
Davidm

> -----Ursprüngliche Nachricht-----
> Von: uclinux-dev-bounces@uclinux.org
> [mailto:uclinux-dev-bounces@uclinux.org]Im Auftrag von
> michael.knoppik@wago.com
> Gesendet: Montag, 30. Juni 2008 09:14
> An: uclinux-dev@uclinux.org
> Betreff: AW: [uClinux-dev] busybox-error buildung uClinux
> 
> 
> what does make single? i didn't knew it.
> 
> I tried NON_SMP_BUILD.
> 
> I've attached 3 errorlogs from make. one with simple "make" and one with \
> "NON_SMP_BUILD2: Both failed. "make single"(the third one) also doesn't run.
> 
> -----Ursprüngliche Nachricht-----
> Von: uclinux-dev-bounces@uclinux.org
> [mailto:uclinux-dev-bounces@uclinux.org]Im Auftrag von David McCullough
> Gesendet: Sonntag, 29. Juni 2008 14:25
> An: uClinux development list
> Betreff: Re: [uClinux-dev] busybox-error buildung uClinux
> 
> 
> 
> Jivin Mike Frysinger lays it down ...
> > On Friday 27 June 2008, Greg Ungerer wrote:
> > > michael.knoppik@wago.com wrote:
> > > > I've got the following error, running make for uClinux:
> > > > 
> > > > LINK    busybox_unstripped
> > > > arm-linux-strip: busybox_unstripped: File format not recognized
> > > > make[3]: [busybox] Fehler 1 (ignoriert)
> > > > make[3]: Leaving directory `/home/u011514/uClinux-dist/user/busybox'
> > > > make[2]: Leaving directory `/home/u011514/uClinux-dist/user'
> > > > make[1]: *** [all] Fehler 2
> > > > make[1]: Leaving directory `/home/u011514/uClinux-dist/user'
> > > > make: *** [subdirs] Fehler 1
> > > > 
> > > > 
> > > > how can I solve this problem?
> > > 
> > > Can you run the make with V=1, eg
> > > 
> > > make V=1
> > > 
> > > We need to see what the actual command line trying to be run is.
> > 
> > the line posted is not the problem.  noticed how it says ignored.  since he's 
> > running in parallel, something else failed.
> 
> Run:
> 
> 	make single
> 
> to see where it actually fails. If I missed the fact that it is an older
> uClinux-dist then run:
> 
> 	make NON_SMP_BUILD=1
> 
> Cheers,
> Davidm
> 
> -- 
> David McCullough,  david_mccullough@securecomputing.com,   Ph:+61 734352815
> Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> 
> _______________________________________________________________________________________
>  Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und daher allein für den \
> Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das Lesen, \
> Verteilen oder Weiterleiten dieser E-Mail sowie jedwedes Vertrauen auf deren Inhalt \
> untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich vollständig zu \
> löschen und uns eine Nachricht zukommen zu lassen. 
> This email may contain material that is confidential and/or privileged for the sole \
> use of the intended recipient. Any review, reliance or distribution by others or \
> forwarding without express permission is strictly prohibited. If you are not the \
> intended recipient, please contact the sender and delete all copies.  
> WAGO Kontakttechnik GmbH (nach Schweizer Recht) & Co. KG; Rechtsform: \
> Kommanditgesellschaft; Sitz: Minden; Registergericht: Bad Oeynhausen, HRA 6218; \
> Persönlich haftender Gesellschafter: WAGO Kontakttechnik Beteiligungs GmbH; Sitz: \
> Fribourg (Schweiz); Handelsregisteramt CH-217-3533291-9; Geschäftsführung: \
> Dipl.-Wirtsch. Ing. (FH) Sven Michael Hohorst; Dipl. Betriebsw. Axel Christian \
> Börner. _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
David McCullough,  david_mccullough@securecomputing.com,   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic