

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
5 messages in net.sourceforge.lists.courier-maildrop[maildropl] Compiling on FreeBSD| From | Sent On | Attachments |
|---|---|---|
| Petri Riihikallio | Sep 17, 2003 6:49 am | |
| Evren Yurtesen | Sep 17, 2003 2:09 pm | |
| Paul Dlug | Sep 18, 2003 6:03 am | .diff |
| Petri Riihikallio | Sep 19, 2003 1:37 pm | |
| Paul Dlug | Sep 20, 2003 8:43 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Compiling on FreeBSD | Actions... |
|---|---|---|
| From: | Petri Riihikallio (Petr...@Metis.fi) | |
| Date: | Sep 17, 2003 6:49:40 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hello list
Excuse me for posting this without looking through the archives, but the SourceForge archive is down.
I am trying to compile Maildrop 1.6.1 on FreeBSD 4.8. It used to compile earlier (a year ago?) but at that time I didn't have time to learn to use it. Now I believe I would.
Configure runs clean, but there seems to be some kind of a conflict with the C++ libraries. I am next to clueless with C++ so I need help.
Here is the error output:
armada:~/maildrop-1.6.1$uname -a FreeBSD armada.metis.fi 4.8-RELEASE-p5 FreeBSD 4.8-RELEASE-p5 #0: Wed Sep 17 01:29:21 EEST 2003 pe...@armada.metis.fi:/usr/obj/usr/src/sys/ARMADA i386 armada:~/maildrop-1.6.1$MAKE=gmake ./configure ...snip.... armada:~/maildrop-1.6.1$gmake > make.stuff maildirwatch.c: In function `maildirwatch_end': maildirwatch.c:556: warning: unused variable `w' 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 `template <class _Tp> const _Tp & min(const _Tp &, const _Tp &)' /usr/include/g++/stl_algobase.h:103: `template <class _Tp, class _Compare> const _Tp & min(const _Tp &, const _Tp &, _Compare)' 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:103: conflicts with function declaration `template <class _Tp, class _Compare> const _Tp & min(const _Tp &, const _Tp &, _Compare)' /usr/include/g++/stl_algobase.h: In function `bool lexicographical_compare(const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)': /usr/include/g++/stl_algobase.h:442: no match for call to `(MioStdio) (const size_t &, const size_t &)' /usr/include/g++/stl_algobase.h: In function `int __lexicographical_compare_3way(const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)': /usr/include/g++/stl_algobase.h:490: no match for call to `(MioStdio) (const ptrdiff_t &, const ptrdiff_t &)' gmake[2]: *** [maildir.o] Error 1 gmake[1]: *** [all] Error 2 gmake: *** [all-recursive] Error 1 armada:~/maildrop-1.6.1$
I am using gmake 3.80_1 from the FreeBSD ports collection. I can compile and install Courier IMAP fine, so the problem shoudn't be my environment. FreeBSD 4.8 gcc is at version 2.95.4.
I can post the contents of /usr/include/g++/stl_algobase.h if it helps. If I have left out some crucial bit of information please point it out.
Thank you for any help!
-- Cheers, Petri
Metis / Petri Riihikallio GSM: +358 400 505 939








.diff