-
张立
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的模拟器;都可以模拟协议站。