From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 08:27:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B2811065675 for ; Tue, 9 Jun 2009 08:27:57 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id BBDD28FC15 for ; Tue, 9 Jun 2009 08:27:56 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:64649) by b.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MDwgV-000Kpm-18 for freebsd-questions@freebsd.org; Tue, 09 Jun 2009 10:27:55 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MDwgU-000Lmt-VZ for freebsd-questions@freebsd.org; Tue, 09 Jun 2009 10:27:54 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Tue, 09 Jun 2009 10:27:54 +0200 MIME-Version: 1.0 Message-ID: <4A2E392A.11175.1330F112@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: b.mail.ru.ac.za (146.231.129.34) Subject: compile error, 7.2R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 08:27:57 -0000 Hiya all I am trying to compile 7.2 on a box currently running 7.1 which was compiled from 7.0 (in fact way back to 5.2.1) make buildworld and make kernel-toolchain both produce this error mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include config.c /usr/src/usr.sbin/config/main.c lang.c /usr/src/usr.sbin/config/mkmakefile.c /usr/src/usr.sbin/config/mkheaders.c /usr/src/usr.sbin/config/mkoptions.c kernconf.c /usr/src/usr.sbin/config/config.y:81:20: error: config.h: No such file or directory /usr/src/usr.sbin/config/main.c:59:19: error: y.tab.h: No such file or directory /usr/src/usr.sbin/config/lang.l:38:20: error: config.h: No such file or directory /usr/src/usr.sbin/config/mkmakefile.c:49:19: error: y.tab.h: No such file or directory /usr/src/usr.sbin/config/mkheaders.c:48:19: error: y.tab.h: No such file or directory /usr/src/usr.sbin/config/mkoptions.c:49:19: error: y.tab.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/usr.sbin/config. *** Error code 1 I did do a cvsup this morning which did not update anything. I have configured a new kernel, but not built it yet as I always build world first according to the instructions in /usr/src/UPDATING. That folder contains lergy-/usr/src/usr.sbin/config > ls -l total 102 -rw-r--r-- 1 root wheel 516 Apr 15 05:14 Makefile drwxr-xr-x 2 root wheel 512 Jul 21 2005 SMM.doc/ -rw-r--r-- 1 root wheel 10871 Apr 15 05:14 config.5 -rw-r--r-- 1 root wheel 7454 Apr 15 05:14 config.8 -rw-r--r-- 1 root wheel 5629 Apr 15 05:14 config.h -rw-r--r-- 1 root wheel 8936 Apr 15 05:14 config.y -rw-r--r-- 1 root wheel 2413 Apr 15 05:14 configvers.h -rw-r--r-- 1 root wheel 542 Apr 15 05:14 kernconf.tmpl -rw-r--r-- 1 root wheel 6918 Apr 15 05:14 lang.l -rw-r--r-- 1 root wheel 16212 Apr 15 05:14 main.c -rw-r--r-- 1 root wheel 2305 Apr 15 05:14 mkheaders.c -rw-r--r-- 1 root wheel 17706 Apr 15 05:14 mkmakefile.c -rw-r--r-- 1 root wheel 8472 Apr 15 05:14 mkoptions.c and config.h does exist, so the error message makes no sense at all. Any solutions? -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/