编译glib2.2.0 glib2.2.3时,出现下列问题: 1:- if you get an error about an unknown SSIZE_MAX macro, then add #ifndef SSIZE_MAX #define SSIZE_MAX (0xFFFFFFFF) #endif 在glib/giounix.c里面添加上述宏定义,解决。 2:./.libs/libgobject-2.0.so: undefined reference to `g_value_take_string' 没有找到解决的方法,于是改为编译glib2.8.0,出现其他问题。 3:编译2.8.0时, ./configure check is ok but when i make it.... it says /usr/bin/ld:.libs/libglib-2.0.ver:1: parse error in VERSION script collect2: ld returned 1 exit status 解决方法:修改Configure文件。 leave the makefile alone. it's the configure script that needs fixing: Search the file for supports_anon_versioning=no You'll get something like this: ###################################### supports_anon_versioning=no case |
详细解决方案
arm交叉编译glib ortp osip eXosip
热度:73 发布时间:2023-12-09 19:49:47.0