On Fri, 2003-10-24 at 08:59, Mitch (WebCob) wrote:
> Found one other reference to something similar... seems to have to do with
> my gcc 2.95.4 - I know this is off topic, but the last time I tried to
> switch compilers it got REALLY nasty - anyone made a recent version work on
> FreeBSD 4.8?
> 
[snip]

As you can see below, gcc expects something different in the g++
headers.  Your gcc (2.95.4) is getting really old, so it looks like that
is the cause of your compilation issue (my Gentoo and RedHat boxes are
all running at least gcc version 3.2.2 or better).  I just ran across a
similar issue recently on an old RedHat 6.2 machine that still has
kernel 2.2.18 and gcc 2.96 - I couldn't even compile a 2.2.20 kernel on
that machine because gcc was too old...

I'm not sure how far you'd have to go back in terms of courier code, but
I'd recommend upgrading your gcc/glibc if you can.  Doesn't *BSD use
ports?  You should be able to upgrade your system base and gcc
toolchain; you may have to bootstrap the gcc stuff (I'm not a BSD guy,
but I'll bet it's not to different form Gentoo/portage).

HTH, Steve

> Compiling maildir.C
> In file included from /usr/include/g++/stl_tree.h:56,
>                  from /usr/include/g++/set:31,
>                  from ../maildir/maildirkeywords.h:435,
>                  from maildir.C:28:
> /usr/include/g++/stl_algobase.h:91: `template <class _Tp> const _Tp &
> min(const _Tp &, const _Tp &)' redeclared as different kind of symbol
> mio.h:80: previous declaration of `class MioStdio min'
> mio.h:80: previous non-function declaration `class MioStdio min'
> /usr/include/g++/stl_algobase.h:91: conflicts with function declaration


-- 
Stephen Arnold <[EMAIL PROTECTED]>
ENSCO, Inc.



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to