[Top][All Lists]

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

i can't compile bash 2.05b on sparc solaris 9

From: martin mcflysr
Subject: i can't compile bash 2.05b on sparc solaris 9
Date: Wed, 7 Jul 2004 23:43:02 +0400

Hello bug-bash,

OS: Solaris 9
Compiler: gcc

after ./configure --enable-static-link, and make a get message:

rm -f libmalloc.a
ar cr libmalloc.a malloc.o  trace.o stats.o table.o watch.o
test -n "ranlib" && ranlib libmalloc.a
make[1]: Leaving directory `/usr/usr.src/gnu/bash-2.05b/lib/malloc'
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 -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 -ltermcap -lglob -ltilde -lmalloc -lsocket
ld: fatal: symbol `getenv' is multiply-defined:
        (file ./lib/sh/libsh.a(getenv.o) type=FUNC; file /usr/lib/libc.a
        (getenv.o) type=FUNC);
ld: fatal: File processing errors. No output written to bash
collect2: ld returned 1 exit status
make: *** [bash] Error 1

uncompress, applay patches, ./configure, make.

What must i do for compile bash on sun solaris 9 ?

Thank you,

Best regards
from future, HillDale
martin                          mailto:address@hidden

reply via email to

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