Failure to compile world

Alex Kuster vertexSymphony at
Tue Dec 20 05:36:49 UTC 2011

On 12/20/2011 01:52, Garrett Cooper wrote:
> On Mon, Dec 19, 2011 at 7:31 PM, Alex Kuster<vertexSymphony at>  wrote:
>> A follow-up on this is libc not building because of missing
>> apparently the Makefile doesn't include /sys/ into the includes of the libc.
>> My current version (/usr/include/netinet/sctp.h) lacks that definition, it
>> should look in the headers of the source, not the current system headers ...
>> so I just added that to the Makefile ( lib/libc/net/ ).
>> I'm leaving note if anyone else experiences the same problem.
>      Please file a PR for this and other similar build issues. The
> mantra I've gotten in the past is that "builds aren't guaranteed to
> work in a subdirs", but I would really like for this to become a
> reality because I really wouldn't want to have to installworld (or
> installincludes) a whole system just to get some headers installed for
> a trivial program in the base system :).
>      Just to make sure though, did you do make depend all , or just make all?
> Thanks!
> -Garrett

Hi Garett ... Well, those issues were raised by a simple "make 
buildworld" in the traditional /usr/src
When I found the first issue with libc i just went to /usr/src/lib/libc, 
fixed and ran a make in there, so the second issue appeared and libc was 
built with no problems.

Now I'm facing another one which I'll find out and see how to fix to get 
a compiling/working system.

Thanks for your time!

P.S → I didn't know about installincludes, I'll read about that

P.S 2 → I never-ever-ever filed a PR

More information about the freebsd-current mailing list