You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/06/03 03:47:31 UTC
DO NOT REPLY [Bug 20338] -
Compile Problem with signal.c on Tru64 4.0G
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20338>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20338
Compile Problem with signal.c on Tru64 4.0G
------- Additional Comments From trawick@apache.org 2003-06-03 01:47 -------
Q1. what compiler flags were passed to the compile of signal.c?
on Tru64 5.1, this is what the compile looks like:
/bin/sh /home/trawick/regress/httpd-2.0/srclib/apr/libtool --mode=compile cc -\
g -pthread -DHAVE_CONFIG_H -DOSF1 -D_OSF_SOURCE -pthread -I../../include -I..\
/../include/arch/unix -c signals.c && touch signals.lo
Q2. what APR hints are getting defined?
on Tru64 5.1, I see this stuff getting defined by apr (from stdout of configure):
Applying APR hints file rules for alphaev6-dec-osf5.1
adding "-DOSF1" to CPPFLAGS
adding "-D_OSF_SOURCE" to CPPFLAGS
Q3. What does definition of sigwait() in signal.h look like?
in Tru64 5.1 /usr/include/signal.h, there is
#if defined(_POSIX_C_SOURCE) \
&& (_POSIX_C_SOURCE >= 199506L) \
&& !defined(_V40_OBJ_COMPAT)
# ifdef __DECC
# pragma extern_prefix "_P"
# else
# define sigwait(__a,__b) _Psigwait(__a,__b)
# endif
extern int __P_C(sigwait) __((const sigset_t *set, int *sig));
# ifdef __DECC
# pragma extern_prefix ""
# endif
#else
# ifdef _OSF_SOURCE
extern int sigwait __((sigset_t *));
# endif /* _OSF_SOURCE */
#endif /* _POSIX_C_SOURCE >= 199506L */
so we should get the one-arg sigwait() unless _POSIX_C_SOURCE somehow got defined
does the definition of sigwait() in /usr/include/signal.h look any different on
Tru64 4.0?
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org