[Date Prev][Date Next]
Re: sigset prototype not included on Linux platforms (ITS#603)
At 04:54 PM 6/23/00 GMT, firstname.lastname@example.org wrote:
>Full_Name: Gek Low
>Submission from: (NULL) (22.214.171.124)
>I am trying to build OpenLDAP on the IA64 (Linux OS) and I found out that it is
>including the prototype for sigset(), so the compiler is assuming it returns
>is bad on a 64-bit system, because ints are only 32 bits. The prototype must be
>to generate correct code.
>The sigset() prototype on Linux systems is contained within the __USE_UNIX98
>signal.h, so it is not included at all. However, there is a sigset function in
>so everything links. The OpenLDAP configure script correctly/incorrectly says
>exist on Linux, but the missing prototype will not work for 64-bit Linux.
I suggest using:
env ac_cv_func_sigset=no ./configure
to workaround this problem. I do not suggest defining __USE_UNIX98.
This macro is internal to the implementation of the C library and,
as such, applications should not muck with it.