[Top][All Lists]

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

static linking bash on Solaris 2.8

From: Wes Brown
Subject: static linking bash on Solaris 2.8
Date: Thu, 26 Sep 2002 13:30:36 -0400 (EDT)

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.8
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' 
-DCONF_OSTYPE='solaris2.8' -DCONF_MACHTYPE='sparc-sun-solaris2.8' 
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -g 
uname output: SunOS geinat7 5.8 Generic_108528-12 sun4u sparc SUNW,Sun-Fire-280R
Machine Type: sparc-sun-solaris2.8

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

        Trying to build bash to link statically on Solaris 8.

        bash-2.03$ gzip -dc bash-2.05b.tar.gz | tar -xvf -
        bash-2.03$ cd bash-2.05b
        bash-2.03$ ./configure --enable-static-link
        bash-2.03$ make
        make[1]: Leaving directory `/home/brownew/build/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 -lnsl 
        Undefined                       first referenced
         symbol                             in file
        dlclose                             /usr/lib/libnsl.a(netdir.o)
        _dlopen                             /usr/lib/libc.a(nss_deffinder.o)
        _dlclose                            /usr/lib/libc.a(nss_deffinder.o)
        dlsym                               /usr/lib/libnsl.a(netdir.o)
        dlopen                              /usr/lib/libnsl.a(netdir.o)
        dlerror                             /usr/lib/libnsl.a(netdir.o)
        _dlsym                              /usr/lib/libc.a(nss_deffinder.o)
        ld: fatal: Symbol referencing errors. No output written to bash
        collect2: ld returned 1 exit status
        make: *** [bash] Error 1

reply via email to

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