bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk 3.1.1 has bad configure check for mmap() on Solaris


From: Aharon Robbins
Subject: Re: gawk 3.1.1 has bad configure check for mmap() on Solaris
Date: Mon, 20 May 2002 23:00:03 +0300

Thanks for the report. This will likely be fixed when I move off Autoconf 2.13.
I'm not sure when that will be though.

Arnold

> Date: Sun, 19 May 2002 20:15:38 +0200
> From: Drazen Kacar <address@hidden>
> To: address@hidden
> Subject: gawk 3.1.1 has bad configure check for mmap() on Solaris
>
> Hi,
>
> Configure script for gawk 3.1.1 on Solaris 8 with Sun's compiler claims
> that mmap() doesn't work. config.log reports this:
>
> "configure", line 2900: identifier redeclared: malloc
>         current : function() returning pointer to char
>         previous: function(unsigned int) returning pointer to void :
>                 "/usr/include/iso/stdlib_iso.h", line 105
> cc: acomp failed for conftest.c
>
> The problem is in the following lines in mmap configure check:
>
> #ifdef __cplusplus
> extern "C" { void *malloc(unsigned); }
> #else
> char *malloc();
> #endif
>
>
> Changing the declaration to "void *malloc();" fixes the problem.
>
> -- 
>  .-.   .-.    I don't work here. I'm a consultant.
> (_  \ /  _)
>      |        address@hidden
>      |



reply via email to

[Prev in Thread] Current Thread [Next in Thread]