[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnewsense-dev] compiling icecat on mips
From: |
Zhang Le |
Subject: |
Re: [Gnewsense-dev] compiling icecat on mips |
Date: |
Mon, 27 Apr 2009 21:36:43 +0800 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
On 14:20 Mon 27 Apr , Erwan Lerale wrote:
> Graziano Sorbaioli wrote:
> > I am trying to compile icecat on the yeeloong.
> >
> > I downloaded IceCat 3.0.9-g1 sources here:
> >
> > http://ftp.gnu.org/gnu/gnuzilla/3.0.9-g1/icecat-3.0.9-g1.tar.bz2
> >
> >
> > Giuseppe Scrivano told me a simple ./configure && make should be fine so
> > that is what I did.
> >
> > The first time I received this configure error:
> >
> > \\\\\\\\\\\\\\
> > configure: error: --enable-application=APP was not specified and is
> > required
> > \\\\\\\\\\\\\\\\\\
> >
> >
> > After a reboot the error was gone but I found another one:
> >
> >
> > \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> > Library requirements (gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 gdk-x11-2.0
> > glib-2.0 gobject-2.0) not met
> >
> > consider adjusting the PKG_CONFIG_PATH enviroment variable if your
> > libraries are in a nonstandard prefix so pkg-config can find them
> > \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> >
> >
> > Maybe I have unmet dependencies but as you may know I can't connect with
> > my yeeloong due to the famous wvdial bug:
> >
> > http://bugs.gnewsense.org/Bugs/00261
> >
> >
> > Giuseppe told me the dependencies of the .deb package:
> >
> > Build-Depends: debhelper, autotools-dev, libgtk2.0-dev,
> > libcairo2-dev, zlib1g-dev, libjpeg62-dev, libpng12-dev,
> > libxft-dev, zip, libdbus-glib-1-dev, libidl-dev,
> > python-dev,
> > libx11-dev, libxt-dev, libxcb1-dev
> >
> >
> >
> > Could someone with a reliable internet connection try to compile icecat
> > on the yeeloong and tell what he finds out?
> >
> >
> > Thank you.
> >
>
>
> Hello,
>
> I have tried to compile it. The configure is working fine but the make
> is failing here :
>
> make[7]: Entering directory
> `/home/erwan/icecat-3.0.9-g1/xpcom/reflect/xptcall/src/md'
> make[8]: Entering directory
> `/home/erwan/icecat-3.0.9-g1/xpcom/reflect/xptcall/src/md/unix'
> xptcinvoke_mips.cpp
> c++ -o xptcinvoke_mips.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API
> -DOSTYPE=\"Linux2.6.27\" -DOSARCH=Linux -DEXPORT_XPTC_API -D_IMPL_NS_COM
> -I./../.. -I./../../../../xptinfo/src -I. -I.
> -I../../../../../../dist/include/string
> -I../../../../../../dist/include
> -I../../../../../../dist/include/xpcom
> -I../../../../../../dist/include/nspr -fPIC -fno-rtti
> -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual
> -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
> -Wno-long-long -pedantic -fno-strict-aliasing -Wa,-xgot -fshort-wchar
> -pthread -pipe -DNDEBUG -DTRIMMED -pipe -O2 -DMOZILLA_CLIENT -include
> ../../../../../../mozilla-config.h -Wp,-MD,.deps/xptcinvoke_mips.pp
> xptcinvoke_mips.cpp
> xptcinvoke_mips.cpp: In function ‘void invoke_copy_to_stack(PRUint32*,
> PRUint32, nsXPTCVariant*)’:
> xptcinvoke_mips.cpp:97: warning: cast from ‘PRUint32*’ to ‘PRInt64*’
> increases required alignment of target type
> xptcinvoke_mips.cpp:101: warning: cast from ‘PRUint32*’ to ‘PRUint64*’
> increases required alignment of target type
> xptcinvoke_mips.cpp:105: warning: cast from ‘PRUint32*’ to ‘double*’
> increases required alignment of target type
> xptcinvoke_mips.cpp: At global scope:
> xptcinvoke_mips.cpp:117: error: expected constructor, destructor, or
> type conversion before ‘XPTC_InvokeByIndex’
> make[8]: *** [xptcinvoke_mips.o] Error 1
> make[8]: Leaving directory
> `/home/erwan/icecat-3.0.9-g1/xpcom/reflect/xptcall/src/md/unix'
> make[7]: *** [libs] Error 2
> make[7]: Leaving directory
> `/home/erwan/icecat-3.0.9-g1/xpcom/reflect/xptcall/src/md'
> make[6]: *** [libs] Error 2
> make[6]: Leaving directory
> `/home/erwan/icecat-3.0.9-g1/xpcom/reflect/xptcall/src'
> make[5]: *** [libs] Error 2
> make[5]: Leaving directory
> `/home/erwan/icecat-3.0.9-g1/xpcom/reflect/xptcall'
> make[4]: *** [libs] Error 2
> make[4]: Leaving directory `/home/erwan/icecat-3.0.9-g1/xpcom/reflect'
> make[3]: *** [libs] Error 2
> make[3]: Leaving directory `/home/erwan/icecat-3.0.9-g1/xpcom'
> make[2]: *** [libs_tier_xpcom] Error 2
> make[2]: Leaving directory `/home/erwan/icecat-3.0.9-g1'
> make[1]: *** [tier_xpcom] Error 2
> make[1]: Leaving directory `/home/erwan/icecat-3.0.9-g1'
> make: *** [default] Error 2
>
> Cheers
> Erwan
You need this:
https://bugzilla.mozilla.org/show_bug.cgi?id=482759
Since gnewsense mips port use O32 ABI, only the O32 patch is enough.
--
Zhang, Le
Gentoo/Loongson Developer
http://zhangle.is-a-geek.org
0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973
pgpftuuMNVASi.pgp
Description: PGP signature