When I build gcc 3.3.2 I get this error. Configure was successful,
though.
The error occurs when compiling a file called fibheap.c
One of the messages during configure was 'checking for limits.h...
no', but this file is available in /usr/include. Not sure whether this
is the problem.
I am using Debian Woody 3.0 r1.
Any help would be greatly appreciated.
Thanks and regards,
Rajesh Jayaprakash
> Hi everybody,
>
> When I build gcc 3.3.2 I get this error. Configure was successful,
> though.
>
> The error occurs when compiling a file called fibheap.c
>
> One of the messages during configure was 'checking for limits.h...
> no', but this file is available in /usr/include. Not sure whether this
> is the problem.
It could be.
> I am using Debian Woody 3.0 r1.
You may be best checking your 'configure' settings there.
> Any help would be greatly appreciated.
There's the capability for gcc to provide its own limits.h should the system
one doesn't exist. I don't know the circumstances/details because it has
never bitten me. fibheap.c is part of libiberty so look at that config.h
and see if HAVE_LIMITS_H is defined or not. It's possible that fibheap.c
has a bug in that it can't cope with non-system limits.h, or equally likely
the bug might be that it arrived there when it shouldn't. However, I
suspect both these possible problems will vanish once you cause 'configure'
to see limits.h, which is why you're probably best asking in a woody forum.
--
Guy Harrison
Thanks for your reply.
I fixed the problem by installing the kernel-headers package and
creating symbolic links to the 'linux' and 'asm' kernel include
directories in /usr/include.
Regards,
Rajesh