[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undeclared shell vars cvs-HEAD BSDi 4.2
From: |
Melvyn Sopacua |
Subject: |
Undeclared shell vars cvs-HEAD BSDi 4.2 |
Date: |
Sun, 24 Mar 2002 17:09:06 +0100 |
Hi,
trying the HEAD branch, to build aspell, I encountered 2 errors:
1) ${SED} used but undeclared, totally breaking everything.
2) $max_cmd_len undefined and creating "test: integer expected but null
string found" errors
The latter I'm concerned about, since if I define it (export
max_cmd_len=4096), the reloadable objects are not created, which (I think)
causes the library dependancies not to be detected. This manifests itself
in the current HEAD of aspell, to not link -lstdc++ and -lm and creates:
source='aspell0.c' object='aspell0.o'
libtool=no depfile='.deps/aspell0.Po'
tmpdepfile='.deps/aspell0.TPo' depmode=gcc /bin/sh ../depcomp gcc
-DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -O -Wall -c
`test -f aspell0.c || echo './'`aspell0.c
/bin/sh ../libtool --mode=link gcc -O -Wall -o aspell0 aspell0.o
../lib/libaspell.la
mkdir .libs
gcc -O -Wall -o .libs/aspell0 aspell0.o ../lib/.libs/libaspell.so
/home/mdev/aspell-20020324/common/.libs/libaspell-common.so -Wl,--rpath
-Wl,/weblib/local/lib
../lib/.libs/libaspell.so: undefined reference to `cerr'
../lib/.libs/libaspell.so: undefined reference to `sqrt'
../lib/.libs/libaspell.so: undefined reference to `endl(ostream &)'
../lib/.libs/libaspell.so: undefined reference to `__out_of_range(char
const *)'
../lib/.libs/libaspell.so: undefined reference to `ostream::flush(void)'
../lib/.libs/libaspell.so: undefined reference to `ostream::operator<<(char
const *)'
../lib/.libs/libaspell.so: undefined reference to `streambuf::sungetc(void)'
../lib/.libs/libaspell.so: undefined reference to `_IO_getc'
../lib/.libs/libaspell.so: undefined reference to
`istrstream::istrstream(int, char const *, int)'
../lib/.libs/libaspell.so: undefined reference to
`istrstream::~istrstream(void)'
../lib/.libs/libaspell.so: undefined reference to `istream::_skip_ws(void)'
../lib/.libs/libaspell.so: undefined reference to `__length_error(char
const *)'
*** Error code 1
During make test of libtool, one test fails:
$ make check 2>&1 | grep ^FAIL
FAIL: build-relink2.test
Best regards,
Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
- Undeclared shell vars cvs-HEAD BSDi 4.2,
Melvyn Sopacua <=