Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2002 23:38:54 +0100 (CET)
From:      Martin Blapp <mb@imp.ch>
To:        <pmarquis@pobox.com>, <hackers@freebsd.org>
Subject:   STLPORT and gcc3 (openoffice porting)
Message-ID:  <20020317232850.P387-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

Hi all,

I'm desperatly looking for a way to compile the stlport with gcc3.2
or gcc3.1 from ports. If you know a way to do this, please tell me.

If my understanding is right, I have to build the stlport within the
openoffice port and cannot use the FreeBSD ports version, since this
is compiled with old buggy gcc295.

Ok, so I decided to make a build infrastructure for gcc32. But at the
moment I'm stuck with this:

cd ./unxfbsd.pro/misc/build/STLport-4.5/src && gmake -f gcc-3.0.mak && touch
so_built
g++32 -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized
-ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c -o
../lib/obj/GCCi386/ReleaseD/dll_main.o
In file included from stlport_prefix.h:28,
                 from dll_main.cpp:34:
../stlport/ctime:25:44: ../g++-v3/ctime: No such file or directory

Making a symlink doesn't help:

mkdir ./unxfbsd.pro/misc/build/STLport-4.5/src
mkdir: ./unxfbsd.pro/misc/build/STLport-4.5/src: File exists
cd ./unxfbsd.pro/misc/build/STLport-4.5/src && gmake -f gcc-3.0.mak && touch
so_built
g++32 -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized
-ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c -o
../lib/obj/GCCi386/ReleaseD/dll_main.o
In file included from ../stlport/stl/_cwchar.h:31,
                 from ../stlport/cwchar:24,
                 from ../stlport/stl/char_traits.h:31,
                 from ../stlport/stl/_iosfwd.h:22,
                 from ../stlport/iosfwd:33,
                 from ../stlport/stl/_string_fwd.h:23,
                 from ../stlport/stl/_string.h:31,
                 from ../stlport/string:42,
                 from dll_main.cpp:45:
../g++-v3/cwchar:69: `mbstate_t' not declared

I get a different error then ...

Anybody knows what I could do ?
Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020317232850.P387-100000>