Gentoo Archives: gentoo-user

From: Joel Osburn <tjeckleberg@××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Compiling pam--0.77-r1 fails
Date: Wed, 08 Dec 2004 15:43:38
Message-Id: 001701c4dd3c$a26809c0$2f0000c0@Joel
1 I've been trying to chase down the cause of this compile fail off and on for
2 a couple weeks with no luck. It looks like a German Gentoo user is having a
3 similar problem, but since I can't read German I'm still searching for an
4 answer.
5
6 The problem pops up mid-compile, launched by doing an "emerge -u world". It
7 seems to go along ok, then spits this out :
8
9 In file included from pam_console_apply.c:5:
10 ../../_pam_aconf.h:28:1: warning: "_GNU_SOURCE" redefined <command
11 line>:5:1: warning: this is the location of the previous definition In file
12 included from pam_console_apply.c:7:
13 /usr/include/glib-1.2/glib.h:1697: warning: declaration of `index' shadows a
14 global declaration
15 <built-in>:0: warning: shadowed declaration is here
16 /usr/include/glib-1.2/glib.h:1703: warning: declaration of `index' shadows a
17 global declaration
18 <built-in>:0: warning: shadowed declaration is here
19 /usr/include/glib-1.2/glib.h:1705: warning: declaration of `index' shadows a
20 global declaration
21 <built-in>:0: warning: shadowed declaration is here
22 /usr/include/glib-1.2/glib.h:1719: warning: declaration of `index' shadows a
23 global declaration
24 <built-in>:0: warning: shadowed declaration is here
25 /usr/include/glib-1.2/glib.h:1721: warning: declaration of `index' shadows a
26 global declaration
27 <built-in>:0: warning: shadowed declaration is here
28 /usr/include/glib-1.2/glib.h:1745: warning: declaration of `index' shadows a
29 global declaration
30 <built-in>:0: warning: shadowed declaration is here
31 /usr/include/glib-1.2/glib.h:1747: warning: declaration of `index' shadows a
32 global declaration
33 <built-in>:0: warning: shadowed declaration is here
34 /usr/include/glib-1.2/glib.h:2319: warning: declaration of `index' shadows a
35 global declaration
36 <built-in>:0: warning: shadowed declaration is here
37 pam_console_apply.c: In function `main':
38 pam_console_apply.c:107: warning: assignment discards qualifiers from
39 pointer target type In file included from pam_console_apply.c:126:
40 config.tab.c: At top level:
41 config.tab.c:777: warning: static declaration for `_pc_yyparse' follows
42 non-static
43 config.y: In function `_pc_yyparse':
44 config.y:104: warning: char format, void arg (arg 4)
45 config.tab.c:1203: warning: passing arg 1 of `_pc_yyerror' discards
46 qualifiers from pointer target type
47 config.tab.c:1302: warning: passing arg 1 of `_pc_yyerror' discards
48 qualifiers from pointer target type
49 config.lex.c: At top level:
50 config.y:327: warning: `set_permissions_single' defined but not used
51 config.y:367: warning: `reset_permissions_single' defined but not used
52 config.lex.c:1432: warning: `_pc_yy_delete_buffer' defined but not used
53 config.lex.c:1549: warning: `_pc_yy_scan_string' defined but not used
54 config.lex.c:1227: warning: `yyunput' defined but not used
55 config.y:473: warning: `do_yyerror' defined but not used
56 //usr/lib/libglib.a(gstrfuncs.o)(.text+0x755): In function `g_strdown':
57 : undefined reference to `__ctype_tolower'
58 //usr/lib/libglib.a(gstrfuncs.o)(.text+0x7f5): In function `g_strup':
59 : undefined reference to `__ctype_toupper'
60 //usr/lib/libglib.a(gstrfuncs.o)(.text+0x12d9): In function `g_strchug':
61 : undefined reference to `__ctype_b'
62 //usr/lib/libglib.a(gstrfuncs.o)(.text+0x13be): In function `g_strchomp':
63 : undefined reference to `__ctype_b'
64 //usr/lib/libglib.a(gstring.o)(.text+0x646): In function `g_string_down':
65 : undefined reference to `__ctype_tolower'
66 //usr/lib/libglib.a(gstring.o)(.text+0x6e6): In function `g_string_up':
67 : undefined reference to `__ctype_toupper'
68 collect2: ld returned 1 exit status
69 make[2]: *** [pam_console_apply] Error 1
70 make[2]: Leaving directory
71 `/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/modules/pam_console'
72 make[1]: *** [all] Error 1
73 make[1]: Leaving directory
74 `/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/modules'
75 make: *** [modules] Error 2
76
77 !!! ERROR: sys-libs/pam-0.77-r1 failed.
78 !!! Function src_compile, Line 202, Exitcode 2
79 !!! PAM build failed
80 !!! If you need support, post the topmost build error, NOT this status
81 message.
82
83 I've tried doing an "env-update", but no luck there, nor does running
84 ldconfig seem to help. Every time, it stops at the same place. Any ideas?
85
86 Joel T. Osburn
87 WBGS Architecture & Planning, PC
88
89
90 --
91 gentoo-user@g.o mailing list