[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem when using --enable-static-link

From: bbe
Subject: Problem when using --enable-static-link
Date: Tue, 5 Mar 2002 21:34:42 +0100 (CET)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -g -O2
uname output: Linux bigdude 2.4.17-9 #1 Fri Feb 22 22:23:25 CET 2002 i686 
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05a
Patch Level: 0
Release Status: release

        When I try to compile this version of bash and link it staticly, it 
reports an error saying:
        In file included from shell.h:41,
                 from shell.c:48:
externs.h:163: conflicting types for `gethostname'
/usr/include/unistd.h:734: previous declaration of `gethostname'
externs.h:196: conflicting types for `strncasecmp'
/usr/include/string.h:277: previous declaration of `strncasecmp'
make: *** [shell.o] Error 1

        running configure --enable-static-link. 

        System: linux-2.4.17;
                glibc-2.2.5 - reported a question about it today.
                upgrade - glibc-2.2.3 -> glibc-2.2.4 -> glibc-2.2.5

reply via email to

[Prev in Thread] Current Thread [Next in Thread]