[Top][All Lists]

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

Re: Compile time bug with --enable-static-link option in configure

From: Chet Ramey
Subject: Re: Compile time bug with --enable-static-link option in configure
Date: Sat, 12 Nov 2011 21:41:04 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11/10/11 4:20 AM, address@hidden wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' 
> -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' 
> -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  
> uname output: Linux p******l 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 
> 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
> Machine Type: x86_64-unknown-linux-gnu
> Bash Version: 4.2
> Patch Level: 10
> Release Status: release
> Description:
>       The computer I used to compil is a Vmware VM running RHEL 6.1 x64.
>       I used this configure command :
>       ./configure --with-bash-malloc=no --with-afs --enable-static-link
>       and this make command :
>       Error output of gcc :
>       l10nflist.c:64: erreur: static declaration of ‘stpcpy’ follows 
> non-static declaration
>       gcc --version=gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
>       I want a statically linked bash with the history logged through SYSLOG.
>       It seems that configure doesn't complain.

The question is why HAVE_STPCPY is not defined by configure.  Check
config.h to see whether or not it's defined, and config.log to see
why if it's not.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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