Hennie Rautenbach writes:
Sam Varshavchik wrote:
The error message tells you exactly what the problem is. What exactly
is your question?
Thanks. Your response was most helpful.
I have since progressed beyond this error by adapting the configure
script. I now end up with the following error during the make process:
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/local/BerkeleyDB.3.3/include -I/usr/i
nclude -I/usr/local/ssl/include -I/usr/local/include -g -O2 -Wall -I..
-I./.. -c `test -f
'debug.c' || echo './'`debug.c
debug.c: In function `auth_debug_login':
debug.c:54: `__builtin_va_alist' undeclared (first use in this function)
debug.c:54: (Each undeclared identifier is reported only once
debug.c:54: for each function it appears in.)
debug.c:47: warning: `ap' might be used uninitialized in this function
debug.c: In function `auth_debug':
debug.c:79: warning: subscript has type `char'
gmake[2]: *** [debug.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/courier-imap-3.0.3/authlib'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/courier-imap-3.0.3/authlib'
gmake: *** [all-recursive] Error 1
mirror[hennie:/usr/local/src/courier-imap-3.0.3]e
Perhaps the collective wisdom of this forum can guide me further ?
Much obliged !
Lines 53-54 of authlib/debug.c read as follows:
va_list ap;
int rc;
va_list is defined in stdarg.h. It appears that your stdarg.h header file
defines va_list as __builtin_va_alist, however that data type is not itself
defined, or is unrecognized by the compiler.
I believe that your C compiler installation is corrupted or bad. The fact
that you appear to be invoking the compiler as â/opt/fsw/bin/gccâ tells me
that you're not using your system's native compiler, but something that was
installed ex-post-facto.
The most likely explanation is that your add-on compiler was either not
installed or configured properly, and it's reading the native system
compiler's header files, instead of its own header files, so you have a
mismatch between your compiler and your header files. Review the
documentation for installing your add-on compiler, perhaps you missed a step
or two.
pgpPHUKjl41pQ.pgp
Description: PGP signature