On a hunch, I moved the types.h include to precede the dirent.h include in
operator-list.cc. This got me further, failing with:
/usr/include/gcc/darwin/3.1/g++-v3/ppc-darwin/bits/atomicity.h: In member
function `void Binc::Session::exportToEnv()':
/usr/include/gcc/darwin/3.1/g++-v3/ppc-darwin/bits/atomicity.h:59: `asm'
operand requires impossible reload
make[2]: *** [session.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
My reading/Googling turns up these notions about the "`asm' operand requires
impossible reload" message:
1. "[This error] will be generated if a block of code uses too many
registers. If this situation occurs, examine asm() statements and macros
(such as the circular buffer macros) which contain asm() statements."
2. "Since GCC cannot check the assembler syntax, you can do anything
within an assembler asm() statement. However, please note, that GCC does not
use r0, r2, or r3. Therefore, if you mention one of these registers as an
output parameter in an asm() statement, or as an alias for register
variable, GCC will substitute some another register instead. Using r0, r2,
or r3 as input parameters will result in [this error]."
I'd hoped these would help. But unfortunately, I can't find any asm
statements in your code. The atomicity.h file is short and GPL. If you like,
I can send you a copy of the version installed with OS X. It's different
from the i386 version.
Finally, I've tried compiling on a Beige G3 MT running 10.2.5, a Dual 450 G4
running 10.2.5 and on a TiBook 800 running 10.2.6. Same errors. I'm now
stumped (and in over my head).
-B...
>>> Binc IMAP 1.1.9 is finally here [...]
>>
>> Thanks Andy [...]
>
> Yes! Thanks! I subscribed less than two hours ago so that I could catch this
> notification.
>
> My compile on a Beige G3 MT running qmail on OS X (10.2.5) has just failed.