Am Dienstag, 17. Juni 2003 07:01 schrieb Martin Konold:
Hi,
> When trying to build imapd you get
>
> In file included from com_err.c:54:
> /kolab/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/varargs.h:4:2: #error "GCC
> no longer implements <varargs.h>."
> /kolab/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/varargs.h:5:2: #error
> "Revise your code to use <stdarg.h>."
This simple patch did help to work around the problem for me. Shouldn't
HAVE_STDARG_H been defined somewhere else?
[EMAIL PROTECTED] diff -u imapd.spec.orig imapd.spec
--- imapd.spec.orig Tue Jun 17 07:16:06 2003
+++ imapd.spec Tue Jun 17 07:16:23 2003
@@ -117,7 +117,7 @@
%endif
%build
- cflags="%{l_cppflags}"
+ cflags="%{l_cppflags} -D HAVE_STDARG_H"
ldflags="%{l_ldflags} `%{l_prefix}/bin/fsl-config --all --ldflags`"
case "%{l_target}" in
*-solaris* ) ldflags="$ldflags -lsocket -lnsl" ;;
Yours,
-- martin
Dipl.-Phys. Martin Konold
e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Nobelstrasse 15, 70569 Stuttgart, Germany
fon: 0711 67400963, fax: 0711 67400959
email: [EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]