Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I do not think that gcc 2.95.3 prere.eases uses sstream. I downloaded the patch, and it is the only thing that I noticed :) JMarc
Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Wai-Sun Chia <[EMAIL PROTECTED]> writes: | Ryan McBride | Lars> wrote: | > | | > /usr/include/g++/sstream: In method `class | Lars> string stringstreambase::str() const': | > | Lars> /usr/include/g++/sstream:102: taking dynamic typeid of object | Lars> with -fno-rtti | > /usr/include/g++/sstream:102: confused by | Lars> earlier errors, bailing out | | Hmm...looks like a combination | Lars> of gcc and glibc flakiness... | What version of gcc and glibc? | | Lars> The solution is probably to remove -fno-rtti from the compile | Lars> line. | | Yes, it seems that gcc 2.95.3 uses the sstream from newer versions. | What version does the prerelease report? I do not think that gcc 2.95.3 prere.eases uses sstream. Lgb
Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Wai-Sun Chia <[EMAIL PROTECTED]> writes: | Ryan McBride Lars> wrote: | > | | > /usr/include/g++/sstream: In method `class Lars> string stringstreambase::str() const': | > Lars> /usr/include/g++/sstream:102: taking dynamic typeid of object Lars> with -fno-rtti | > /usr/include/g++/sstream:102: confused by Lars> earlier errors, bailing out | | Hmm...looks like a combination Lars> of gcc and glibc flakiness... | What version of gcc and glibc? Lars> The solution is probably to remove -fno-rtti from the compile Lars> line. Yes, it seems that gcc 2.95.3 uses the sstream from newer versions. What version does the prerelease report? JMarc
Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
On Sun, Jan 07, 2001 at 01:30:37PM +0100, Lars Gullik Bjønnes wrote: > Wai-Sun Chia <[EMAIL PROTECTED]> writes: > > | Ryan McBride wrote: > | > > | > | > /usr/include/g++/sstream: In method `class string stringstreambase::str() const': > | > /usr/include/g++/sstream:102: taking dynamic typeid of object with -fno-rtti > | > /usr/include/g++/sstream:102: confused by earlier errors, bailing out > | > | Hmm...looks like a combination of gcc and glibc flakiness... > | What version of gcc and glibc? > > The solution is probably to remove -fno-rtti from the compile line. Excellent - this gets me almost to the very end :-) I get the following when g++ tries to link lyx: gettext.C:10: Undefined symbol `_gettext' referenced from text segment gettext.C:20: Undefined symbol `_gettext' referenced from text segment ../src/main.C:34: Undefined symbol `_bindtextdomain' referenced from text segment ../src/main.C:34: Undefined symbol `_textdomain' referenced from text segment collect2: ld returned 1 exit status gmake[3]: *** [lyx] Error 1 gmake[2]: *** [all-recursive] Error 1 gmake[1]: *** [all-recursive-am] Error 2 gmake: *** [all-recursive] Error 1 Thanks -Ryan -- Ryan McBride - [EMAIL PROTECTED] Systems Security Consultant Countersiege Systems Corporation - http://www.countersiege.com
Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
On Sun, Jan 07, 2001 at 02:16:05AM +0800, Wai-Sun Chia wrote: > Ryan McBride wrote: > > > /usr/include/g++/sstream: In method `class string stringstreambase::str() const': > > /usr/include/g++/sstream:102: taking dynamic typeid of object with -fno-rtti > > /usr/include/g++/sstream:102: confused by earlier errors, bailing out > > Hmm...looks like a combination of gcc and glibc flakiness... > What version of gcc and glibc? gcc version 2.95.3 19991030 (prerelease) OpenBSD provides it's own C libraries. -Ryan -- Ryan McBride - [EMAIL PROTECTED] Systems Security Consultant Countersiege Systems Corporation - http://www.countersiege.com
Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
Wai-Sun Chia <[EMAIL PROTECTED]> writes: | Ryan McBride wrote: | > | | > /usr/include/g++/sstream: In method `class string stringstreambase::str() const': | > /usr/include/g++/sstream:102: taking dynamic typeid of object with -fno-rtti | > /usr/include/g++/sstream:102: confused by earlier errors, bailing out | | Hmm...looks like a combination of gcc and glibc flakiness... | What version of gcc and glibc? The solution is probably to remove -fno-rtti from the compile line. Lgb
Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
Ryan McBride wrote: > > /usr/include/g++/sstream: In method `class string stringstreambase::str() const': > /usr/include/g++/sstream:102: taking dynamic typeid of object with -fno-rtti > /usr/include/g++/sstream:102: confused by earlier errors, bailing out Hmm...looks like a combination of gcc and glibc flakiness... What version of gcc and glibc? -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services
Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current
I've been trying for some time to get the newest version of lyx to work on my OpenBSD box. As far as I know, the last version which compiled properly on OpenBSD was 1.1.4 - the version in the OpenBSD ports tree is 1.0.0! When I try to compile, I get the following errors from gmake: In file included from ../../src/Lsstream.h:16, from formula.C:18: /usr/include/g++/sstream: In method `class string stringstreambase::str() const': /usr/include/g++/sstream:102: taking dynamic typeid of object with -fno-rtti /usr/include/g++/sstream:102: confused by earlier errors, bailing out gmake[3]: *** [formula.lo] Error 1 gmake[2]: *** [all-recursive] Error 1 gmake[1]: *** [all-recursive-am] Error 2 gmake: *** [all-recursive] Error 1 Does anyone know whats going wrong here? I configured it with: ./configure --with-extra-lib=/usr/local/lib --with-extra-inc=/usr/local/include ^^^ (necessary to get it to find libxform) My xforms is v 0.88 Thanks in advance for your help... -Ryan -- Ryan McBride - [EMAIL PROTECTED] Systems Security Consultant Countersiege Systems Corporation - http://www.countersiege.com