On Mon, May 27, 2002 at 16:05:08 +0200, Jan-Hendrik Palic wrote: > for OpenOffice.org I need libstlport4.5-4.5.3 compiled with gcc-3.1, > because of switching the buildprozess to gcc-3.1 for OpenOffice.org. > > But it seems, that the std.includes were not found, I got errors like > this: > g++-3.1 -pthread -fexceptions -I../stlport -W -Wno-sign-compare > -Wno-unused -Wno-uninitialized -D_STLP_USE_GLIBC -O2 -fPIC dll_main.cpp > -c -o ../lib/obj/GCC-LINUX/ReleaseD/dll_main.o > In file included from stlport_prefix.h:28, > from dll_main.cpp:29: > ../stlport/ctime:25:44: ../g++-v31/ctime: No such file or directory
This looks like a problem in libstlport. Why is it looking for a system include (ctime) in a local directory? > Can anyone give me a hint, what I should add/drop for includes. The ctime header for g++-3.1 /usr/include/g++-v3-3.1/ctime (included in the libstdc++4-dev package); simply specifying #include <ctime> ought to work (see `g++-3.1 -v`). HTH, Ray -- Pinky, Are You Pondering What I'm Pondering? I think so Brain, but who wants to see Snow White and the Seven Samuri? Pinky and the Brain in "Big in Japan" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]