Hallo,
here is the errorprint...
I use uClinux-dist from January, 30th 2007 with Patch from March, 5th 2008
I've also patched the linux-2.6.x-folder with OSADL Preempt RT Patches
The Kernelversion is now 2.6.24-uc0-rt1
I'm building for NET+ARM 50
Regards
Michael
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von David McCullough
Gesendet: Mittwoch, 2. Juli 2008 01:55
An: uClinux development list
Betreff: Re: [uClinux-dev] busybox-error buildung uClinux
Jivin [EMAIL PROTECTED] lays it down ...
> 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!!
Hmm, not sure. I think I need to see the full build output. DO the
following and send in the ouput:
make single 2>&1 | tail -n 100 > /tmp/errs.txt
And send me the errs.txt. Make sure it has the error and the mtd-utils
stuff in the errs.txt file, if not increase the 100 a bit ;-)
Also, which dist was that ?
Cheers,
Davidm
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von David McCullough
> Gesendet: Montag, 30. Juni 2008 12:15
> An: uClinux development list
> Betreff: Re: [uClinux-dev] busybox-error buildung uClinux
>
>
>
> Jivin [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag von
> > [EMAIL PROTECTED]
> > Gesendet: Montag, 30. Juni 2008 09:14
> > An: [email protected]
> > 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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] 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:
> > > > [EMAIL PROTECTED] 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, [EMAIL PROTECTED], Ph:+61 734352815
> > Secure Computing - SnapGear http://www.uCdot.org http://www.snapgear.com
> > _______________________________________________
> > uClinux-dev mailing list
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected]
> > 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
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected]
> > To unsubscribe see:
> > http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
>
> --
> David McCullough, [EMAIL PROTECTED], Ph:+61 734352815
> Secure Computing - SnapGear http://www.uCdot.org http://www.snapgear.com
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
--
David McCullough, [EMAIL PROTECTED], Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.snapgear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
./modutils/Kconfig -> ./modutils/Config.in
./mkConfig.in: line 16: ./modutils/Config.in: Keine Berechtigung
/bin/sh: /home/u011514/uClinux-dist/user/busybox/scripts/setlocalversion: Datei
oder Verzeichnis nicht gefunden
sh ./mkConfig.in
./debianutils/Kconfig -> ./debianutils/Config.in
./mkConfig.in: line 16: ./debianutils/Config.in: Keine Berechtigung
./archival/Kconfig -> ./archival/Config.in
./mkConfig.in: line 16: ./archival/Config.in: Keine Berechtigung
./coreutils/Kconfig -> ./coreutils/Config.in
./mkConfig.in: line 16: ./coreutils/Config.in: Keine Berechtigung
./libbb/Kconfig -> ./libbb/Config.in
./mkConfig.in: line 16: ./libbb/Config.in: Keine Berechtigung
./util-linux/Kconfig -> ./util-linux/Config.in
./mkConfig.in: line 16: ./util-linux/Config.in: Keine Berechtigung
./shell/Kconfig -> ./shell/Config.in
./mkConfig.in: line 16: ./shell/Config.in: Keine Berechtigung
./e2fsprogs/old_e2fsprogs/Kconfig -> ./e2fsprogs/old_e2fsprogs/Config.in
./mkConfig.in: line 16: ./e2fsprogs/old_e2fsprogs/Config.in: Keine Berechtigung
./e2fsprogs/Kconfig -> ./e2fsprogs/Config.in
./mkConfig.in: line 16: ./e2fsprogs/Config.in: Keine Berechtigung
./loginutils/Kconfig -> ./loginutils/Config.in
./mkConfig.in: line 16: ./loginutils/Config.in: Keine Berechtigung
./Kconfig -> ./Config.in
./mkConfig.in: line 16: ./Config.in: Keine Berechtigung
./miscutils/Kconfig -> ./miscutils/Config.in
./mkConfig.in: line 16: ./miscutils/Config.in: Keine Berechtigung
./procps/Kconfig -> ./procps/Config.in
./mkConfig.in: line 16: ./procps/Config.in: Keine Berechtigung
./init/Kconfig -> ./init/Config.in
./mkConfig.in: line 16: ./init/Config.in: Keine Berechtigung
./findutils/Kconfig -> ./findutils/Config.in
./mkConfig.in: line 16: ./findutils/Config.in: Keine Berechtigung
./networking/Kconfig -> ./networking/Config.in
./mkConfig.in: line 16: ./networking/Config.in: Keine Berechtigung
./networking/udhcp/Kconfig -> ./networking/udhcp/Config.in
./mkConfig.in: line 16: ./networking/udhcp/Config.in: Keine Berechtigung
./console-tools/Kconfig -> ./console-tools/Config.in
./mkConfig.in: line 16: ./console-tools/Config.in: Keine Berechtigung
./runit/Kconfig -> ./runit/Config.in
./mkConfig.in: line 16: ./runit/Config.in: Keine Berechtigung
./sysklogd/Kconfig -> ./sysklogd/Config.in
./mkConfig.in: line 16: ./sysklogd/Config.in: Keine Berechtigung
./editors/Kconfig -> ./editors/Config.in
./mkConfig.in: line 16: ./editors/Config.in: Keine Berechtigung
./selinux/Kconfig -> ./selinux/Config.in
./mkConfig.in: line 16: ./selinux/Config.in: Keine Berechtigung
./modutils/Kconfig -> ./modutils/Config.in
./mkConfig.in: line 16: ./modutils/Config.in: Keine Berechtigung
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/busybox'
[ ! -d "dhcpcd-new" ] || ( touch dhcpcd-new/.sgbuilt_user && make -j1 -C
dhcpcd-new ) || exit $?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/dhcpcd-new'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/dhcpcd-new'
[ ! -d "ftp" ] || ( touch ftp/.sgbuilt_user && make -j1 -C ftp ) || exit $?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/ftp'
for i in ftp ; do make -C $i all ; done
make[5]: Entering directory `/home/u011514/uClinux-dist/user/ftp/ftp'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory `/home/u011514/uClinux-dist/user/ftp/ftp'
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/ftp'
[ ! -d "ftpd" ] || ( touch ftpd/.sgbuilt_user && make -j1 -C ftpd ) || exit $?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/ftpd'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/ftpd'
[ ! -d "games" ] || ( touch games/.sgbuilt_user && make -j1 -C games ) || exit
$?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/games'
for i in dummy ; do \
[ $i = dummy ] || make -C $i || exit ; \
done
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/games'
[ ! -d "gdbserver" ] || ( touch gdbserver/.sgbuilt_user && make -j1 -C
gdbserver ) || exit $?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/gdbserver'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/gdbserver'
[ ! -d "inetd" ] || ( touch inetd/.sgbuilt_user && make -j1 -C inetd ) || exit
$?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/inetd'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/inetd'
[ ! -d "init" ] || ( touch init/.sgbuilt_user && make -j1 -C init ) || exit $?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/init'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/init'
[ ! -d "msntp" ] || ( touch msntp/.sgbuilt_user && make -j1 -C msntp ) || exit
$?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/msntp'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/msntp'
[ ! -d "mtd-utils" ] || ( touch mtd-utils/.sgbuilt_user && make -j1 -C
mtd-utils ) || exit $?
make[4]: Entering directory `/home/u011514/uClinux-dist/user/mtd-utils'
ucfront-gcc arm-linux-gcc -Wl,-elf2flt -msoft-float -D__PIC__ -fpic
-msingle-pic-base -Wl,-elf2flt -msoft-float -D__PIC__ -fpic -msingle-pic-base
-Os -g -fomit-frame-pointer -pipe -msoft-float -fno-common
-fno-builtin -Wall -DEMBED -D__PIC__ -fpic -msingle-pic-base -Dlinux
-D__linux__ -Dunix -D__uClinux__ -D__USE_BSD -I. -o mkfs.jffs2 crc32.o
mkfs.jffs2.o compr_zlib.o compr_rtime.o -lz
/usr/local/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld.real: cannot
find -lz
collect2: ld returned 1 exit status
make[4]: *** [mkfs.jffs2] Fehler 1
make[4]: Leaving directory `/home/u011514/uClinux-dist/user/mtd-utils'
make[3]: *** [mtd-utils] Fehler 2
make[3]: Leaving directory `/home/u011514/uClinux-dist/user'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/u011514/uClinux-dist/user'
make[1]: *** [subdirs] Fehler 1
make[1]: Leaving directory `/home/u011514/uClinux-dist'
make: *** [single] Fehler 2
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev