From:             ralf at kuerbis dot org
Operating system: Solaris 9
PHP version:      5CVS-2004-04-26 (dev)
PHP Bug Type:     Compile Failure
Bug description:  error: storage size of `obj' isn't known

Description:
------------
Hi!

Trying to compile the PHP5 RC2 version on Solaris 9, the 
compile run breaks with following error:

[...]
/opt/sunsite/compile/production/php5-200404261230/ext/standard/proc_open.c:876:
error: dereferencing pointer to incomplete type
/opt/sunsite/compile/production/php5-200404261230/ext/standard/proc_open.c:898:
error: dereferencing pointer to incomplete type
[...many, many more...]

/opt/sunsite/compile/production/php5-200404261230/ext/standard/proc_open.c:898:
error: dereferencing pointer to incomplete type
/opt/sunsite/compile/production/php5-200404261230/ext/standard/proc_open.c:
At top level:
/opt/sunsite/compile/production/php5-200404261230/Zend/zend.h:283: error:
storage size of `obj' isn't known
make: *** [ext/standard/proc_open.lo] Error 1

gcc --version
gcc (GCC) 3.3.2
(from sunfreeware.com)

uname -a
SunOS groundzero 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-60

Here the configure options (copied from config.nice...):

CFLAGS='-I/usr/include' \
LDFLAGS='-lstdc++' \
CC='gcc' \
'./configure' \
'--prefix=/opt/www' \
'--with-apxs=/opt/www/bin/apxs' \
'--with-mysql=/opt/mysql' \
'--with-sockets' \
'--enable-memory-limit' \
'--enable-trans-sid' \
'--sysconfdir=/opt/www/conf' \
'--with-config-file-path=/opt/www/conf' \
'--with-mcrypt=/usr/local' \
'--with-tsrm-pthreads' \
'--with-gnu-ld' \
'--with-dom=/usr/local' \
'--with-dom-xslt=/usr/local' \
'--with-dom-exslt' \
'--with-libxml-dir=/usr/local' \
'--enable-xslt' \
'--with-gd' \
'--with-zlib=/usr/local' \
'--with-xsl=/usr/local' \

As you can see above, this happens with the newest CVS and the RC2
version, but not with RC1. The RC1 runs perfectly on the same machine
since one week or so.

If you need further info or some testing, please tell me. 

Best regards,
   Ralf



-- 
Edit bug report at http://bugs.php.net/?id=28157&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28157&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28157&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28157&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28157&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28157&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28157&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28157&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28157&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28157&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28157&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28157&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28157&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28157&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28157&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28157&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28157&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28157&r=float

Reply via email to