[uClibc]Compile problem: STLport

Martin Sieper msi at ngi-box.de
Tue Aug 6 09:37:32 UTC 2002


Hi there,

in the past I´m using Eric´s patch from the list to compile STLport successful.
But since uClibc-0.95.11 or so I can´t compile it. Now I fetched the current
CVS-tree and try again to compile STLport but it fails. Has someone an idea? 
What can I do to solve this problem?
I need realy this c++ library!

Here my compiler output:


patching file Makefile
patching file src/gcc-uClibc.mak
patching file src/num_put_float.cpp
patching file src/stdio_streambuf.cpp
patching file stlport/config/_prolog.h
patching file stlport/config/stl_gcc.h
patching file stlport/cstdlib
patching file stlport/stl/_config.h
patching file stlport/stl/_stdio_file.h
patching file stlport/stl/c_locale.h

 ====================================================================
 ==[ mkpkg: patching finished                      Exit-Status: 0 ]==
 ====================================================================


 ====================================================================
 ==[ mkpkg: configure finished                     Exit-Status: 0 ]==
 ====================================================================

rm -f lib/lib*
make -C src -f gcc-uClibc.mak all
make[1]: Entering directory `/kiss-linux/src/STLport-4.5.3/src'
mkdir -p ../lib/obj/GCC/ReleaseD
/usr/bin/g++ -W -Wno-sign-compare -Wno-unused -Wno-uninitialized  -D_STLP_NO_EXCEPTIONS -fno-exceptions -D_STLP_USE_UCLIBC -D_STLP_NO_WCHAR_T -DUSE_SPRINTF_INSTEAD -D_ISOC99_SOURCE -I../stlport -Os -fPIC dll_main.cpp -c -o ../lib/obj/GCC/ReleaseD/dll_main.o
In file included from /usr/include/../include/stdio.h:67,
                 from ../stlport/cstdio:31,
                 from ../stlport/stl/debug/_debug.c:238,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:35:
/usr/include/bits/uClibc_stdio.h:176: syntax error before `;'
/usr/include/bits/uClibc_stdio.h:184: syntax error before `;'
/usr/include/bits/uClibc_stdio.h:274: syntax error before `;'
In file included from ../stlport/stl/_streambuf.h:27,
                 from ../stlport/stl/_ios.c:28,
                 from ../stlport/stl/_ios.h:172,
                 from ../stlport/stl/_istream.h:27,
                 from ../stlport/istream:32,
                 from ../stlport/stl/_bitset.h:63,
                 from ../stlport/bitset:47,
                 from dll_main.cpp:47:
../stlport/stl/_stdio_file.h: In function `char * _STL::_FILE_I_next(const FILE *)':
../stlport/stl/_stdio_file.h:646: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `ptrdiff_t _STL::_FILE_I_avail(const FILE *)':
../stlport/stl/_stdio_file.h:654: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `char & _STL::_FILE_I_preincr(FILE *)':
../stlport/stl/_stdio_file.h:658: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `char & _STL::_FILE_I_postincr(FILE *)':
../stlport/stl/_stdio_file.h:662: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `char & _STL::_FILE_I_predecr(FILE *)':
../stlport/stl/_stdio_file.h:666: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `char & _STL::_FILE_I_postdecr(FILE *)':
../stlport/stl/_stdio_file.h:670: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `void _STL::_FILE_I_bump(FILE *, int)':
../stlport/stl/_stdio_file.h:673: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h: In function `void _STL::_FILE_I_set(FILE *, char *, char *, char *)':
../stlport/stl/_stdio_file.h:681: `struct _UC_FILE' has no member named `bufrpos'
../stlport/stl/_stdio_file.h:682: `struct _UC_FILE' has no member named `bufwpos'
make[1]: *** [../lib/obj/GCC/ReleaseD/dll_main.o] Error 1
make[1]: Leaving directory `/kiss-linux/src/STLport-4.5.3/src'
make: *** [all] Error 2

 ====================================================================
 ==[ mkpkg: compiling finished                     Exit-Status: 2 ]==
 ====================================================================

(cd lib; \
cp -a libstdc++.a /usr/lib; \
cp -a libstdc++.so libstdc++.so.0 libstdc++.so.4.5 /usr/lib;)
cannot stat `libstdc++.a': No such file or directory
cannot stat `libstdc++.so': No such file or directory
cannot stat `libstdc++.so.0': No such file or directory
cannot stat `libstdc++.so.4.5': No such file or directory
make: *** [install] Error 1

 ====================================================================
 ==[ mkpkg: installing finished                    Exit-Status: 2 ]==
 ====================================================================


-- 
Cordaily

Martin Sieper
 _______________________________________________________
| E-Mail ...................... msi at ngi-box.de          |
| Homepage .................... http://home.ngi.de/msi  |
|_______________________________________________________|



More information about the uClibc mailing list