From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27363 invoked from network); 8 Dec 2004 15:43:38 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 8 Dec 2004 15:43:38 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1Cc3yc-0004fj-6O for arch-gentoo-user@lists.gentoo.org; Wed, 08 Dec 2004 15:43:38 +0000 Received: (qmail 300 invoked by uid 89); 8 Dec 2004 15:43:20 +0000 Mailing-List: contact gentoo-user-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-user@lists.gentoo.org X-BeenThere: gentoo-user@gentoo.org Received: (qmail 27179 invoked from network); 8 Dec 2004 15:43:20 +0000 From: "Joel Osburn" To: Date: Wed, 8 Dec 2004 07:43:16 -0800 Message-ID: <001701c4dd3c$a26809c0$2f0000c0@Joel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Scanned: by amavisd-new at wbgs.com Subject: [gentoo-user] Compiling pam--0.77-r1 fails X-Archives-Salt: d14da0e9-feb9-4ec2-b460-31d0414ce649 X-Archives-Hash: c8e4e7780261b1c1b74404742a09f90b I've been trying to chase down the cause of this compile fail off and on = for a couple weeks with no luck. It looks like a German Gentoo user is = having a similar problem, but since I can't read German I'm still searching for = an answer. The problem pops up mid-compile, launched by doing an "emerge -u world". = It seems to go along ok, then spits this out : In file included from pam_console_apply.c:5: ../../_pam_aconf.h:28:1: warning: "_GNU_SOURCE" redefined :5:1: warning: this is the location of the previous definition In = file included from pam_console_apply.c:7: /usr/include/glib-1.2/glib.h:1697: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:1703: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:1705: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:1719: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:1721: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:1745: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:1747: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here /usr/include/glib-1.2/glib.h:2319: warning: declaration of `index' = shadows a global declaration :0: warning: shadowed declaration is here pam_console_apply.c: In function `main': pam_console_apply.c:107: warning: assignment discards qualifiers from pointer target type In file included from pam_console_apply.c:126: config.tab.c: At top level: config.tab.c:777: warning: static declaration for `_pc_yyparse' follows non-static config.y: In function `_pc_yyparse': config.y:104: warning: char format, void arg (arg 4) config.tab.c:1203: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type config.tab.c:1302: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type config.lex.c: At top level: config.y:327: warning: `set_permissions_single' defined but not used config.y:367: warning: `reset_permissions_single' defined but not used config.lex.c:1432: warning: `_pc_yy_delete_buffer' defined but not used config.lex.c:1549: warning: `_pc_yy_scan_string' defined but not used config.lex.c:1227: warning: `yyunput' defined but not used config.y:473: warning: `do_yyerror' defined but not used //usr/lib/libglib.a(gstrfuncs.o)(.text+0x755): In function `g_strdown': : undefined reference to `__ctype_tolower' //usr/lib/libglib.a(gstrfuncs.o)(.text+0x7f5): In function `g_strup': : undefined reference to `__ctype_toupper' //usr/lib/libglib.a(gstrfuncs.o)(.text+0x12d9): In function `g_strchug': : undefined reference to `__ctype_b' //usr/lib/libglib.a(gstrfuncs.o)(.text+0x13be): In function = `g_strchomp': : undefined reference to `__ctype_b' //usr/lib/libglib.a(gstring.o)(.text+0x646): In function = `g_string_down': : undefined reference to `__ctype_tolower' //usr/lib/libglib.a(gstring.o)(.text+0x6e6): In function `g_string_up': : undefined reference to `__ctype_toupper' collect2: ld returned 1 exit status make[2]: *** [pam_console_apply] Error 1 make[2]: Leaving directory `/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/modules/pam_console' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/modules' make: *** [modules] Error 2 !!! ERROR: sys-libs/pam-0.77-r1 failed. !!! Function src_compile, Line 202, Exitcode 2 !!! PAM build failed !!! If you need support, post the topmost build error, NOT this status message. I've tried doing an "env-update", but no luck there, nor does running ldconfig seem to help. Every time, it stops at the same place. Any = ideas? Joel T. Osburn WBGS Architecture & Planning, PC -- gentoo-user@gentoo.org mailing list