Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 23:02:52 +0000 (GMT)
From:      Daniel Flickinger <attila@hun.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        FreeBSD-CURRENT <current@freebsd.org>
Subject:   Re: 3+ days: syntax error in makedevs.c (sysinstall)
Message-ID:  <20021010230252.Kg3u53327@hun.org>
In-Reply-To: <20021010205604.GA28045@xor.obsecurity.org>
References:  <20021010201920.zsql51239@hun.org> <20021009030149.Juib29905@hun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sent: Thu, 10 Oct 2002 13:56:04 -0700 by Kris Kennaway

+ On Thu, Oct 10, 2002 at 08:19:20PM +0000, Daniel Flickinger wrote:
+
+ >     make $TFLG $TDEF installincludes >${CDATE}.installincludes.${RDATE} 2>&1 &&\
+ >       make $TFLG $TDEF $TOUT buildworld >${CDATE}.buildworld.${RDATE} 2>&1 &
+ >
+ >   which "should" take care of that ... Note that I also
+ >   update all includes.
+
+ The 'installincludes' thing appears to be unnecessary and can possibly
+ cause problems.

  well, you can rattle that around with phk, too! [g]

  installincludes puts the corresponding headers in
  place for the compiler. theoretically, buildworld
  -I declarations cover the game... but....

+ >   going for it manually:
+ >
+ >       cd usr.sbin/sysinstall
+ >       make clean
+ >       make depend
+ >       make all
+
+ This isn't enough..you have to 'make cleandir' (not 'make clean')
+ twice to remove all cruft from the obj and build dir (the first time
+ removes the obj dir completely, the second time picks up any remaining
+ cruft in the build directory itself.  Stale generated files in your
+ build directory can certainly cause buildworld failures.

  even if there are stray files after 'clean' (which there were
  not since I checked the obj tree, the function of 'depend' is
  to check the time stamps as well.

  running cleandir twice still left me after 'make all' with:

      makedevs.c:54: syntax error before ',' token
      makedevs.c:60: syntax error before ',' token
      *** Error code 1

  let's see what happens when I run in a fresh tree at 1400Z
  (about 2 hours from now).

  I've been tracking whatever "current" since 2.something on
  an 11/45 ... 20+ years ... _anything_ is possible.

  and, sysinstall is the least of the problems since I have
  one that's a week old.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010230252.Kg3u53327>