[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile errors
From: |
Michael Carmack |
Subject: |
Re: Compile errors |
Date: |
Sat, 20 Oct 2001 02:36:49 +0000 |
User-agent: |
Mutt/1.2.5i |
On Fri, Oct 19, 2001 at 05:12:49PM +0100, Neil Jerram wrote:
> >>>>> "Michael" == Michael Carmack <address@hidden> writes:
>
> Michael> On versions 1.3.2a, 1.4, 1.5.4, compiles always fail
> Michael> because usleep is apparently detected as an int instead
> Michael> of a void. This is a gnu/linux system, kernel 2.4.10,
> Michael> glibc 2.1.3, gcc 2.95.3, binutils 2.11.2.
>
> Your log shows that ./configure incorrectly concluded that the return
> type of usleep on your system is int.
>
> Probably this is because the corresponding code in configure.in is not
> robust enough. Can you send the few lines around the declaration of
> usleep in your unistd.h file; then we can try to improve the detection
> code.
I found the problem: Absolute paths to /usr/include/unistd.h. In version
1.4 this occurs on line 204 of configure.in. The problem is that my
unistd.h doesn't live in /usr/include, so it isn't found and the script
defaults to void.
m.