There are currently 5 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
996 4
glib库下载地址(是glib,不是glibc)
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 6/24/25 11:32
https://download.gnome.org/sources/glib/
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 2 Posted at: 6/24/25 11:42

glib-2.57.1是最后一个压缩包里面有configure脚本的版本。

https://download.gnome.org/sources/glib/2.57/glib-2.57.1.tar.xz

巨大八爪鱼
武林盟主 二十一级
Reply
Floor 3 Posted at: 6/24/25 11:47

glib-2.59.0是最后一个压缩包里面有configure.ac文件的版本。

https://download.gnome.org/sources/glib/2.59/glib-2.59.0.tar.xz

从glib-2.59.1版本开始就只支持meson了,不再支持configure了。

巨大八爪鱼
武林盟主 二十一级
Reply
Floor 4 Posted at: 6/24/25 13:58

checking for growing stack pointer... configure: error: in `/home/oct1158/Documents/Code/C/3/bluez/glib-2.57.1':
configure: error: cannot run test program while cross compiling
See `config.log' for more details

 

解决办法:

echo glib_cv_stack_grows=no >> arm-linux.cache

然后./configure时带上--cache-file=arm-linux.cache选项。

 
巨大八爪鱼:

checking for preceeding underscore in symbols... configure: error: in `/home/oct1158/Documents/Code/C/3/bluez/glib-2.57.1':
configure: error: cannot run test program while cross compiling
See `config.log' for more details

解决方案:echo glib_cv_uscore=no >> arm-linux.cache

  6/24/25 14:00 Reply
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 996 Replies: 4
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 6/24/25 14:00
Announcements