阅读:15759回复:16
交叉编译firefox,出现如下错误 ,请大家帮忙看看
checking for stdint.h... yes
checking for inttypes.h... yes checking for sys/int_types.h... no configure: error: Could not compile basic X program. .mozille// BS=-lsupc++ mk_add_options MOZ_CO_PROJECT=browser ac_add_options --enable-application=browser ac_add_options --prefix=/usr/local/ofb_Next ac_add_options --target=arm-linux ac_add_options --host=arm-linux ac_add_options --enable-default-toolkit=gtk2 ac_add_options --disable-pedantic 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 ac_add_options --disable-xinerama ac_add_options --enable-directfb ac_add_options --without-system-nspr 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 --enable-necko-small-buffers ac_add_options --disable-dtd-debug ac_add_options --disable-logging ac_add_options --enable-necko-protocols=http,file,res ac_add_options --enable-xpcom-obsolete ac_add_options --enable-optimize=-Os ac_add_options --enable-strip ac_add_options --enable-plaintext-editor-only ac_add_options --disable-mailnews |
|
1楼#
发布于:2009-03-31 16:18
X11,在液晶屏上怎么设置?
以上问题我想是X设置问题,但不知道如何设置。
我板是液晶屏,而配置感觉 都是显示器的选项。 |
|
2楼#
发布于:2009-03-31 16:18
晕了,编译完成了无法运行。帮忙看看。
都编译完成了,现在想在板上测试。
先是想运行gtk-dem.说是显示问题,先要运行X bash-3.2# gtk-demo (gtk-demo:369): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0) (gtk-demo:369): Gtk-WARNING **: cannot open display: 运行xf86cfg出错。 bash-3.2# xf86cfg XFree86 Version 4.6.0 Release Date: 10 May 2006 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.23.1-42.fc8 i686 [ELF] Current Operating System: Linux 192.168.1.120 2.6.12-h1940 #33 Thu Feb 19 11:01l Build Date: 3 April 2009 Changelog Date: 10 May 2006 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present Command line: /usr/local/X11/bin/XFree86 :8 -configure Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (EE) error, (WW) warning, (II) informational, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.8.log", Time: Thu Jan 1 00:09:08 1970 *** If unresolved symbols were reported above, they might not *** be the reason for the server aborting. Caught signal 11. Stack trace: Fatal server error: Server aborting When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.8.log". Please report problems to <!-- e --><a href="mailto:xfree86@xfree86.org">xfree86@xfree86.org</a><!-- e -->. Aborted Failed to run "X -configure". |
|
3楼#
发布于:2009-03-31 16:18
gtk+X11编译完成,开始firefox编译
有相同项目的一起讨论,我QQ 282713089 |
|
4楼#
发布于:2009-03-31 16:18
你好,我最近也開始在ARM上交叉編譯FIREFOX,你QQ多少,大家可以一起討論。
|
|
5楼#
发布于:2009-03-31 16:18
编译tinyX完成。
1、编辑armtinyx/programs/Xserver/hw/xfree86/common/compiler.h,删除outb之类的空函数。
2、字体问题,采用ln -s /usr/lib/ 目前下两个文件。 |
|
6楼#
发布于:2009-03-31 16:18
通过修改host.def
目前继续走,
存在问题: arm-linux-gcc -I/usr/local/X11/include/ncurses -I/usr/local/X11 -c -Os -ansi -Wall -Wpointer-arith -Wundef -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/include -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared/drm/kernel -I../../../../../../exports/include -Dlinux -D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DUSE_DYNAMIC_LC -DUSE_UTF8_LOADER -DUSE_DYNAMIC_LOADER -DSHAPE -DXINPUT -DXKB -DXCSECURITY -DXSYNC -DXF86BIGFONT -DDPMSExtension -DBIGREQS -DPANORAMIX -DRENDER -DRANDR -DRES -DPIXPRIV -DNDEBUG -DNEED_STRLCAT -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFree86LOADER -DXFree86Server -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO -DUSESTDRES lnx_init.c In file included from ../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:102, from ../../../../../../programs/Xserver/hw/xfree86/common/xf86.h:104, from lnx_init.c:32: ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `unsigned' ../../../../../../programs/Xserver/include/misc.h:76: error: two or more data types in declaration of `globalSerialNumber' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `unsigned' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `__inline__' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `static' ../../../../../../programs/Xserver/include/misc.h:76: error: two or more data types in declaration of `globalSerialNumber' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `unsigned' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `__inline__' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `static' ../../../../../../programs/Xserver/include/misc.h:76: error: two or more data types in declaration of `globalSerialNumber' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `__inline__' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `static' ../../../../../../programs/Xserver/include/misc.h:76: error: two or more data types in declaration of `globalSerialNumber' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `__inline__' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `static' ../../../../../../programs/Xserver/include/misc.h:76: error: two or more data types in declaration of `globalSerialNumber' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `__inline__' ../../../../../../programs/Xserver/include/misc.h:76: error: duplicate `static' ../../../../../../programs/Xserver/include/misc.h:76: error: multiple storage classes in declaration of `globalSerialNumber' ../../../../../../programs/Xserver/include/misc.h:76: warning: variable 'globalSerialNumber' declared `inline' |
|
7楼#
发布于:2009-03-31 16:18
本社区移植资料没找到。
平台是自己搭建的,内核是2.6.23,文件系统是基于busybox制作。 |
|
8楼#
发布于:2009-03-31 16:18
是的
1、webkit编译通过了,但flash插件无法移植。
2、单独 libfad(flash插件)已经可运行。webkit无法调用,有资料说要重新开发接口,调研一周无果而终。 3、昨天下午我计划改走基于X11的firefox。 现在走到TinyX安装,也存在问题。 ./config/imake/imake: cannot execute binary file 版主有没有什么成功的案例,提供参考。 我需要的功能:访问网页(浏览器),网页上带flash动画(flash播放插件) |
|
9楼#
发布于:2009-03-31 16:18
或许webkit可以
|
|
10楼#
发布于:2009-03-31 16:18
有谁有移植过吗
![]() |
|
11楼#
发布于:2009-03-31 16:18
走过,请留步,帮忙 ! 帮忙 !
走头无路啊.
想把firefox入到ARM板上,真不容易. 有谁成功移植过--- 目前是在板上运行浏览器,查看flash动画. |
|
12楼#
发布于:2009-03-31 16:18
具体不知道如何操作,帮忙看看。
The firefox code, by default, configured for X11 packages and doesn’t have the “directfb” configuration. The “configuration” & “configuration.in” script files in the mozilla directory of the firefox code consists the configuration steps and also the configuration options to compile.
First step is to add the option “enable-directfb” in the “configuration” & “configuration.in”. When the script is run it will check for all the dependencies for GTK–DFB. And it will also enable the necessary macros for DirectFB. Delete any references to the X based libraries; this can be done by disabling any code under macro “MOZ_X11”. |
|
13楼#
发布于:2009-03-31 16:18
恐怕挺难改的,Firefox没有直接支持DFB,X11和DFB接口大概也不能直接通用吧。
|
|
14楼#
发布于:2009-03-31 16:18
配置都过不了,
知道原因,但不知道如何修改。
因为firefox默认采用的是X11,而我们目前采用DFB。需要修改相关内容。 |
|
上一页
下一页