免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 980 | 回复: 0
打印 上一主题 下一主题

编译glibc 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-01 17:54 |只看该作者 |倒序浏览
Fixes
initgroups.c: In function `internal_getgrouplist':
initgroups.c:179: error: parse error before "__FUNCTION__"
CVSROOT:        /cvs/glibc
Module name:        libc
Changes by:        roland@sources.redhat.com        2001-12-16 21:52:12
Modified files:
        nss            : nsswitch.c
        grp            : initgroups.c
Log message:
        2001-12-16  Roland McGrath  
       
        * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
        * grp/initgroups.c (internal_getgrouplist): Likewise.
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/grp/initgroups.c.diff?r1=1.26&r2=1.27&cvsroot=glibc
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nss/nsswitch.c.diff?r1=1.52&r2=1.53&cvsroot=glibc
Removed 2nd hunk for glibc-2.1.3 (it was just whitespace)
===================================================================
RCS file: /cvs/glibc/libc/grp/initgroups.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- libc/grp/initgroups.c        2001/07/06 04:54:46        1.26
+++ libc/grp/initgroups.c        2001/12/17 05:52:11        1.27
@@ -176,7 +176,7 @@

       /* This is really only for debugging.  */
       if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
-        __libc_fatal ("illegal status in " __FUNCTION__);
+        __libc_fatal ("illegal status in internal_getgrouplist");

       if (status != NSS_STATUS_SUCCESS
          && nss_next_action (nip, status) == NSS_ACTION_RETURN)
===================================================================
RCS file: /cvs/glibc/libc/nss/nsswitch.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- libc/nss/nsswitch.c        2001/07/17 08:21:36        1.52
+++ libc/nss/nsswitch.c        2001/12/17 05:52:11        1.53
@@ -178,7 +178,7 @@
     {
       /* This is really only for debugging.  */
        if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
-         __libc_fatal ("illegal status in " __FUNCTION__);
+         __libc_fatal ("illegal status in __nss_next");

        if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
         return 1;
http://kegel.com/crosstool/crosstool-0.43/patches/glibc-2.2.2/glibc-2.1.3-allow-gcc-3.4-grp.patch


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/30686/showart_251848.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP