Re: error in stlport while building 1.1.5 (linux)

Rene Engelhard <[email protected]>
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
Hi,

Am Donnerstag, 11. August 2005 10:27 schrieb Hristo Simenov Hristov:
> I'm tring to build 1.1.5 but I get this error while compiling. Anybody to
> help?

Before getting to the real error: g++ 3.4 AFAIS won't work with 1.1.5 proper, 
it at leasst didn't with 1.1.4...

[ useless tar output snipped. Can  tht be left out please? ]

> touch so_built_so_stlport
> mkdir -p ../lib/obj/GCC/ReleaseD
> /home/icobgr/openOffice/build/build_1.1.5/BuildDir/bin/ccache /usr/bin/g++
> -D_REENTRANT
> 
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3 
-fexceptions -I../stlport -Wall -W -Wno-sign-compare

note the "linux" here ...

> -Wno-unused
> -Wno-uninitialized -ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c
> -o ../lib/obj/GCC/ReleaseD/dll_main.o
> In file included from stlport_prefix.h:28,
>                  from dll_main.cpp:34:
> ../stlport/ctime:25:44:
> /usr/lib/gcc/i586-mandrake-1-gnu/3.4.3/../../../../include/c++/3.4.3/ctime:
> No such file or directory

... and the 1 here.

[ more unneeded stuff deleted ]

linux is defined by glibc/gcc to 1 apparently so stlport somehow subsitutes 
linux to 1.

See 
http://external.openoffice.org/source/browse/external/stlport/STLport-4.5.patch?rev=1.23&content-type=text/vnd.viewcvs-markup 
(that revision is for 1.9.x actually) to see how to work aound it.

Regards,

Rene
-- 
René Engelhard -- Debian GNU/Linux Developer -- Debian OOo Maintainer-Team
http://www.debian.org | http://people.debian.org/~rene/ | [email protected]
http://openoffice.debian.net | [email protected]
GPG: 248AEB73 | Fingerprint: 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.