<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
I'm trying to compile the illumos-kvm driver for AMD now.<br>
<br>
So far I made the following changes to the Makefile:<br>
<blockquote><small><font face="Courier New, Courier, monospace">-
KERNEL_SOURCE = $(PWD)/../../illumos</font></small><br>
<small><font face="Courier New, Courier, monospace">+
KERNEL_SOURCE = /code/omnios-151004/illumos-omnios</font></small><br>
<br>
<small><font face="Courier New, Courier, monospace">- CC
= $(PROTO_AREA)/usr/bin/gcc</font></small><br>
<small><font face="Courier New, Courier, monospace">+ CC
= /opt/gcc-4.6.3/bin/gcc</font></small><br>
<br>
</blockquote>
But one thing I can't figure out is how to set the "PROTO_AREA"
variable. The original Makefile has:<br>
<blockquote><small><font face="Courier New, Courier, monospace">PROTO_AREA
= $(PWD)/../../../proto</font></small><br>
</blockquote>
and uses it on the following lines:<br>
<blockquote><b><small><font face="Courier New, Courier, monospace">$
grep PROTO_AREA Makefile </font></small></b><br>
<small><font face="Courier New, Courier, monospace">PROTO_AREA
= $(PWD)/../../../proto</font></small><br>
<small><font face="Courier New, Courier, monospace">CC =
$(PROTO_AREA)/usr/bin/gcc <font color="#ff0000">(I
explicitly set the CC variable above)</font></font></small><br>
<small><font face="Courier New, Courier, monospace">LD =
$(PROTO_AREA)/usr/bin/ld</font></small><br>
<small><font face="Courier New, Courier, monospace"> -isystem
$(PROTO_AREA)/usr/include \</font></small><br>
<small><font face="Courier New, Courier, monospace"> -isystem
$(PROTO_AREA)/usr/include \</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/lib \</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/usr/lib</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/lib \</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/usr/lib \</font></small><br>
</blockquote>
<br>
Searching /code for "proto" directories, I find:<br>
<blockquote><b><small><font face="Courier New, Courier, monospace">$
find /code -type d -name proto</font></small></b><br>
<small><font face="Courier New, Courier, monospace">/code/omnios-151004/illumos-omnios/usr/src/tools/proto</font></small><br>
<small><font face="Courier New, Courier, monospace">/code/omnios-151004/illumos-omnios/usr/src/cmd/sgs/proto</font></small><br>
<small><font face="Courier New, Courier, monospace">/code/omnios-151004/illumos-omnios/proto</font></small><br>
</blockquote>
But none of /usr/include, /lib, /usr/lib, or /usr/bin/ld exist under
any of these "proto" directories<br>
<br>
Any advice how to set this PROTO_AREA variable?<br>
<br>
<br>
FWIW: I think this is an OmniOS question since it's regarding the
"illumos-omnios" build directory<br>
<br>
Thanks,<br>
Kent<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>