[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile Problems w/ 2.05b
From: |
Matthew A. R. Sherian |
Subject: |
Compile Problems w/ 2.05b |
Date: |
Wed, 10 Mar 2004 14:08:06 -0500 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
I am trying to compile under Solaris 2.7, as you can see the NSL archive
contains netdir.o which is throwing unresolved symbol errors. I have tried
mucking about with LD_LIBRARY_PATH hoping that there were a GNU lib that
would resolve. But this has been fruitless.
Here is the compile opt I am using,
./configure --prefix=/ --enable-alias --enable-arith-for-command \
--enable-array-variables --enable-bang-history --enable-brace-expansion \
--enable-command-timing --enable-cond-command --enable-directory-stack \
--enable-dparen-arithmetic --enable-extended-glob --enable-help-builtin \
--enable-history --enable-job-control --enable-process-substitution \
--enable-progcomp --enable-prompt-string-decoding --enable-readline \
--enable-restricted --enable-select --enable-xpg-echo-default \
--enable-static-link --with-bash-malloc --with-curses --with-bash-malloc \
LD=/usr/local/bin/ld AR=/usr/local/bin/ar
And here is the compile time error:
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 -lcurses -lglob -ltilde -lmalloc -lsocket -lnsl
/usr/lib/libnsl.a(netdir.o): In function `load_xlate':
netdir.o(.text+0xbe4): undefined reference to `dlopen'
netdir.o(.text+0xc10): undefined reference to `dlsym'
netdir.o(.text+0xc40): undefined reference to `dlsym'
netdir.o(.text+0xc70): undefined reference to `dlsym'
netdir.o(.text+0xca0): undefined reference to `dlsym'
netdir.o(.text+0xcd0): undefined reference to `dlsym'
netdir.o(.text+0xd68): undefined reference to `dlclose'
/usr/lib/libnsl.a(netdir.o): In function `netdir_sperror':
netdir.o(.text+0xf14): undefined reference to `dlerror'
/usr/lib/libc.a(nss_deffinder.o): In function `SO_per_src_lookup':
nss_deffinder.o(.text+0x7c): undefined reference to `dlopen'
nss_deffinder.o(.text+0xac): undefined reference to `dlsym'
nss_deffinder.o(.text+0xc0): undefined reference to `dlclose'
/usr/lib/libc.a(nss_deffinder.o): In function `SO_per_src_delete':
nss_deffinder.o(.text+0xf8): undefined reference to `dlclose' collect2: ld
returned 1 exit status
make: *** [bash] Error 1
Any assistance or redirections to docs for this error would be appreciated.
- Compile Problems w/ 2.05b,
Matthew A. R. Sherian <=