When doing a `make buildworld`, I get the following error: <<<EOD ===> sbin/md5 rm -f .depend CC='/usr/bin/cc' mkdep -f .depend -a /usr/src/sbin/md5/md5.c /usr/src/sbin/md5/md5.c:30:20: sha256.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/sbin/md5. *** Error code 1 Stop in /usr/src/sbin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. EOD; /usr/src/lib/libmd/sha256.h does exist. Perhaps the include paths are wrong? The current system is 5.4-STABLE as of Wed May 11 16:55:26 MDT 2005. However, I did run cvsup and sync to the latest -STABLE before buildworld today, as well as running `make clean` in /usr/src.
On Mon, 12 Sep 2005 18:23:42 +0000 Patrick Clery <Patrick.Clery@gmail.com> wrote:> When doing a `make buildworld`, I get the following error: > > > <<<EOD > > ===> sbin/md5 > rm -f .depend > CC='/usr/bin/cc' mkdep -f .depend -a /usr/src/sbin/md5/md5.c > /usr/src/sbin/md5/md5.c:30:20: sha256.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sbin/md5. > *** Error code 1 > > Stop in /usr/src/sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. >sha256 is now in the base system but your /usr/include isn't up to date. simply copy /usr/src/lib/libmd/sha256.h to /usr/include to solve the problem. i think it should be written in /usr/src/UPDATING. -- Matthieu Michaud | EPITA 2007 Phone: +33 6 13 40 49 29
On Mon, Sep 12, 2005 at 06:23:42PM +0000, Patrick Clery wrote:> When doing a `make buildworld`, I get the following error: > > > <<<EOD > > ===> sbin/md5 > rm -f .depend > CC='/usr/bin/cc' mkdep -f .depend -a /usr/src/sbin/md5/md5.c > /usr/src/sbin/md5/md5.c:30:20: sha256.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sbin/md5. > *** Error code 1 > > Stop in /usr/src/sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > EOD; > > > > /usr/src/lib/libmd/sha256.h does exist. Perhaps the include paths are wrong? > > The current system is 5.4-STABLE as of Wed May 11 16:55:26 MDT 2005. However, > I did run cvsup and sync to the latest -STABLE before buildworld today, as > well as running `make clean` in /usr/src. >During the buildworld, a new compile is built and is supposed to be used. The CC='/usr/bin/cc' above prevents this from happening. Most likely it comes from /etc/make.conf. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050913/c4c3865f/attachment.bin