Hi,
    
     Thanks! Yes, I saw you mentioned on 
http://mail.directfb.org/pipermail/directfb-dev/2007-April/002992.html, while 
they were discussing after mozilla ported. Though, I'm still in compiling 
progress...
     My .mozconfig got a error, after fixed this, I can make further now.
        
    host and target should be configured like:
    ac_add_options --host=386-linux
    ac_add_options --target=mipsel-linux

      Another error came up with:
mipsel-linux-gnu-g++   -fno-rtti -fno-exceptions -Wall -Wconversion 
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -Wa,-xgot -pthread 
-pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O -o xpcshell 
xpcshell.o  -L/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/lib 
-L/home/IPTV/stb810-SP5/build/staging/usr/local/lib          
-L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lmozjs 
-L../../../../dist/bin -lxpcom -lxpcom_core  -L../../../../dist/lib -lplds4 
-lplc4 -lnspr4 -L/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/lib 
-L/home/IPTV/stb810-SP5/build/staging/usr/local/lib -lpthread -ldl  -ldl -lm
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub203()'
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub156()'
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub65()'
.......................................(hundred of similar errors)
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub125()'
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub10()'
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub165()'
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub102()'
../../../../dist/bin/libxpcom_core.so: undefined reference to 
`nsXPTCStubBase::Stub229()'
collect2: ld returned 1 exit status
gmake[4]: *** [xpcshell] Error 1
gmake[4]: Leaving directory 
`/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/src/mozilla/js/src/xpconnect/shell'
    
        Please help me!



thomas liu
2007-05-18



发件人: Kumar Siddharth
发送时间: 2007-05-18 17:10:40
收件人: thomas liu; directfb-dev
抄送: 
主题: Re: [directfb-dev] Porting mozilla over GTK-DFB on Mips

Hi,

Some people have got it working on their MIPS AMD machine. Try searching for 
"TestGtkEmbed on MIPS over DirectFB" in the List or Google. This may help. Keep 
us posted also.

Reagrds,
Siddharth
TATA Elxsi
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of thomas liu
Sent: Friday, May 18, 2007 11:31 AM
To: directfb-dev
Subject: Re: [directfb-dev] Porting mozilla over GTK-DFB on Mips


I changed my mozconfig to:

mk_add_options MOZ_CO_PROJECT=browser
CROSS_COMPILE=1 
LIBIDL_CONFIG=/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/bin/libIDL-config-2
 
HOST_LIBIDL_CONFIG=/usr/bin/libIDL-config-2 

ac_add_options --host=mipsel-linux
ac_add_options --build=i386-linux
ac_add_options --target=i386-linux
ac_add_options --enable-application=browser
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-pedantic
ac_add_options --prefix=$PREFIX
ac_add_options --enable-debug
ac_add_options --without-x
ac_add_options --disable-gtktest
ac_add_options --disable-tests
ac_add_options --enable-pango
ac_add_options --disable-xft
ac_add_options --enable-extensions=default,spatialnavigation
ac_add_options --disable-xinerama
ac_add_options --enable-directfb
ac_add_options --without-system-nspr
ac_add_options --disable-pedantic
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --disable-ldap
ac_add_options --disable-xprint

ac_add_options --disable-accessibility 
ac_add_options --disable-postscript 
ac_add_options --disable-mathml 
ac_add_options --disable-jsd 
ac_add_options --disable-jsloader 
ac_add_options --disable-installer 
ac_add_options --disable-xpfe-components 
ac_add_options --disable-necko-disk-cache 
ac_add_options --disable-plugins 
ac_add_options --disable-dtd-debug 
ac_add_options --disable-logging 
ac_add_options --disable-xpcom-obsolete 
ac_add_options --enable-optimize=-Os 
ac_add_options --disable-strip

then type "make -f client.mk build", messed up with error:

mipsel-linux-gnu-gcc -o os_Linux_x86.o     
-I/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/include 
-I/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/lib/glib-2.0/include 
-I/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/include/glib-2.0 
-I/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/include/libIDL-2.0 -ansi 
-Wall -pthread -Os -g -fno-inline -fPIC  -UNDEBUG -DDEBUG_root  
-DMOZILLA_CLIENT=1 -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 
-D_POSIX_SOURCE=1 -D_BSD_SOURCE=1 -D_SVID_SOURCE=1 -D_LARGEFILE64_SOURCE=1 
-DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -Di386=1 -DHAVE_LCHOWN=1 
-DHAVE_STRERROR=1 -D_REENTRANT=1  -DFORCE_PR_LOG -D_PR_PTHREADS 
-UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ 
-I/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/src/mozilla/dist/include/nspr
 -I../../../../pr/include -I../../../../pr/include/private  -c os_Linux_x86.s
os_Linux_x86.s: Assembler messages:
os_Linux_x86.s:1: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:1: Error: unrecognized opcode `tab-width:4'
os_Linux_x86.s:1: Error: unrecognized opcode `indent-tabs-mode:nil'
os_Linux_x86.s:1: Error: unrecognized opcode `c-basic-offset:2 -*-'
os_Linux_x86.s:2: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:3: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:4: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:4: Error: unrecognized opcode `you may not use this file'
os_Linux_x86.s:5: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:6: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:7: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:8: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:9: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:10: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:11: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:12: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:13: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:14: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:15: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:16: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:17: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:18: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:19: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:20: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:21: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:22: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:23: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:24: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:25: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:26: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:27: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:28: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:29: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:30: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:31: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:32: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:33: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:35: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:36: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:37: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:38: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:39: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:44: Error: unrecognized opcode `movl 4(%esp),%ecx'
os_Linux_x86.s:45: Error: unrecognized opcode `movl $1,%eax'
os_Linux_x86.s:46: Error: unrecognized opcode `lock'
os_Linux_x86.s:47: Error: unrecognized opcode `xaddl %eax,(%ecx)'
os_Linux_x86.s:48: Error: unrecognized opcode `incl %eax'
os_Linux_x86.s:49: Error: unrecognized opcode `ret'
os_Linux_x86.s:51: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:52: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:53: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:54: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:55: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:60: Error: unrecognized opcode `movl 4(%esp),%ecx'
os_Linux_x86.s:61: Error: unrecognized opcode `movl $-1,%eax'
os_Linux_x86.s:62: Error: unrecognized opcode `lock'
os_Linux_x86.s:63: Error: unrecognized opcode `xaddl %eax,(%ecx)'
os_Linux_x86.s:64: Error: unrecognized opcode `decl %eax'
os_Linux_x86.s:65: Error: unrecognized opcode `ret'
os_Linux_x86.s:67: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:68: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:69: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:70: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:71: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:72: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:73: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:74: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:75: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:76: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:77: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:78: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:79: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:80: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:81: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:82: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:83: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:84: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:85: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:90: Error: unrecognized opcode `movl 4(%esp),%ecx'
os_Linux_x86.s:91: Error: unrecognized opcode `movl 8(%esp),%eax'
os_Linux_x86.s:92: Error: unrecognized opcode `lock'
os_Linux_x86.s:93: Error: unrecognized opcode `xchgl %eax,(%ecx)'
os_Linux_x86.s:94: Error: unrecognized opcode `ret'
os_Linux_x86.s:96: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:97: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:98: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:99: Error: junk at end of line, first unrecognized character is 
`/'
os_Linux_x86.s:104: Error: unrecognized opcode `movl 4(%esp),%ecx'
os_Linux_x86.s:105: Error: unrecognized opcode `movl 8(%esp),%eax'
os_Linux_x86.s:106: Error: unrecognized opcode `movl %eax,%edx'
os_Linux_x86.s:107: Error: unrecognized opcode `lock'
os_Linux_x86.s:108: Error: unrecognized opcode `xaddl %eax,(%ecx)'
os_Linux_x86.s:109: Error: unrecognized opcode `addl %edx,%eax'
os_Linux_x86.s:110: Error: unrecognized opcode `ret'
os_Linux_x86.s:112: Error: junk at end of line, first unrecognized character is 
`/'
gmake[7]: *** [os_Linux_x86.o] Error 1
gmake[7]: Leaving directory 
`/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/src/mozilla/nsprpub/pr/src/md/unix'


 So, to build x86 assembly is not supported by mips cross compiler? 

Any help is appreciated.





thomas liu
2007-05-18



发件人: thomas liu
发送时间: 2007-05-17 19:53:29
收件人: directfb-dev
抄送: 
主题: [directfb-dev] Porting mozilla over GTK-DFB on Mips

Hi,

    Have you been able to port mozilla over GTK-DFB on Mips? 
    I setup gtk1.10.1 and try to compile firefox1.5.03 with DFB patch, faced a 
hell of errors.
    Here is my mozconfig:
###########################################
mk_add_options MOZ_CO_PROJECT=browser
CROSS_COMPILE=1 
LIBIDL_CONFIG=/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/bin/libIDL-config-2
 
HOST_LIBIDL_CONFIG=/usr/bin/libIDL-config-2 
ac_add_options --enable-application=browser 
ac_add_options --enable-default-toolkit=gtk2 
ac_add_options --disable-pedantic 
ac_add_options --prefix=$PREFIX 
ac_add_options --enable-debug 
ac_add_options --without-x 
ac_add_options --disable-gtktest 
ac_add_options --disable-tests 
ac_add_options --disable-plugins 
ac_add_options --enable-pango 
ac_add_options --disable-xft 
ac_add_options --enable-extensions=default,spatialnavigation 
ac_add_options --disable-xinerama 
ac_add_options --enable-directfb 
ac_add_options --disable-composer
ac_add_options --disable-ldap
ac_add_options --disable-xprint
ac_add_options 
--includedir=/home/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/include
ac_add_options --without-system-nspr
ac_add_options --without-system-jpeg
ac_add_options 
--with-system-zlib=/home/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/lib 
ac_add_options 
--with-system-png=/home/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/lib 
ac_add_options --enable-debug=-g 
ac_add_options --enable-logging 
ac_add_options --build=i386-linux
ac_add_options --host=mipsel-linux
ac_add_options --target=mipsel-linux
ac_add_options --disable-accessibility 
ac_add_options --disable-postscript 
ac_add_options --disable-mathml 
ac_add_options --disable-jsd 
ac_add_options --disable-jsloader 
ac_add_options --disable-installer 
ac_add_options --disable-xpfe-components 
ac_add_options --disable-necko-disk-cache 
ac_add_options --enable-necko-small-buffers 
ac_add_options --disable-dtd-debug 
ac_add_options --enable-necko-protocols=http,file,res 
ac_add_options --disable-xpcom-obsolete 
ac_add_options --enable-optimize=-Os 
ac_add_options --disable-strip 
ac_add_options --enable-plaintext-editor-only
ac_add_options --libdir=$PREFIX/lib
ac_add_options --includedir=$PREFIX/include
ac_add_options --with-ft-prefix=$PREFIX
ac_add_options --disable-freetypetest
ac_add_options --without-java
ac_add_options --disable-xpfe-components
ac_add_options --disable-xpinstall
ac_add_options --disable-javaxpcom
ac_add_options --disable-updater
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --with-libIDL-prefix=$PREFIX
ac_add_options --disable-libIDLtest
ac_add_options --with-glib-prefix=$PREFIX
ac_add_options --disable-glibtest
ac_add_options --enable-system-cairo 
###########################################
 and my configuration is like this: ./configure  --host=mipsel-linux 
--build=i386-linux

I got errors like "FILE IN WRONG FORMAT " or "can't excute binary file" as they 
are from Cross-Compilation.
I tried to compile them with gcc to make it build further but bringed more new 
problem, so I'm wondering if I got configure errors.
Please help me!




thomas liu
2007-05-18
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to