Thanks for the clue. I now see what'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"><<a href="mailto:james@opencsw.org">james@opencsw.org</a>></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 <<a href="mailto:dam@opencsw.org">dam@opencsw.org</a>> wrote regarding<br>
Re: [csw-maintainers] Problem compiling remake:<br>
<div class="im"><br>
> Am 20.01.2010 um 03:57 schrieb Rocky Bernstein:<br>
<br>
> > When I try to compile that I get errors due to some sort of error in<br>
> > strings.h pulled in from<br>
> > the readline config file config/readline.h:<br>
> ><br>
> > In file included from /opt/csw/include/readline/chardefs.h:35,<br>
> > from /opt/csw/include/readline/keymaps.h:35,<br>
> > from /opt/csw/include/readline/readline.h:37,<br>
> > from ./config/readline.h:10,<br>
> > from debugger/cmd.c:51:<br>
> > /usr/include/strings.h:24: error: expected declaration specifiers or<br>
> > '...' before '(' 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'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>