Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 1997 09:45:58 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        spork@super-g.com (spork)
Cc:        questions@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Re: My source tree is broken
Message-ID:  <199706110015.JAA12641@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.BSF.3.95q.970610152312.26765A-100000@super-g.inch.com> from spork at "Jun 10, 97 03:30:09 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
spork stands accused of saying:
> Hi,
> 
> I've reinstalled and cvsup-ed my source tree to RELENG_2_2, and I'm
> getting errors like so:
> 
> In file included from /usr/src/usr.bin/make/make.h:67,
>                  from /usr/src/usr.bin/make/lst.lib/lstInt.h:47,
>                  from /usr/src/usr.bin/make/lst.lib/lstSucc.c:48:
> /usr/include/unistd.h:39: sys/cdefs.h: No such file or directory
> /usr/include/unistd.h:40: sys/types.h: No such file or directory
> /usr/include/unistd.h:41: sys/unistd.h: No such file or directory
> In file included from /usr/src/usr.bin/make/make.h:70,
>                  from /usr/src/usr.bin/make/lst.lib/lstInt.h:47,
>                  from /usr/src/usr.bin/make/lst.lib/lstSucc.c:48:
> /usr/src/usr.bin/make/lst.h:50: sys/param.h: No such file or directory
> mkdep: compile failed.
> *** Error code 1
> 
> Stop.
> 
> If I look around, I see for example a cdefs.h in
> /usr/src/sys/sys/cdefs.h...  which is the same place I find it on a
> working machine.  So it appears the "nonexistent" files are here, but
> they're not being found.  Compiling anything else yields similar
> results, so it seems to be a global problem, and probably a really
> dumb one at that...  What am I screwing up?  

Interesting.  Check that the /usr/include/sys symlink points to the right 
place; you may have moved things around.

> Charles

-- 
]] Mike Smith, Software Engineer        msmith@gsoft.com.au             [[
]] Genesis Software                     genesis@gsoft.com.au            [[
]] High-speed data acquisition and      (GSM mobile)     0411-222-496   [[
]] realtime instrument control.         (ph)          +61-8-8267-3493   [[
]] Unix hardware collector.             "Where are your PEZ?" The Tick  [[



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