Error compiling nalfs-1.1.7 in alphaserver 1000a with debian 3.0

Neven Has haski at sezampro.yu
Sat Jun 14 14:49:40 PDT 2003


On Fri, Jun 13, 2003 at 09:51:26PM +1000, Soragan Guo wrote:
> Hi, I am not subscribe to this list.
> I have problem compiling nalfs-1.1.7 in alphaserver 1000a 5/400 with
> debian 3.0 installed
>  
> make[1]: Entering directory `/root/nALFS-1.1.7/src'
> make[2]: Entering directory `/root/nALFS-1.1.7/src/handlers'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/root/nALFS-1.1.7/src/handlers'
> gcc -g -O2 -I/usr/local/include/libxml2 -W -Wall -Wshadow -Winline
> -DHAVE_XINCLU
> DE -DHANDLERS_DIRECTORY=\"/usr/local/lib/nALFS/\" -I../src/  -c -o
> nalfs.o nalfs
> .c
> nalfs.c:4569: macro `va_start' used with too many (2) args
> nalfs.c:4616: macro `va_start' used with too many (2) args
> make[1]: *** [nalfs.o] Error 1
> make[1]: Leaving directory `/root/nALFS-1.1.7/src'
> make: *** [src] Error 2

Try the attached patch.


Neven
-------------- next part --------------
===== src/nalfs.c 1.105 vs edited =====
--- 1.105/src/nalfs.c	Fri Feb 28 16:24:40 2003
+++ edited/src/nalfs.c	Sat Jun 14 23:46:07 2003
@@ -36,8 +36,8 @@
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
-
 #include <varargs.h>
+#include <stdarg.h>
 
 #include <libxml/tree.h>
 #include <libxml/parser.h>


More information about the alfs-discuss mailing list