Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Os -s -fno-strict-aliasing -mtune=i686 uname output: Linux lfslivecd 2.6.18.3 #2 SMP Thu Dec 7 14:05:09 GMT 2006 i686 pentium3 i386 GNU/Linux Machine Type: i486-pc-linux-gnu
Bash Version: 3.2 Patch Level: 5 Release Status: release Description: I see the following in config.log: configure:26967: checking for sys_siglist in system C library configure:27004: gcc -o conftest -g -O2 conftest.c -ldl >&5 conftest.c:306: error: conflicting types for 'sys_siglist' /usr/include/signal.h:305: error: previous declaration of 'sys_siglist' was here conftest.c: In function 'main': conftest.c:311: warning: incompatible implicit declaration of built-in function 'exit' configure:27007: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ <snip> | #define HAVE_DECL_SYS_SIGLIST 1 <snip> | /* end confdefs.h. */ | | #include <sys/types.h> | #include <signal.h> | #ifdef HAVE_UNISTD_H | #include <unistd.h> | #endif | #ifndef SYS_SIGLIST_DECLARED | extern char *sys_siglist[]; | #endif | main() | { | char *msg = sys_siglist[2]; | exit(msg == 0); | } configure:27033: result: no so this is caused by mismatch of HAVE_DECL_SYS_SIGLIST vs SYS_SIGLIST_DECLARED (which is used exactly once in the ./configure script, in this ifndef line, and thus is never defined) Repeat-By: ./configure (on linux with glibc) Fix: Replace SYS_SIGLIST_DECLARED with HAVE_DECL_SYS_SIGLIST in aclocal.m4, rerun autoconf I understand that _sys_siglist is found and that on glibc systems, it is the same thing, so this bug is not very harmful. -- Alexander E. Patrakov _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash