有人编译过bluez-4.33吗

发布于 2022-09-18 18:25:34 字数 5035 浏览 11 评论 0

编译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 编辑 ]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

老旧海报 2022-09-25 18:25:34

ding

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

姜生凉生 2022-09-25 18:25:34

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

美胚控场 2022-09-25 18:25:34

你怎么加 configure 参数的?
交叉编译还是正常编译 ?
交叉编译要指定 target host

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文