迷你博客

共0篇迷你博客

最新帖子

共1 条帖子

崔计平(cuijpus)在线状态 2天前

社区头衔:
专家排行榜
社区生日:
2007-11-23 |生日:1999-11-23
所在城市:
中国 江苏 南京
技术专长:
嵌入式Linux手机
开发工具:
兴趣爱好:
个人简介:
做手机研发5年多,涉及app, middleware, driver等;好记性不如烂笔头,随手写些,免得忘记了。
所在行业:
所在公司:
 
(仅好友可见)
联系方式:
(仅好友可见)
 
编辑我的资料
人气:
[人气排行榜] 共 42131 人访问 / 查看详细
专家分:
[专家分排行榜] 共 0 分 / 查看详细
可用分:
[可用分排行榜] 共 120 分
所获勋章:
个人动态
10月11
  • 崔计平 和 asp爱好者  成为好友了 17:45
  • 崔计平 和 陆道  成为好友了 17:45
09月30
09月24
09月22
留言
查看全部

共 5 条留言

张立 2008-06-16

angel_cuicui,我最近也在搞DBUS,交个朋友吧。我的MSN:zhangzhuomou@hotmail.com

angel_cuicui 2008-06-04

DBUS高手好!我想请教一下关于DBUS在ARM-LINUX环境下编译碰到的问题:<br />我的环境:uclinux,arm-elf-gcc<br />./configure --prefix=/usr/local/arm-tools/arm-elf host=arm-elf ac_cv_have_abstract_sockets=yes  编译过程中出现:unreference getgrnam_r,我看了下,它定义在grp.h,但是是extern的,似乎网上也没有具体的这个函数的函数体,请多多指教!!非常感谢!! 

angel_cuicui 2008-06-04

DBUS高手好!我想请教一下关于DBUS在ARM-LINUX环境下编译碰到的问题:<br />我的环境:uclinux,arm-elf-gcc<br />./configure --prefix=/usr/local/arm-tools/arm-elf host=arm-elf ac_cv_have_abstract_sockets=yes  编译过程中出现:unreference getgrnam_r,我看了下,它定义在grp.h,但是是extern的,似乎网上也没有具体的这个函数的函数体,请多多指教!!非常感谢!! 

luofuchong 2008-05-26

你好<br />        小弟最近在交叉编译dbus的时候碰到了一些麻烦,路过看到大哥对dbus深有研究,不知道能否给点指引?<br /><br />1、环境:<br />arm-linux-gcc-3.4.5<br />libxml2-2.6.32<br />dbus-1.2.1<br /><br />以下是config后的提示信息:<br /><br />                    D-Bus 1.2.1<br />                  ==============<br /><br />        prefix:                   /usr/local<br />        exec_prefix:              ${prefix}<br />        libdir:                   /usr/local/lib<br />        libexecdir:               /usr/local/libexec<br />        bindir:                   /usr/local/bin<br />        sysconfdir:               /usr/local/etc<br />        localstatedir:            /usr/local/var<br />        datadir:                  /usr/local/share<br />        source code location:     .<br />        compiler:                 arm-linux-gcc<br />        cflags:                   -ffunction-sections -fdata-sections -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -Wdeclaration-after-statement -fno-common<br />        cppflags:                 <br />        cxxflags:                 -g -O2<br />        64-bit int:               long long<br />        32-bit int:               int<br />        16-bit int:               short<br />        Doxygen:                  no<br />        xmlto:                    no<br /><br />        Maintainer mode:          no<br />        gcc coverage profiling:   no<br />        Building unit tests:      no<br />        Building verbose mode:    no<br />        Building assertions:      no<br />        Building checks:          yes<br />        Building SELinux support: no<br />        Building inotify support: no<br />        Building dnotify support: yes<br />        Building kqueue support:  no<br />        Building X11 code:        yes<br />        Building Doxygen docs:    no<br />        Building XML docs:        no<br />        Building cache support:   yes<br />        Gettext libs (empty OK):  <br />        Using XML parser:         libxml<br />        Init scripts style:       none<br />        Abstract socket names:    yes<br />        System bus socket:        /usr/local/var/run/dbus/system_bus_socket<br />        System bus address:       unix:path=/usr/local/var/run/dbus/system_bus_socket<br />        System bus PID file:      /usr/local/var/run/dbus/pid<br />        Session bus socket dir:   /tmp<br />        Console auth dir:         /var/run/console/<br />        Console owner file:       no<br />        Console owner file path:  <br />        System bus user:          messagebus<br />        Session bus services dir: /usr/local/share/dbus-1/services<br />        'make check' socket dir:  /tmp<br /><br />编译的时候提示以下错误:<br />config-loader-libxml.c:198: undefined reference to `xmlReaderForMemory'<br /><br />可是我已经安装了xml的库:<br />lfc@lfc-laptop:dbus-1.2.1$ ls /usr/local/arm/3.4.5/arm-linux/lib/libxml2.*<br />/usr/local/arm/3.4.5/arm-linux/lib/libxml2.a   /usr/local/arm/3.4.5/arm-linux/lib/libxml2.so.2<br />/usr/local/arm/3.4.5/arm-linux/lib/libxml2.la  /usr/local/arm/3.4.5/arm-linux/lib/libxml2.so.2.6.32<br />/usr/local/arm/3.4.5/arm-linux/lib/libxml2.so<br /><br />而且是交叉编译的:<br />lfc@lfc-laptop:dbus-1.2.1$ file /usr/local/arm/3.4.5/arm-linux/lib/libxml2.so.2.6.32 <br />/usr/local/arm/3.4.5/arm-linux/lib/libxml2.so.2.6.32: ELF 32-bit LSB shared object, ARM, version 1, not stripped<br /><br />搜索也可以查找到:<br />lfc@lfc-laptop:dbus-1.2.1$ grep "xmlReaderForMemory" /usr/local/arm/3.4.5/arm-linux/lib/* -rn<br />二进制文件 /usr/local/arm/3.4.5/arm-linux/lib/libxml2.a 匹配<br />二进制文件 /usr/local/arm/3.4.5/arm-linux/lib/libxml2.so 匹配<br />二进制文件 /usr/local/arm/3.4.5/arm-linux/lib/libxml2.so.2 匹配<br />二进制文件 /usr/local/arm/3.4.5/arm-linux/lib/libxml2.so.2.6.32 匹配<br /><br />不知道大侠有没有碰到过类似的问题,请问你是如何解决的?谢谢!

崔计平 回复于 2008-05-29

你好,D-BUS在configure时,默认的是expat, 而不是libxml; 如果你没有强制--with-xml=libxml的话,在./configure时,如果链接到libxml上,说明你的路径没有导对;你可以试试:假设你的taget目录是/test<br />, 则你可以在./configure是加上 LDFLAGS="-L/test/lib" CPPFLAGS="-I/test/include" 后面接上你的一些选项,这样就可以定位到expat上面,另外在编译1.2.1时,别忘记了加上ac_cv_have_abstract_socket=yes ,你试试吧,我用这种方法是可以编译过去的。

陈龙飞 2007-12-29

是否接触过SIMCOM平台? <br/>在手机嵌入式开发过程中,有没有思考过仿真或模拟开发,也就是虚拟一个windows版本的开发环境,可以在XP 上直接调试直至功能正确,最后才烧写下去?  

崔计平 回复于 2008-01-03

SIMCOM平台没有搞过,很抱歉。<br/>另外手机的嵌入式开发前期肯定有个模拟器在作前期的开发,这方面几乎各个平台都有,无论是商业化还是开源的平台,比如TTPCOM的genie, qualcomm的,GPE Phone Edition,Android的模拟器;都可以模拟协议站。