Menu

#49 cannot compile htdig with gcc-3.0

resolved
closed-fixed
nobody
None
5
2002-01-04
2001-07-01
Anonymous
No

Compiling htdig 3.2.0b3 with gcc-3.0 on solaris
7 leads to a number of problems...

I had previously compiled 3.2.0b3 with
gcc-2.95, but all the htdig programs segfaulted
on startup. I figured this was bad things to
do with the c++ library.

So, I installed gcc-3 with the idea that that
would sort things out.

First, I couldn't get programs to link using
shared libraries. This could be a result of a
gcc bug, who knows?

Second, big files support doesn't work - again,
this seems to be a problem with gcc - it loses
the definitions of things like "fopen()" from
stdio.h

Third, gcc-3 seems to be a little more strict
about its interpretation of the c++ standard,
which leads to much more problems.

I have fumbled through a few easy problems but
my knowledge of c++ has got me stuck.

A quick look at the latest b4 snapshot suggests
that it has not seen gcc-3.0 either...

Discussion

  • Geoff Hutchison

    Geoff Hutchison - 2002-01-04
    • milestone: --> resolved
    • status: open --> closed-fixed
     
  • Geoff Hutchison

    Geoff Hutchison - 2002-01-04

    Logged In: YES
    user_id=21420

    There seem to be multiple bug reports here--compilation with
    gcc/g++ 3.0 certainly works. I have no idea whether current
    3.2.0b4 snapshots work IRT big files support in gcc 3.0, but
    this sounds like it's in the mifluz/Berkeley DB code.

    If these other issues are unresolved, please post another
    bug report.

     

Log in to post a comment.