Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 10:27:54 +0200
From:      "DA Forsyth" <d.forsyth@ru.ac.za>
To:        freebsd-questions@freebsd.org
Subject:   compile error, 7.2R
Message-ID:  <4A2E392A.11175.1330F112@d.forsyth.ru.ac.za>

next in thread | raw e-mail | index | archive | help
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/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2E392A.11175.1330F112>