buildworld fails with libmd error

oHmEr ohmer at epita.info
Mon Sep 12 06:09:07 PDT 2005


On Mon, 12 Sep 2005 18:23:42 +0000
Patrick Clery <Patrick.Clery at 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


More information about the freebsd-stable mailing list