Failure to compile world
Garrett Cooper
yanegomi at gmail.com
Tue Dec 20 09:13:51 UTC 2011
On Mon, Dec 19, 2011 at 9:36 PM, Alex Kuster <vertexSymphony at zoho.com> wrote:
> 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.
Hmm.. yeah, that's a bug then.
> Now I'm facing another one which I'll find out and see how to fix to get a
> compiling/working system.
Ok.
> Thanks for your time!
Np!
> P.S → I didn't know about installincludes, I'll read about that
make distribution does more than that too (and mergemaster runs that).
man build has some other interesting tricks that may or may not be of
value to you.
> P.S 2 → I never-ever-ever filed a PR
http://www.freebsd.org/send-pr.html
Cheers!
-Garrett
More information about the freebsd-current
mailing list