From nuno.salta at fe.up.pt Fri Mar 2 01:41:47 2007 From: nuno.salta at fe.up.pt (Nuno Salta) Date: Fri, 02 Mar 2007 09:41:47 +0000 Subject: [xcp] Make Error Message-ID: <20070302094147.4plg4t2bz28wksk0@webmail.fe.up.pt> Hi, I'm trying to make the xcptools and I'm getting an error on stdio.h, line 331: ------------- gcc -I../../sys -g Wall xserver.c -o xserver In file included from xserver.c:52: /usr/include/stdio.h:331: error: syntax error before "__format_arg" *** Error code 1 Stop in /usr/xcp_FreeBSD-6.0/sbin/xcptools -------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-keys Size: 1734 bytes Desc: PGP Public Key Url : http://mailman.isi.edu/pipermail/xcp/attachments/20070302/30a0fedc/attachment.bin From yuri at ISI.EDU Fri Mar 2 07:53:37 2007 From: yuri at ISI.EDU (Yuri Pradkin) Date: Fri, 2 Mar 2007 07:53:37 -0800 Subject: [xcp] Make Error In-Reply-To: <20070302094147.4plg4t2bz28wksk0@webmail.fe.up.pt> References: <20070302094147.4plg4t2bz28wksk0@webmail.fe.up.pt> Message-ID: <20070302155337.GA19888@yap.isi.edu> Make sure you're compiling it using gcc/libc that come with FreeBSD 6.0. I haven't seen this error, I suspect that you have a version mismatch. -Yuri On Fri, Mar 02, 2007 at 09:41:47AM +0000, Nuno Salta wrote: > Hi, > > I'm trying to make the xcptools and I'm getting an error on stdio.h, line > 331: > ------------- > gcc -I../../sys -g Wall xserver.c -o xserver > In file included from xserver.c:52: > /usr/include/stdio.h:331: error: syntax error before "__format_arg" > *** Error code 1 > > Stop in /usr/xcp_FreeBSD-6.0/sbin/xcptools >