|
From: John P. <joh...@gm...> - 2011-10-01 02:43:22
|
bash --version
GNU bash, version 4.2.10(1)-release (i386-apple-darwin10.8.0)
When configuring bashbd with:
./configure --with-bash=/usr/local/bin/bash \
--with-dbg-main=/Downloads/src/bashdb-4.2-0.8/dbg-main.sh \
--with-bashdb-main=/Downloads/src/bashdb-4.2-0.8/bashdb-main.inc \
&& make && make check
all is fine. But as soon as I use:
./configure --with-bash=/usr/local/bin/bash \
--with-bash-src=/Downloads/src/bash-4.2.10 \
--with-dbg-main=/Downloads/src/bashdb-4.2-0.8/dbg-main.sh \
--with-bashdb-main=/Downloads/src/bashdb-4.2-0.8/bashdb-main.inc
to get large input file support make fails with the following:
Making all in builtin
gcc -DHAVE_CONFIG_H -I. -I.. -I /Downloads/src/bash-4.2.10 -I
/Downloads/src/bash-4.2.10/include
-I/Downloads/src/bash-4.2.10/builtins -g -O2 -MT set0-set0.o -MD -MP
-MF .deps/set0-set0.Tpo -c -o set0-set0.o `test -f 'set0.c' || echo
'./'`set0.c
mv -f .deps/set0-set0.Tpo .deps/set0-set0.Po
gcc -g -O2 -o set0 \
-shared set0-set0.o
Undefined symbols:
"_dollar_vars", referenced from:
_set0_builtin in set0-set0.o
"_builtin_usage", referenced from:
_set0_builtin in set0-set0.o
"_builtin_error", referenced from:
_set0_builtin in set0-set0.o
"_xmalloc", referenced from:
_set0_builtin in set0-set0.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [set0] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I see from a Google search that Rocky reported the same issue on
2011-05-18 when building to use the builtin under cygwin. Any ideas
for a solution.
Thanks
John
|