On 03/31/11 17:53, Bruno Haible wrote:
Bruce Korb wrote:
> rm -f stdlib.h-t stdlib.h&& \
> { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'&& \
Your Makefile is definitely not correctly generated.....
It helps a lot to spell the configure macro correctly. :) Thanks.
Meanwhile, I also brought my local libposix current with the master.
More fun. If an immediate bell gets rung, please advise. Otherwise,
I'll look into it as time permits. Thanks again! Regards, Bruce
"make check" failure:
/bin/sh ../libtool --tag=CC --preserve-dup-deps --mode=link gcc -std=gnu99 -g
-O2 -o test-vsprintf-posix test-vsprintf-posix.o libtests.a
../lib/libposix.la libtests.a
libtool: link: gcc -std=gnu99 -g -O2 -o .libs/test-vsprintf-posix
test-vsprintf-posix.o libtests.a ../lib/.libs/libposix.so -lrt -lm libtests.a
-Wl,-rpath
-Wl,/old-home/gnu/proj/gnulib-posix/libposix/_b/libposix-0.0.5093-16648/_inst/lib
depbase=`echo test-wchar-c++.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../tests -I.. -DIN_LIBPOSIX_GNULIB_TESTS=1 -I.
-I../../tests -I.. -I../../tests/.. -I../lib -I../../tests/../lib -MT
test-wchar-c++.o -MD -MP -MF $depbase.Tpo -c -o test-wchar-c++.o
../../tests/test-wchar-c++.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ../../tests/test-wchar-c++.cc:22:0:
../lib/wchar.h:750:1: error: no matches converting function 'wmemchr' to type
'wchar_t* (*)(const wchar_t*, wchar_t, size_t)'
/usr/include/wchar.h:311:23: error: candidates are: wchar_t* wmemchr(wchar_t*,
wchar_t, size_t)
/usr/include/wchar.h:313:31: error: const wchar_t*
wmemchr(const wchar_t*, wchar_t, size_t)
../lib/wchar.h:751:1: error: type of 'wmemchr' is unknown
../lib/wchar.h:751:27: error: invalid type in declaration before ';' token
../lib/wchar.h:751:27: error: 'int wmemchr' redeclared as different kind of
symbol
/usr/include/wchar.h:313:31: error: previous declaration of 'const wchar_t*
wmemchr(const wchar_t*, wchar_t, size_t)'
../lib/wchar.h:1176:1: error: no matches converting function 'wcsstr' to type
'wchar_t* (*)(const wchar_t*, const wchar_t*)'
/usr/include/wchar.h:268:23: error: candidates are: wchar_t* wcsstr(wchar_t*,
const wchar_t*)
/usr/include/wchar.h:270:31: error: const wchar_t* wcsstr(const
wchar_t*, const wchar_t*)
../lib/wchar.h:1178:1: error: type of 'wcsstr' is unknown
../lib/wchar.h:1178:26: error: invalid type in declaration before ';' token
../lib/wchar.h:1178:26: error: 'int wcsstr' redeclared as different kind of
symbol
/usr/include/wchar.h:270:31: error: previous declaration of 'const wchar_t*
wcsstr(const wchar_t*, const wchar_t*)'
make[5]: *** [test-wchar-c++.o] Error 1
make[5]: Leaving directory
`/old-home/gnu/proj/gnulib-posix/libposix/_b/libposix-0.0.5093-16648/_build/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/old-home/gnu/proj/gnulib-posix/libposix/_b/libposix-0.0.5093-16648/_build/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/old-home/gnu/proj/gnulib-posix/libposix/_b/libposix-0.0.5093-16648/_build/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory
`/old-home/gnu/proj/gnulib-posix/libposix/_b/libposix-0.0.5093-16648/_build/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/old-home/gnu/proj/gnulib-posix/libposix/_b/libposix-0.0.5093-16648/_build'
make: *** [distcheck] Error 1
mk-tarball failure: make distcheck
Terminated