bug-bash
[Top][All Lists]
Advanced

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

Static Link problems w/ bash-2.05 on Solaris-2.5.1


From: Auteria Wally Winzer Jr.
Subject: Static Link problems w/ bash-2.05 on Solaris-2.5.1
Date: Wed, 27 Jun 2001 13:16:16 -0700

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.5.1
Compiler: gcc
Compilation CFLAGS: -pg -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE=' solaris2.5.1' -DCONF_MACHTYPE='sparc-sun-solaris2.5.1'
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H -DSunOS5   -I.  -I.
-I./include -I./lib -I/usr/local/include -O6

uname output: SunOS Sun-E3000 5.5.1 Generic_111442-01 sun4u sparc
SUNW,Ultra-Enterprise
Machine Type: sparc-sun-solaris2.5.1

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

Description:
I've followed the instructions to the letter within the NOTES file on static
linking bash.  On previous versions I was able to do this w/ no problems.
Now I'm having difficulties once again.  Here's the output of the compilation:

gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde
-L./lib/malloc -L./lib/sh -static   -pg -O6 -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
braces.o bracecomp.o bashhist.o bashline.o siglist.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 -Wl,-B,dynamic
-Wl,-R/etc/lib -ldl -Wl,-B,static -lintl
ld: fatal: option -dn and -Bdynamic are incompatible
ld: fatal: library -ldl: not found
ld: fatal: File processing errors. No output written to bash
collect2: ld returned 1 exit status
make: *** [bash] Error 1

I've checked my archives from this problem before when I was
corresponding w/ Chet Ramsey.  Here's the make command
(GNU make - 3.79.1) used during this compilation:

make STATIC_LD= LOCAL_LIBS=-Wl,-B,dynamic -Wl,-R/etc/lib -ldl -Wl,-B,static

Repeat-By:
I checked my archives and indeed I'm using the exact same syntax stated
in the NOTES file and the mail correspondence from Chet.  This is 2.5.1,
not 2.6, 2.7, or 2.8.  I know the syntax is different.  Repeated the process
and the same error occurred.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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