Richard Levitte - VMS Whacker schrieb:
> 
> From: Achim Spangler <[EMAIL PROTECTED]>
> 
> spangler> ----------------
> spangler> #if defined(_POSIX_C_SOURCE) \
> spangler>       && (_POSIX_C_SOURCE >= 199506L) \
> spangler>       && !defined(_V40_OBJ_COMPAT)
> spangler> # ifdef __DECC
> spangler> #  pragma extern_prefix "_P"
> spangler> # else
> spangler> #  define sigwait(__a,__b) _Psigwait(__a,__b)
> spangler> # endif
> spangler> /* error in the following line */
> spangler> extern int __P_C(sigwait) __((const sigset_t *set, int *sig));
> spangler> # ifdef __DECC
> spangler> #  pragma extern_prefix ""
> spangler> # endif
> spangler> #else
> spangler> # ifdef _OSF_SOURCE
> spangler> extern int sigwait __((sigset_t *));
> spangler> # endif /* _OSF_SOURCE */
> spangler> #endif /* _POSIX_C_SOURCE >= 199506L */
> spangler> ----------------
> spangler>
> spangler> Is this a bug in openssl, maybe a not compatible define in the source
> spangler> file crypto/bio/bss_fd.c, or a bug in signal.h??
> 
> Well, until you tell us what the error is (what the compiler said
> exactly), there's no way for us to tell...
> 
Thanks for your quick answer.
The error occurs both with
* cc == "DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)"
* and gcc == gcc 2.8.1

The error message is as follows:
cc -I.. -I../../include -std1 -tune host -O4 -readonly_strings -c
bss_fd.c
cc: Error: /usr/include/sys/signal.h, line 486: In the declaration of
"__P_C", a function cannot return a function type. (badreturntype)
extern int __P_C(sigwait) __((const sigset_t *set, int *sig));
-----------^
cc: Warning: /usr/include/sys/signal.h, line 486: In the declaration of
"__P_C", a function declarator has an identifier list but is not part of
a function definition.  Extraneous parameter names are ignored.
(funcidlis)
extern int __P_C(sigwait) __((const sigset_t *set, int *sig));
-----------^
*** Exit 1

This error isn't raised, if I change the mentioned part of signal.h 
to the version of V4.0e .

I use the standard config, which notices my system correctly, and
uses a set of standard settings.


Achim
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IKB-Duernast-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dipl.-Inform. Achim Spangler                TUM Freising-Weihenstephan
Tel.:  +49-8161-71 3565                     Institut fuer Landtechnik
Fax.:  +49-8161-71 3895                     Am Staudengarten 2
Email: [EMAIL PROTECTED]    85350 Freising
URL:   http://ikb.weihenstephan.de/deu/members/persons/spangler.html
       http://ikb.weihenstephan.de/en/members/persons/spangler.html
=-=-=-=-=-=-=-=-=-=-=-Agricultural BUS System (LBS)-=-=-=-=-=-=-=-=-=-=-
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to