Settings | Sign in | Sign up

There are currently 5 posts.

glib庫下載地址(是glib,不是glibc)

Floor 1 巨大八爪鱼 6/24/25 11:32
https://download.gnome.org/sources/glib/
Floor 2 巨大八爪鱼 6/24/25 11:42

glib-2.57.1是最後一個壓縮包裡面有configure腳本的版本。

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

Floor 3 巨大八爪鱼 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了。

Floor 4 巨大八爪鱼 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

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.