[Gpephone-devel-ch] 我把上一封出现乱码的邮件附上,并请大家就我的问题给个解决思路。谢谢大家。
wile
wei_er_cn at 163.com
Tue Jul 24 17:45:33 CEST 2007
大家好,yijun、君瑋好:
很开心我们的邮件列表又来了一位新朋友——君瑋。
我仔细检查了上一封邮件,没有特别的地方。邮件原文是后面的蓝色文本。乱
码会不会和我发送邮件的工具有关呢?
我用的是:Evolution 2.10.1——Ubuntu 7.04自带的版本。
前两天,我在添加工具链到ScratchBox的时候遇到了一点问题。
我是按照义军建议的http://scratchbox.org/wiki/ForeignToolchains来操作
的。但我有两个地方作错了。分别是:
1、在创建targets的时候─Select CPU-transparency method这一步我选错
了,我现在选择了qemu-arm-0.8.2-sb2 Emulation;
2、在设置arm-linux-xxxx.conf文件的时候我也有错误。判断标准应该是
compiles/arm-linux-xxx/compiler-name中的相关信息是我们想要的。否则继续配
置。
所幸现在已经能顺利添加工具链了。共有3个工具链,分别是三星,marvell和
国内一家BSP厂商给我的。分头并进,都编译到了gconf-dbus。遇到同样的问题编
不过去了;
我目前的包版本号是:
glib 2.6.6
atk 1.9.0
pago1.8.2
gtk+2.6.10
expat-1.95.7
dbus 0.61(如果换成dbus1.0还需要安装dbus-glib)
gconf-dbus(SVN 20061129)
我使用义军给我的configure.能够./configure通过,但是make 的时候很快就
出错了。
/*------------------------------------------------------------*/
Dbus service dir: ${prefix}/share/dbus-1/services
[sbox-anyka-gcc: /scratchbox/down/extra/gconf-dbus-1.0.0] > make
cd . && \
--gnu Makefile
/scratchbox/tools/bin/sh: line 1: --gnu: command not found
make: *** [Makefile.in] Error 127
/*------------------------------------------------------------*/
我vim Makefile.in之后,查找确定只有一处地方有-gnu,如下
/*-------------------------------------------------------------*/
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
$(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
/*-------------------------------------------------------------*/
看来是变量AUTOMAKE就没有作用。我人为设置一下AUTOMAKE之后,错误改变为
/*-------------------------------------------------------------*/
[sbox-anyka-gcc: /scratchbox/down/extra/gconf-dbus-1.0.0] > export
AUTOMAKE=automake
[sbox-anyka-gcc: /scratchbox/down/extra/gconf-dbus-1.0.0] > make
cd . && \
automake --gnu Makefile
aclocal.m4:17: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
automake: autoconf failed with exit status: 63
make: *** [Makefile.in] Error 63
/*-------------------------------------------------------------*/
看来,是义军给我的configure的生成工具autconf和我目前使用的不一致(我的版
本是2.59)。又回到如何autogen.sh上面去了。 ^_^
下面是我autogen.sh的时候出现的问题。在ScratchBox和在x86环境下,错误相同
/*-------------------------------------------------------------*/
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
FYI: Using default config source xml::
${sysconfdir}/gconf/gconf.xml.defaults for schema installation
FYI: Will build with debug checks but no debug spew
./configure: line 20173: syntax error near unexpected token `1.0'
./configure: line 20173: `GTK_DOC_CHECK(1.0)'
/*-------------------------------------------------------------*/
大家有给点思路,小弟不甚感激。
谢谢!
周围
20070723 晚
上一封出现乱码的邮件,其中问到的问题的原因是:
1、安装dbus-1.0需要另外安装dbus-glib的,否则没有libdbus-glib-1.pc。安装
dbus-0.61则不需要;
RE: [Gpephone-devel-ch]求助:用
ScratchBox 编译 GPE PhoneEdition时遇
到的问题
日期:
Fri, 20 Jul 2007 11:39:37 +0800
义军:
您好。
可能是dbus安装的问题,我在targets目录下面全局搜了
libdbus-glib-1.pc这个
文件,没有。在我安装dbus的时候也没有出现错误,make intall 的最后几步,没
有提示生成了libdbus-glib-1.pc这个文件,只提示生成了libdbus-1.pc。我现在
安装的包都是从open embedded里面的down文件夹下面取出来的。并不是按照
doc/filelist中的链接获取的。这个做法也可能会导致问题。
在scratchbox环境里面autogen.sh,会提示AM_xxxx没有定义的错误,
scratchbox
的这个地方说是libtool没有配置好的原因。
http://scratchbox.org/wiki/ForeignToolchains
我此前添加工具链做法是按照下面这篇文章来设的。
http://www.newbooks.com.cn/info/127428.html ,我工具链的做法可能存在问
题。您在添加工具链的时候是怎么作的?能指导一下吗?
很感激您的悉心指导。
周围
2007年7月19日
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxtogo.org/pipermail/gpephone-devel-ch/attachments/20070724/92ad96f9/attachment.htm
More information about the Gpephone-devel-ch
mailing list