- 论坛徽章:
- 0
|
今天编译thrift,却发现报了这样的错。'g_array_unref' undeclared (first use in this function)。查文档发现'g_array_unref' 是在2.22引入的glibc
g_array_ref ()
GArray * g_array_ref (GArray *array);Atomically increments the reference count of array by one. This function is MT-safe and may be called from any thread.
array :
A GArray.
Returns :
The passed in GArray.
Since 2.22
--------------------------------------------------------------------------------
可是我上glibc的官网http://www.gnu.org/software/libc/index.html发现现在glibc最高版本才是2.18啊。这是怎么回事?
运行/lib/libc.so.6 gblic的发型版是2.5。弱弱的问一下,2.5的版本高还是2.18的版本高啊?
[root@localhost test]# /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-46).
Compiled on a Linux 2.6.9 system on 2010-03-10.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
You have new mail in /var/spool/mail/root
|
|