Re: Complile problem with lyx-1.1.6pre3 & OpenBSD 2.8-current

2001-01-08 Thread Jean-Marc Lasgouttes

> "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

2001-01-08 Thread Lars Gullik Bjønnes

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

2001-01-08 Thread Jean-Marc Lasgouttes

> "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

2001-01-07 Thread Ryan McBride

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

2001-01-07 Thread Ryan McBride

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

2001-01-07 Thread Lars Gullik Bjønnes

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

2001-01-07 Thread Wai-Sun Chia

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