Moin!

I'm having problems compiling bincimap-1.1.8 under MacOS X 10.2 (Jaguar).

First problem is that there somehow is a header missing in operator-list.cc. After I added :
#include <sys/types.h>
this was solved.


Another problem was that there is a missing headerfile that bincimapd-module.cc requires (dlfcn.h). I could get around this problem by including the headerfiles of the fink project (http://fink.sourceforge.net) as CPPFLAGS (export CPPFLAGS=-I/sw/include), so this was solved also.

The biggest problem however I have and I have not solved this is that when it finally comes to linking the binary this fails with the following error message:
g++ -g -O2 -o bincimapd bincimapd.o broker.o depot.o exceptions.o pendingupdates.o session.o bincimapd-module.o liboperators_nonauth.a liboperators_auth.a liboperators_selected.a -Lparsers/imap -limapparser -Lparsers/imap/recursivedescent -lrecursivedescent -Lparsers/storage -lstorage -Lparsers/args -largs -Lmailbox/maildir -lmaildir -Lmailbox -lmailbox -lstatus -Lparsers/mime -lmime -Lio -lio -Lutil -lutil
ld: warning table of contents of library: parsers/mime/libmime.a not sorted slower link editing will result (use the ranlib(1) -s option)
ld: multiple definitions of symbol (anonymous namespace)::fillBuffer(__sFILE*)
parsers/mime/libmime.a(mime-parsefull.o) definition of (anonymous namespace)::fillBuffer(__sFILE*) in section (__TEXT,__text)
parsers/mime/libmime.a(mime-parseonlyheader.o) definition of (anonymous namespace)::fillBuffer(__sFILE*) in section (__TEXT,__text)
parsers/mime/libmime.a(mime-printbody.o) definition of (anonymous namespace)::fillBuffer(__sFILE*) in section (__TEXT,__text)
parsers/mime/libmime.a(mime-printdoc.o) definition of (anonymous namespace)::fillBuffer(__sFILE*) in section (__TEXT,__text)
parsers/mime/libmime.a(mime-printheader.o) definition of (anonymous namespace)::fillBuffer(__sFILE*) in section (__TEXT,__text)
make[3]: *** [bincimapd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


The compiler used is the one supplied with the Apple Developer tools:
[EMAIL PROTECTED]:~/source/bincimap-1.1.8$ cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)


Can some kind soul help me out there?

So long
-Ralf
---
___ ___ ___ ___
\C/ \O/ \L/ \T/   Ralf Weber
 V   V   V   V    System Administrator
we make business  COLT Telecom GmbH
straight.forward  IP Services



Reply via email to