bug-bash
[Top][All Lists]
Advanced

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

Re: possibly a bash build problem?


From: Chet Ramey
Subject: Re: possibly a bash build problem?
Date: Fri, 08 Sep 2006 12:19:51 -0400
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

George R Goffe wrote:
> Howdy,
> 
> This result (see below) seems to be redily re-creatable. Could you
> take a peek at this and tell me if it is a bug or if I'm doing
> something wrong please?
> 
> Regards and thanks for your time,
> 
> George...
> 
> rm -f bash
> gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
> -L./lib/tilde -L./lib/malloc -L./lib/sh -static -static -rdynamic
> -pg -g -O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o
> print_cmd.o  dispose_cmd.o execute_cmd.o variables.o copy_cmd.o
> error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o
> mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o
> version.o alias.o array.o arrayfunc.o braces.o bracecomp.o
> bashhist.o bashline.o  list.o stringlib.o locale.o findcmd.o redir.o
> pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lsh -lreadline
> -lhistory -lcurses -lglob -ltilde -lmalloc lib/intl/libintl.a   
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc.a(dcigettext.o)(.text+0x684):
> In function `_nl_find_msg':
> : multiple definition of `_nl_find_msg'
> lib/intl/libintl.a(dcigettext.o)(.text+0x568):/tools/bash/bash-3.1/lib/intl/dcigettext.c:740:
> first defined here
> /usr/bin/ld: Warning: size of symbol `_nl_find_msg' changed from 851
> to 1361 in
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc.a(dcigettext.o)
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1

It seems like the autoconf macro (AM_GNU_GETTEXT) used to detect the
availability of the gettext functions is deciding they're not available
in libc and falling back to the included version of libintl.  You could
check config.log and config.status to see why.

I wonder if it's due to the fact that you're trying to build a profiled
version of bash that can be run against gprof.  That usually links in a
separate set of libraries.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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