On Fri, 15 Aug 2003, Bruce A. Burdick, Jr. wrote:
>> Try compiling it without optimization - just replace all -O2 in
>> src/Makefile with -O0 and make clean, make. I wonder if this last
>> problem is due to a compiler bug or not..
>Removing optimizations yields this failure:
>ld: multiple definitions of symbol (anonymous
>namespace)::fillBuffer(__sFILE*)
Since the function in mime-utils.h is not in use, I suggest you try to
remove it:
diff -u -r1.2 mime-utils.h
--- src/mime-utils.h 22 Jul 2003 17:41:53 -0000 1.2
+++ src/mime-utils.h 15 Aug 2003 17:34:08 -0000
@@ -77,14 +77,6 @@
static char *pointer;
static int buffersize;
- int fillBuffer(FILE *fp)
- {
- if ((buffersize = fread(ringbuffer, 1, sizeof(ringbuffer), fp)) == 0)
- return EOF;
-
- pointer = ringbuffer;
- return 0;
- }
// read one character from the input file. pass the data as a pure
// CRLF text file, regardless of what the source is.
--8<-- patch ends before this line --8<--
Thanks for the patch to operator-list.cc - it's in now.
Lets see if we can get this stuff to compile! :-)
Andy :-)
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | "It is better not to do something
| than to do it poorly."