Subject: Re: build -current fails
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 07/05/2007 21:00:08
In article <20070705175836.GA27077@think.makhraj.net>,
Ja'far Railton <ibn.richard@gmail.com> wrote:
>
>Hello 
>
>I've had no luck building -current currently.
>
>o I have done make distclean in /usr/src/.
>o I have started with an empty build directory (/usr/obj/usr)
>o I have updated via cvs quite a few times.
>o I am not using a mk.conf in /etc. 
>
>Here is the error:
>

Are you sure you have hostapd_cli.c:1.2?

RCS file: /cvsroot/src/dist/hostapd/hostapd_cli.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hostapd_cli.c       12 Apr 2006 15:20:26 -0000      1.1
+++ hostapd_cli.c       9 Nov 2006 20:12:29 -0000       1.2
@@ -432,7 +432,7 @@
 
 static void hostapd_cli_interactive(void)
 {
-       const int max_args = 10;
+#define max_args 10
        char cmd[256], *res, *argv[max_args], *pos;
        int argc;
 

christos