* [gentoo-user] Compiling pam--0.77-r1 fails
@ 2004-12-08 15:43 Joel Osburn
0 siblings, 0 replies; only message in thread
From: Joel Osburn @ 2004-12-08 15:43 UTC (permalink / raw
To: gentoo-user
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 <command
line>: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
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1703: warning: declaration of `index' shadows a
global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1705: warning: declaration of `index' shadows a
global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1719: warning: declaration of `index' shadows a
global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1721: warning: declaration of `index' shadows a
global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1745: warning: declaration of `index' shadows a
global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1747: warning: declaration of `index' shadows a
global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:2319: warning: declaration of `index' shadows a
global declaration
<built-in>: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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-08 15:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 15:43 [gentoo-user] Compiling pam--0.77-r1 fails Joel Osburn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox