On Tue, 2014-12-09 at 07:51 -0800, Paul Zhou wrote:
> I am working on install the gmake on HP tandem OSS system, and after I
> run make I got this error.

>     names = alloca (state.n * sizeof (const char *));
>           ^
> "/users/pauls/make-4.1/ar.c", line 311: error(611): a value of type "char *"
>           cannot be assigned to an entity of type "const char **"

Hm.  That's not good.  This means that the return type of the alloca()
function on your system is defined to be "char*", when GNU make code
expects it to return type "void*".

Hm.

Can you try editing the makeint.h header file in the make source
directory and changing the line:

  char *alloca ();

to say:

  void *alloca ();

and see if that helps?


_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to