ID:               28157
 Comment by:       com dot ntlworld at round7 dot mark
 Reported By:      ralf at kuerbis dot org
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Solaris 9
 PHP Version:      5CVS-2004-04-26 (dev)
 New Comment:

Just FYI, this isn't limited solely to Solaris 9, the same problem also
occurs on Solaris 8, if you have access to one of those systems but not
9...

-Mark
Reverse email address to reply


Previous Comments:
------------------------------------------------------------------------

[2004-05-03 19:27:36] mose at netvision dot net dot il

The compliation error comes from the lack of these lines:
/*
 * shorthand type definitions for unsigned storage classes
 */
typedef uchar_t         uchar;
typedef ushort_t        ushort;
typedef uint_t          uint;
typedef ulong_t         ulong;

in sys/types


For me (OSF4.0f) it's under 'ifndef _XOPEN_SOURCE_EXTENDED' control.

------------------------------------------------------------------------

[2004-04-29 12:30:01] ralf at kuerbis dot org

If you need my help in testing on a Solaris 9 machine (Ultra 1 at home
and some Enterprise 420R/220R at business), just drop me a mail. 

Best regards,
   Ralf

------------------------------------------------------------------------

[2004-04-29 12:16:28] [EMAIL PROTECTED]

This probably isn't portable to eg: Linux, so we still need to find a
better fix; however, I no longer have access to a Solaris 9 machine, so
this could prove difficult.

------------------------------------------------------------------------

[2004-04-29 11:05:26] ralf at kuerbis dot org

It works - thank you!

Regards,
   Ralf

------------------------------------------------------------------------

[2004-04-28 22:52:23] pds+php at alloy dot net

In ext/standard/proc_open.c, adding the following lines before #define
_XOPEN_SOURCE and #define _BSD_SOURCE gets around this compile
problem:

#include <fcntl.h>
#include <sys/termios.h>

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28157

-- 
Edit this bug report at http://bugs.php.net/?id=28157&edit=1

Reply via email to