免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3539 | 回复: 3
打印 上一主题 下一主题

有人编译过bluez-4.33吗 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-08 14:04 |只看该作者 |倒序浏览
编译bluez-4.33时需要glib,配置glib时(./configure)报如下错误(部分)
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/vfstab.h usability... no
checking sys/vfstab.h presence... no
checking for sys/vfstab.h... no
checking sys/mntctl.h usability... no
checking sys/mntctl.h presence... no
checking for sys/mntctl.h... no
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_ctimensec... no
checking for struct stat.st_ctim.tv_nsec... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct statfs.f_fstypename... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for setlocale... yes
checking size of size_t... 4
checking for the appropriate definition for size_t... unsigned int
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for poll... yes
checking for getcwd... yes
checking for vasprintf... yes
checking for setenv... yes
checking for unsetenv... yes
checking for getc_unlocked... yes
checking for readlink... yes
checking for symlink... yes
checking for fdwalk... no
checking for chown... yes
checking for lchown... yes
checking for fchmod... yes
checking for fchown... yes
checking for link... yes
checking for statvfs... yes
checking for statfs... yes
checking for utimes... yes
checking for getgrgid... yes
checking for getpwuid... yes
checking for getmntent_r... yes
checking for setmntent... yes
checking for endmntent... yes
checking for hasmntopt... yes
checking for getmntinfo... no
checking for nanosleep... yes
checking for nsleep... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for C99 vsnprintf... no
checking whether printf supports positional parameters... no
checking number of arguments to statfs()... 2
checking for signed... yes
checking for long long... (cached) yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for snprintf... yes
checking for wcslen... yes
checking for C99 snprintf... no
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking whether realloc (NULL,) will work... yes
checking for nl_langinfo (CODESET)... yes
checking for a compliant posix_memalign() implementation... no
checking for OpenBSD strlcpy/strlcat... no
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for dlopen... no
checking for NSLinkModule... no

#make
/tmp/ccoNW9rg.s: Assembler messages:
/tmp/ccoNW9rg.s:155: Error: no such instruction: `swp %eax,%edx,[%esi]'
/tmp/ccoNW9rg.s:174: Error: no such instruction: `swp %eax,%edx,[%esi]'
make[4]: *** [gatomic.lo] 错误 1
make[4]:正在离开目录 `/home/abc/bluez/glib-2.16.5/glib'
make[3]: *** [all-recursive] 错误 1
make[3]:正在离开目录 `/home/abc/bluez/glib-2.16.5/glib'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/home/abc/bluez/glib-2.16.5/glib'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/abc/bluez/glib-2.16.5'
make: *** [all] 错误 2

谁给看看,编译的太痛苦了

[ 本帖最后由 源方 于 2009-4-9 18:34 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-04-08 18:22 |只看该作者

回复 #1 源方 的帖子

ding

[ 本帖最后由 源方 于 2009-4-9 18:34 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2009-05-12 11:56 |只看该作者

我编译通过了

我在移植GLIB的时候没有遇到这样的问题,不过移植这个东西也比较简单的,如果有什么问题,可以加我qq:12611843 一起讨论

论坛徽章:
0
4 [报告]
发表于 2009-05-12 21:46 |只看该作者
你怎么加 configure 参数的?
交叉编译还是正常编译 ?
交叉编译要指定 target host
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP