[Clfs-dev] Clfs-dev Digest, Vol 15, Issue 3

binghoo dang dangbinghoo at gmail.com
Sun Jan 4 17:42:13 PST 2009


#Re: [Clfs-dev] Cross-Compiled Linux From Scratch -
       Embedded:unable to build uClibc-0.9.30


Just forget that '-m32', it is just for the CPU which both have a 32bit and
64bit model, it is not suitable for ARM family, ARM
are all 32bits.

Good luck!



2009/1/4 <clfs-dev-request at lists.cross-lfs.org>

> Send Clfs-dev mailing list submissions to
>        clfs-dev at lists.cross-lfs.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
> or, via email, send a message with subject or body 'help' to
>        clfs-dev-request at lists.cross-lfs.org
>
> You can reach the person managing the list at
>        clfs-dev-owner at lists.cross-lfs.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Clfs-dev digest..."
>
>
> Today's Topics:
>
>   1. Re: Cross-Compiled Linux From Scratch - Embedded:unable to
>      build uClibc-0.9.30 (giuseppe marchi)
>   2. Re: firefox-3.0.4 build fails on ps3 - multi-lib 32
>      (John Frankish)
>   3. CLFS Render Error on quandary.cross-lfs.org
>      (cross-lfs at knierim.org)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 2 Jan 2009 22:30:27 +0100
> From: giuseppe marchi <joshua777 at live.it>
> Subject: Re: [Clfs-dev] Cross-Compiled Linux From Scratch -
>        Embedded:unable to build uClibc-0.9.30
> To: <clfs-dev at lists.cross-lfs.org>
> Message-ID: <BLU122-W45101E88AEF4BD99448910E2E20 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> >Check your $CLFS-TARGET settings, don't use the host CC to compile the
> >target program.Hi,
> thanks for your reply,
> i followed your advise but look below:
>
> clfs:/mnt/clfs/sources/uClibc-0.9.30-rc3$ echo $CLFS_TARGET
> armv5l-unknown-linux-uclibc
>
> This imply i use the right compiler.
> Everywhere if i type:
>
> clfs:/mnt/clfs/sources/uClibc-0.9.30-rc3$ make
> CC="armv5l-unknown-linux-uclibc-gcc -m32"
>  CC ldso/ldso/ldso.oS
> cc1: error: unrecognized command line option "-m32"
>
> i obtain the same error.
> Why i have to set BUILD=-m32 if the cross-compiler don't recognize that
> option?
> Can you tell me which value use for BUILD variable,please?
> Thanks Peppe.
>
>
>
> _________________________________________________________________
> Non solo parole. Scopri le nuove funzionalit? di Windows Live.
> http://www.microsoft.com/windows/windowslive/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/attachments/20090102/a2e05a6a/attachment.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 03 Jan 2009 09:07:54 +0400
> From: John Frankish <frankish at dubai.oilfield.slb.com>
> Subject: Re: [Clfs-dev] firefox-3.0.4 build fails on ps3 - multi-lib
>        32
> To: CLFS development discussion <clfs-dev at lists.cross-lfs.org>
> Message-ID: <0KCV00HOKQID7P20 at gb0135mbx01.mail.slb.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> At 17:20 02-01-09, Joe Ciccone wrote:
> >John Frankish wrote:
> > > building firefox-3.0.4 on a ps3 fails (multi-lib 32) with the error
> below
> > >
> > > Google has some patches for a NetBSD build but not for ppc/ps3
> > >
> > > Did anybody else see this problem?
> > >
> > > John
> > > --------------
> > > # make -f client.mk OS_TEST=ppc build
> >I was just looking through the firefox source, it looks like there's a
> >inconsistency in the firefox source. CBLFS has this:
> >
> >make -f client.mk OS_TEST=powerpc build
> >
> >make -f client.mk OS_TEST=ppc install
> >
> >I see the following in the configure script:
> >configure:5406: OS_TEST=ppc
> >configure.in:1228: OS_TEST=ppc
> >
> >Then in the makefile i see this conditional:
> >xpcom/reflect/xptcall/src/md/unix/Makefile.in:314:ifeq
> >($(OS_ARCH)$(OS_TEST),Linuxpowerpc)
> >xpcom/reflect/xptcall/src/md/unix/Makefile.in:323:ifeq
> >($(OS_ARCH)$(OS_TEST),Linuxpowerpc64)
> >
> >Try running this sed and then use the following two commands to build
> >and install:
> >
> >sed -i "/OS_TEST/s/Linuxpowerpc/Linuxppc/"
> >xpcom/reflect/xptcall/src/md/unix/Makefile.in &&
> >make -f client.mk OS_TEST=ppc build &&
> >make -f client.mk OS_TEST=ppc install
> >
> >This should fix the same compilation issue on ppc64 aswell.
>
> Thanks - that did the trick
>
> John
>
> > > ...
> > > make[7]: Entering directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/public'
> > >
> > > Creating .deps
> > > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > > 644 /sources/mozilla/xpcom/reflect/xptinfo/public/xptinfo.h
> > > ../../../../dist/include/xpcom
> > > Creating _xpidlgen/.done
> > > nsIInterfaceInfo.idl
> > > ../../../../dist/bin/xpidl -m header -w
> > > -I/sources/mozilla/xpcom/reflect/xptinfo/public -I../../../../dist/idl
> > > -o _xpidlgen/nsIInterfaceInfo
> > > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl
> > > nsIInterfaceInfoManager.idl
> > > ../../../../dist/bin/xpidl -m header -w
> > > -I/sources/mozilla/xpcom/reflect/xptinfo/public -I../../../../dist/idl
> > > -o _xpidlgen/nsIInterfaceInfoManager
> > >
> /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
> > > nsIXPTLoader.idl
> > > ../../../../dist/bin/xpidl -m header -w
> > > -I/sources/mozilla/xpcom/reflect/xptinfo/public -I../../../../dist/idl
> > > -o _xpidlgen/nsIXPTLoader
> > > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIXPTLoader.idl
> > > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > > 644 /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl
> > >
> /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
> > > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIXPTLoader.idl
> > > ../../../../dist/idl
> > > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > > 644 _xpidlgen/nsIInterfaceInfo.h _xpidlgen/nsIInterfaceInfoManager.h
> > > _xpidlgen/nsIXPTLoader.h ../../../../dist/include/xpcom
> > > make[7]: Leaving directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/public'
> > >
> > > make[7]: Entering directory
> > >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/src'
> > >
> > > Creating .deps
> > > make[7]: Leaving directory
> > >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/src'
> > >
> > > make[6]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo'
> > > make[6]: Entering directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall'
> > > make[7]: Entering directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/public'
> > >
> > > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > > 644 /sources/mozilla/xpcom/reflect/xptcall/public/xptcall.h
> > > /sources/mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc
> > > /sources/mozilla/xpcom/reflect/xptcall/public/xptcstubsdef.inc
> > > ../../../../dist/include/xpcom
> > > make[7]: Leaving directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/public'
> > >
> > > make[7]: Entering directory
> > >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src'
> > >
> > > Creating .deps
> > > make[8]: Entering directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md'
> > >
> > > make[9]: Entering directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md/unix'
> > >
> > > /sources/mozilla/config/rules.mk:294: *** XPTCall not implemented on
> > > this platform!. Stop.
> > > make[9]: Leaving directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md/unix'
> > >
> > > make[8]: *** [export] Error 2
> > > make[8]: Leaving directory
> > >
> >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md'
> > >
> > > make[7]: *** [export] Error 2
> > > make[7]: Leaving directory
> > >
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src'
> > >
> > > make[6]: *** [export] Error 2
> > > make[6]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall'
> > > make[5]: *** [export] Error 2
> > > make[5]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect'
> > > make[4]: *** [export] Error 2
> > > make[4]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom'
> > > make[3]: *** [export_tier_xpcom] Error 2
> > > make[3]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu'
> > > make[2]: *** [tier_xpcom] Error 2
> > > make[2]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu'
> > > make[1]: *** [default] Error 2
> > > make[1]: Leaving directory
> > > `/sources/mozilla/obj-powerpc-unknown-linux-gnu'
> > > make: *** [build] Error 2
> > >
> > > _______________________________________________
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat,  3 Jan 2009 18:00:14 +0000 (GMT)
> From: cross-lfs at knierim.org
> Subject: [Clfs-dev] CLFS Render Error on quandary.cross-lfs.org
> To: clfs-dev at lists.cross-lfs.org
> Message-ID: <20090103180014.F3092BFEC at mail.lfs-matrix.net>
>
> CLFS-SYSROOT-SVN-0.0.1-20090103
>
> Creating and cleaning /home/justin/tmp
> Validating alpha book...
> Validating arm book...
> Validating hppa book...
> /tmp/clfsexport/introduction/common/changelog.xml:54: parser error :
> Opening and ending tag mismatch: listitem line 50 and itemizedlist
>      </itemizedlist>
>                     ^
> /tmp/clfsexport/introduction/common/changelog.xml:1112: parser error :
> Opening and ending tag mismatch: listitem line 39 and sect1
> </sect1>
>        ^
> /tmp/clfsexport/introduction/common/changelog.xml:1113: parser error :
> Premature end of data in tag itemizedlist line 21
>
> ^
> /tmp/clfsexport/introduction/common/changelog.xml:1113: parser error :
> Premature end of data in tag sect1 line 8
>
> ^
> /tmp/clfsexport/introduction/alpha-chapter.xml:20: element include:
> XInclude error : could not load
> /tmp/clfsexport/introduction/common/changelog.xml, and no fallback was found
> /tmp/clfsexport/introduction/common/changelog.xml:54: parser error :
> Opening and ending tag mismatch: listitem line 50 and itemizedlist
>      </itemizedlist>
>                     ^
> /tmp/clfsexport/introduction/common/changelog.xml:1112: parser error :
> Opening and ending tag mismatch: listitem line 39 and sect1
> </sect1>
>        ^
> /tmp/clfsexport/introduction/common/changelog.xml:1113: parser error :
> Premature end of data in tag itemizedlist line 21
>
> ^
> /tmp/clfsexport/introduction/common/changelog.xml:1113: parser error :
> Premature end of data in tag sect1 line 8
>
> ^
> /tmp/clfsexport/introduction/arm-chapter.xml:20: element include: XInclude
> error : could not load /tmp/clfsexport/introduction/common/changelog.xml,
> and no fallback was found
> /tmp/clfsexport/introduction/common/changelog.xml:54: parser error :
> Opening and ending tag mismatch: listitem line 50 and itemizedlist
>      </itemizedlist>
>                     ^
> /tmp/clfsexport/introduction/common/changelog.xml:1112: parser error :
> Opening and ending tag mismatch: listitem line 39 and sect1
> </sect1>
>        ^
> /tmp/clfsexport/introduction/common/changelog.xml:1113: parser error :
> Premature end of data in tag itemizedlist line 21
>
> ^
> /tmp/clfsexport/introduction/common/changelog.xml:1113: parser error :
> Premature end of data in tag sect1 line 8
>
> ^
> /tmp/clfsexport/introduction/hppa-chapter.xml:20: element include: XInclude
> error : could not load /tmp/clfsexport/introduction/common/changelog.xml,
> and no fallback was found
> introduction/arm-chapter.xml:8: element chapter: validity error : Element
> chapter content does not follow the DTD, expecting (beginpage? ,
> chapterinfo? , (title , subtitle? , titleabbrev?) , (toc | lot | index |
> glossary | bibliography)* , tocchap? , (((calloutlist | glosslist |
> bibliolist | itemizedlist | orderedlist | segmentedlist | simplelist |
> variablelist | caution | important | note | tip | warning | literallayout |
> programlisting | programlistingco | screen | screenco | screenshot |
> synopsis | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis |
> constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara |
> para | simpara | address | blockquote | graphic | graphicco | mediaobject |
> mediaobjectco | informalequation | informalexample | informalfigure |
> informaltable | equation | example | figure | table | msgset | procedure |
> sidebar | qandaset | task | anchor | bridgehead | remark | highlights |
> abstract | authorblurb | epigraph | indexterm | beginpag
>  e)+ , (sect1* | refentry* | simplesect* | section*)) | sect1+ | refentry+
> | simplesect+ | section+) , (toc | lot | index | glossary | bibliography)*),
> got (title sect1 sect1 xi:include sect1 sect1 sect1 )
> introduction/arm-chapter.xml:20: element include: validity error : No
> declaration for element include
> introduction/arm-chapter.xml:20: element include: validity error : No
> declaration for attribute href of element include
> introduction/arm-chapter.xml:20: element include: validity error : No
> declaration for attribute xmlns:xi of element include
> /tmp/clfsexport/arm-index.xml:14: element xref: validity error : IDREF
> attribute linkend references an unknown ID "ch-intro-changelog"
> Document /tmp/clfsexport/arm-index.xml does not validate
> make: *** [arm-html] Error 3
> make: *** Waiting for unfinished jobs....
> introduction/alpha-chapter.xml:8: element chapter: validity error : Element
> chapter content does not follow the DTD, expecting (beginpage? ,
> chapterinfo? , (title , subtitle? , titleabbrev?) , (toc | lot | index |
> glossary | bibliography)* , tocchap? , (((calloutlist | glosslist |
> bibliolist | itemizedlist | orderedlist | segmentedlist | simplelist |
> variablelist | caution | important | note | tip | warning | literallayout |
> programlisting | programlistingco | screen | screenco | screenshot |
> synopsis | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis |
> constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara |
> para | simpara | address | blockquote | graphic | graphicco | mediaobject |
> mediaobjectco | informalequation | informalexample | informalfigure |
> informaltable | equation | example | figure | table | msgset | procedure |
> sidebar | qandaset | task | anchor | bridgehead | remark | highlights |
> abstract | authorblurb | epigraph | indexterm | beginp
>  age)+ , (sect1* | refentry* | simplesect* | section*)) | sect1+ |
> refentry+ | simplesect+ | section+) , (toc | lot | index | glossary |
> bibliography)*), got (title sect1 sect1 xi:include sect1 sect1 sect1 )
> introduction/alpha-chapter.xml:20: element include: validity error : No
> declaration for element include
> introduction/alpha-chapter.xml:20: element include: validity error : No
> declaration for attribute href of element include
> introduction/alpha-chapter.xml:20: element include: validity error : No
> declaration for attribute xmlns:xi of element include
> /tmp/clfsexport/alpha-index.xml:14: element xref: validity error : IDREF
> attribute linkend references an unknown ID "ch-intro-changelog"
> Document /tmp/clfsexport/alpha-index.xml does not validate
> make: *** [alpha-html] Error 3
> introduction/hppa-chapter.xml:8: element chapter: validity error : Element
> chapter content does not follow the DTD, expecting (beginpage? ,
> chapterinfo? , (title , subtitle? , titleabbrev?) , (toc | lot | index |
> glossary | bibliography)* , tocchap? , (((calloutlist | glosslist |
> bibliolist | itemizedlist | orderedlist | segmentedlist | simplelist |
> variablelist | caution | important | note | tip | warning | literallayout |
> programlisting | programlistingco | screen | screenco | screenshot |
> synopsis | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis |
> constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara |
> para | simpara | address | blockquote | graphic | graphicco | mediaobject |
> mediaobjectco | informalequation | informalexample | informalfigure |
> informaltable | equation | example | figure | table | msgset | procedure |
> sidebar | qandaset | task | anchor | bridgehead | remark | highlights |
> abstract | authorblurb | epigraph | indexterm | beginpa
>  ge)+ , (sect1* | refentry* | simplesect* | section*)) | sect1+ | refentry+
> | simplesect+ | section+) , (toc | lot | index | glossary | bibliography)*),
> got (title sect1 sect1 xi:include sect1 sect1 sect1 )
> introduction/hppa-chapter.xml:20: element include: validity error : No
> declaration for element include
> introduction/hppa-chapter.xml:20: element include: validity error : No
> declaration for attribute href of element include
> introduction/hppa-chapter.xml:20: element include: validity error : No
> declaration for attribute xmlns:xi of element include
> /tmp/clfsexport/hppa-index.xml:14: element xref: validity error : IDREF
> attribute linkend references an unknown ID "ch-intro-changelog"
> Document /tmp/clfsexport/hppa-index.xml does not validate
> make: *** [hppa-html] Error 3
>
>
> ------------------------------
>
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
>
> End of Clfs-dev Digest, Vol 15, Issue 3
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20090105/bc79b36a/attachment.html>


More information about the Clfs-dev mailing list