Re: Compilation Problem on True64 V4.0f(!)

2000-09-19 Thread Richard Levitte - VMS Whacker

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...

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \  SWEDEN   \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Compilation Problem on True64 V4.0f(!)

2000-09-19 Thread Achim Spangler

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 SpanglerTUM 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]



Re: Compilation Problem on True64 V4.0f(!)

2000-09-19 Thread Ben Laurie

Richard Levitte - VMS Whacker wrote:
 
 From: Achim Spangler [EMAIL PROTECTED]
 
 spangler The error message is as follows:
 spangler cc -I.. -I../../include -std1 -tune host -O4 -readonly_strings -c
 spangler bss_fd.c
 spangler cc: Error: /usr/include/sys/signal.h, line 486: In the declaration of
 spangler "__P_C", a function cannot return a function type. (badreturntype)
 spangler extern int __P_C(sigwait) __((const sigset_t *set, int *sig));
 spangler ---^
 spangler cc: Warning: /usr/include/sys/signal.h, line 486: In the declaration of
 spangler "__P_C", a function declarator has an identifier list but is not part of
 spangler a function definition.  Extraneous parameter names are ignored.
 spangler (funcidlis)
 spangler extern int __P_C(sigwait) __((const sigset_t *set, int *sig));
 spangler ---^
 spangler *** Exit 1
 
 That looks very much like a Compaq poopoo...  I would guess that the
 __P_C thingy is a macro that they didn't get quite right.

I'd guess they are expecting something else to get included first. I'd
check, but Compaq never did give me a Tru64 upgrade :-(

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

Coming to ApacheCon Europe 2000? http://apachecon.com/
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]