[uClibc]Problems compiling bash-2.05a

Pascal Schmidt pharao90 at tzi.de
Wed Apr 3 14:44:06 UTC 2002


On Wed, 3 Apr 2002, Erik Andersen wrote:

> It is compiling vs uClibc, but trying to link vs glibc.
> Try doing the following instead: 
> PATH=$HOME/i386-linux-uclibc/usr/bin:$PATH CC=i386-linux-gcc ./configure --disable-nls

That's better, compiles a lot of stuff, but I still get link errors
for the last step.

PATH=$HOME/i386-linux-uclibc/usr/bin:$PATH CC=i386-uclibc-gcc make

[...]
i386-uclibc-gcc -L./builtins -L./lib/readline -L./lib/readline 
-L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -L./lib/termcap  
-rdynamic  -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 ./lib/termcap/libtermcap.a -lglob 
-ltilde -lmalloc  -ldl 
shell.o: In function `main':
/home/pharao90/temp/bash-2.05a/shell.c:427: undefined reference to 
`set_login_shell'
/home/pharao90/temp/bash-2.05a/shell.c:518: undefined reference to 
`strmatch'
shell.o: In function `parse_shell_options':
/home/pharao90/temp/bash-2.05a/shell.c:770: undefined reference to 
`list_minus_o_opts'

This is followed by a few hundred more undefined references.

-- 
Ciao,
Pascal




More information about the uClibc mailing list