Re: Failure to compile world

From: Alex Kuster <vertexSymphony_at_zoho.com>
Date: Tue, 20 Dec 2011 02:36:44 -0300
On 12/20/2011 01:52, Garrett Cooper wrote:
> On Mon, Dec 19, 2011 at 7:31 PM, Alex Kuster<vertexSymphony_at_zoho.com>  wrote:
>> A follow-up on this is libc not building because of missing
>> SCTP_REMOTE_UDP_ENCAPS_PORT
>> 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/Makefile.inc ).
>>
>> 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
Received on Tue Dec 20 2011 - 04:36:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC