[OmniOS-discuss] trouble compiling OmniOS

Theo Schlossnagle jesus at omniti.com
Wed Mar 20 10:16:24 EDT 2013


On Wed, Mar 20, 2013 at 10:06 AM, Kent Watsen <kent at watsen.net> wrote:

> But one thing I can't figure out is how to set the "PROTO_AREA" variable.
> The original Makefile has:
>
> PROTO_AREA =   $(PWD)/../../../proto
>
> and uses it on the following lines:
>
> *$ grep PROTO_AREA Makefile *
> PROTO_AREA =    $(PWD)/../../../proto
> CC =        $(PROTO_AREA)/usr/bin/gcc    (I explicitly set the CC
> variable above)
> LD =        $(PROTO_AREA)/usr/bin/ld
>     -isystem $(PROTO_AREA)/usr/include \
>     -isystem $(PROTO_AREA)/usr/include \
>     -L$(PROTO_AREA)/lib \
>     -L$(PROTO_AREA)/usr/lib
>     -L$(PROTO_AREA)/lib \
>     -L$(PROTO_AREA)/usr/lib \
>
>
> Searching /code for "proto" directories, I find:
>
> *$ find /code -type d -name proto*
> /code/omnios-151004/illumos-omnios/usr/src/tools/proto
> /code/omnios-151004/illumos-omnios/usr/src/cmd/sgs/proto
> /code/omnios-151004/illumos-omnios/proto
>
> But none of /usr/include, /lib, /usr/lib, or /usr/bin/ld exist under any
> of these "proto" directories
>
> Any advice how to set this PROTO_AREA variable?
>
/code/omnios-151005/illumos-omnios/proto/root_i386 is my proto root... but
it might vary if you are building a debug kernel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130320/21915dd0/attachment.html>


More information about the OmniOS-discuss mailing list