arm交叉编译glib ortp osip eXosip

 
编译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 `$LD -v 2>/dev/null` in
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
*\ 2.11.*) ;; # other 2.11 versions
*) supports_anon_versioning=yes ;;
esac


# See if GNU ld supports shared libraries.
case $host_os in

######################################
See that esac? right after that is where you'll put another supports_anon_versioning=no

You'll have to do it in three places in the script

Even if the HOWTO's use old versions in the examples the information still applies if you are compiling newer versions.
相关网站:http://playstation2-linux.com/forum/message.php?msg_id=49957
http://playstation2-linux.com/forum/message.php?msg_id=34648

4:编译libExosip时,make阶段出错。
sip_reg.c: In function `main':
sip_reg.c:233: `IPPROTO_UDP' undeclared (first use in this function)
sip_reg.c:233: (Each undeclared identifier is reported only once
sip_reg.c:233: for each function it appears in.)

尚未解决。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值