gcc -march=k6-3 -O3 -pipe -fforce-addr -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -I./include -I/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75/libpam/include -I/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75 -I/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75/libpamc/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_GNU_SOURCE -DLOCKDIR=\"/var/run/console\" -DPAM_DYNAMIC -c pam_console_apply_devfsd.c -o dynamic/pam_console_apply_devfsd.o In file included from regerr.c:5, from pam_console_apply_devfsd.c:100: ../../_pam_aconf.h:23:1: warning: "_GNU_SOURCE" redefined pam_console_apply_devfsd.c:1:1: warning: this is the location of the previous definition In file included from pam_console_apply_devfsd.c:6: /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_devfsd.c:52: warning: no previous prototype for `pam_console_apply_single' pam_console_apply_devfsd.c: In function `pam_console_apply_single': pam_console_apply_devfsd.c:54: warning: unused variable `c' In file included from pam_console_apply_devfsd.c:104: /usr/share/bison/bison.simple: At top level: /usr/share/bison/bison.simple:379: warning: static declaration for `_pc_yyparse' follows non-static config.y: In function `_pc_yyparse': config.y:103: warning: char format, void arg (arg 4) /usr/share/bison/bison.simple:799: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type /usr/share/bison/bison.simple:924: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type gcc -shared -Xlinker -x -o pam_console_apply_devfsd.so dynamic/pam_console_apply_devfsd.o -Wl,-Bstatic -L/usr/lib -lglib -Wl,-Bdynamic -lc gcc -march=k6-3 -O3 -pipe -fforce-addr -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -I./include -I/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75/libpam/include -I/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75 -I/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75/libpamc/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_GNU_SOURCE -DLOCKDIR=\"/var/run/console\" -o pam_console_apply pam_console_apply.c -Wl,-Bstatic -L/usr/lib -lglib -Wl,-Bdynamic -lc In file included from pam_console_apply.c:5: ../../_pam_aconf.h:23:1: warning: "_GNU_SOURCE" redefined pam_console_apply.c:1: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 In file included from pam_console_apply.c:120: /usr/share/bison/bison.simple:379: warning: static declaration for `_pc_yyparse' follows non-static config.y: In function `_pc_yyparse': config.y:103: warning: char format, void arg (arg 4) /usr/share/bison/bison.simple:799: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type /usr/share/bison/bison.simple:924: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type /usr/lib/libglib.a(gstrfuncs.o)(.text+0x65c): In function `g_strdown': : undefined reference to `__ctype_tolower' /usr/lib/libglib.a(gstrfuncs.o)(.text+0x6bc): In function `g_strup': : undefined reference to `__ctype_toupper' /usr/lib/libglib.a(gstrfuncs.o)(.text+0xf57): In function `g_strchug': : undefined reference to `__ctype_b' /usr/lib/libglib.a(gstrfuncs.o)(.text+0x100f): In function `g_strchomp': : undefined reference to `__ctype_b' /usr/lib/libglib.a(gstrfuncs.o)(.text+0x102f): In function `g_strchomp': : undefined reference to `__ctype_b' /usr/lib/libglib.a(gstring.o)(.text+0x49c): In function `g_string_down': : undefined reference to `__ctype_tolower' /usr/lib/libglib.a(gstring.o)(.text+0x4fc): 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.75-r10/work/Linux-PAM-0.75/modules/pam_console' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/pam-0.75-r10/work/Linux-PAM-0.75/modules' make: *** [modules] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 101, Exitcode 2 !!! Failed to build
*** This bug has been marked as a duplicate of 9607 ***