Thanks for the clue. I now see what&#39;s going on. It is proving tougher because all of those headers which come from GNU make rather than my patches on top of that.<div><br><div class="gmail_quote">On Wed, Jan 20, 2010 at 11:39 AM, James Lee <span dir="ltr">&lt;<a href="mailto:james@opencsw.org">james@opencsw.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On 20/01/10, 14:21:38, Dagobert Michelsen &lt;<a href="mailto:dam@opencsw.org">dam@opencsw.org</a>&gt; wrote regarding<br>

Re: [csw-maintainers] Problem compiling remake:<br>
<div class="im"><br>
&gt; Am 20.01.2010 um 03:57 schrieb Rocky Bernstein:<br>
<br>
&gt; &gt; When I try to compile that I get errors due to some sort of error in<br>
&gt; &gt; strings.h pulled in from<br>
&gt; &gt; the readline config file config/readline.h:<br>
&gt; &gt;<br>
&gt; &gt; In file included from /opt/csw/include/readline/chardefs.h:35,<br>
&gt; &gt;                  from /opt/csw/include/readline/keymaps.h:35,<br>
&gt; &gt;                  from /opt/csw/include/readline/readline.h:37,<br>
&gt; &gt;                  from ./config/readline.h:10,<br>
&gt; &gt;                  from debugger/cmd.c:51:<br>
&gt; &gt; /usr/include/strings.h:24: error: expected declaration specifiers or<br>
&gt; &gt; &#39;...&#39; before &#39;(&#39; token<br>
<br>
<br>
</div>in make.h<br>
#  define bcmp(s1, s2, n)   memcmp ((s1), (s2), (n))<br>
<br>
should be<br>
#  define bcmp(s1, s2, n)   memcmp (s1, s2, n)<br>
<br>
and in a few other places the same.  make.h is included before the<br>
system header so corrupts the function prototypes, it&#39;s turning the<br>
prototypes into type casts.<br>
<br>
<br>
Solaris has bcmp anyway so you can drop the whole of that section,<br>
perhaps the bit that identifies the system is wrong.<br>
<font color="#888888"><br>
<br>
<br>
<br>
James.<br>
</font></blockquote></div><br></div>