OpenOffice and uClibc?

Peter S. Mazinger ps.m at gmx.net
Fri Aug 25 22:17:14 UTC 2006


On Fri, 25 Aug 2006, Rupert Mazzucco wrote:

> Hello,
> 
> did somebody successfully compile a recent OpenOffice on a uclibc-0.9.28 
> system?  I have a 2.0.3 build failing at the first C++ file it compiles:
> 
>  ccache g++ -D_REENTRANT 
> -DGXX_INCLUDE_PATH=/pkg/gcc-4.1.1/usr/bin/../lib/gcc/i686-linux-uclibc/4.1.1/../../../../include/c++/4.1.1 
> -fexceptions -ftemplate-depth-32 -I../stlport -Wall -W -Wno-sign-compare 
> -Wno-unused -Wno-uninitialized  -O2 -fPIC dll_main.cpp -c -o 
> ../lib/obj/GCC/ReleaseD/dll_main.o
> ../stlport/stl/_stdio_file.h: In function 'int _STL::_FILE_fd(const FILE&)':
> ../stlport/stl/_stdio_file.h:246: error: 'const struct 
> __STDIO_FILE_STRUCT' has no member named '_fileno'
> ../stlport/stl/_stdio_file.h: In function 'char* 
> _STL::_FILE_I_begin(const FILE&)':
> ../stlport/stl/_stdio_file.h:247: error: 'const struct 
> __STDIO_FILE_STRUCT' has no member named '_IO_read_base'
> (many more errors about missing members)
> make: *** [../lib/obj/GCC/ReleaseD/dll_main.o] Error 1
> dmake:  Error code 2, while making 
> './unxlngi6.pro/misc/build/so_built_so_stlport'
> '---* tg_merge.mk *---'
> 
> ERROR: Error 65280 occurred while making /mnt/sda2/build/OOC680_m7/stlport
> dmake:  Error code 1, while making 'build_instsetoo_native'
> '---* *---'
> 
> Does this ring a bell with someone?
yes, the code is glibc centric

  I'm not at all sure that this is 
> related to uclibc, but I had to disable a configure check for glibc >= 
> 2.1.1 which kept failing (__FORCE_NOGLIBC or not), so now I'm wondering 
> if there maybe was a reason for this check after all.
> 
> Thanks,
> Rupert

disable everything _IO_* related at least, there was also something in 
perl related to _fileno iirc and a patch for uClibc

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list