PP installation failed in Sun One Web Server



I have sun one web server 6.1 running on HPUX 11.x. I need to enable
PHP for the sun one. However, i encountered errors during compilation..

# make
/bin/sh /tmp/php-4.4.2/libtool --silent --preserve-dup-deps
--mode=compi
le /tmp/php-4.4.2/meta_ccld -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8
-DSUPPORT_UCP
-DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000
-I/tmp/php-4.4.
2/ext/pcre/pcrelib -Iext/pcre/ -I/tmp/php-4.4.2/ext/pcre/
-DPHP_ATOM_INC -I/tmp/
php-4.4.2/include -I/tmp/php-4.4.2/main -I/tmp/php-4.4.2
-I/aol/sws/plugins/incl
ude -I/tmp/php-4.4.2/ext/xml/expat -I/tmp/php-4.4.2/TSRM
-I/tmp/php-4.4.2/Zend
-D_REENTRANT -DTHREAD=1 -g -mt -DZTS -c
/tmp/php-4.4.2/ext/pcre/php_pcre.c -o
ext/pcre/php_pcre.lo
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1588:
"__inlin
e_func_smart_str_appendl_ex_param_3_len__" undefined.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #1 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
611: Type co
nversion loses "const" qualifier.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #2 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
527: Integra
l value implicitly converted to pointer in assignment.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #3 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 85: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1588:
"__inlin
e_func_smart_str_appendl_ex_param_3_len__" undefined.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #1 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
611: Type co
nversion loses "const" qualifier.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #2 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
527: Integra
l value implicitly converted to pointer in assignment.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #3 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 85: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1588:
"__inlin
e_func_smart_str_appendl_ex_param_3_len__" undefined.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 83: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: error 1531:
Invalid
member of struct or union.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #1 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
611: Type co
nversion loses "const" qualifier.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #2 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
527: Integra
l value implicitly converted to pointer in assignment.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 84: warning
563: Argumen
t #3 is not the correct type.
cc: "/tmp/php-4.4.2/ext/standard/php_smart_str.h", line 85: error 1531:
Invalid
member of struct or union.
cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with
signal 11.
*** Error exit code 1

Can any one give me some pointers how to enable php support for sun one
web server. Thanks.

.



Relevant Pages

  • Re: realloc() implicit free() ?
    ... >> "The value is that of the named member of the object to which the first ... whole object the effective struct type "in the background". ... > different types that were not in a union. ... > the accesses were being made through struct pointers rather than ...
    (comp.lang.c)
  • Re: Uninitialized memory, malloc and unsigned char
    ... the structure or union object may be a trap representation. ... affect validity of the struct. ... undefined behavior even when the member of a struct being assigned ...
    (comp.std.c)
  • Re: realloc() implicit free() ?
    ... > "The value is that of the named member of the object to which the first ... ie. the object must be appropriate effective type. ... other fields of the struct, ... different types that were not in a union. ...
    (comp.lang.c)
  • Re: Uninitialized memory, malloc and unsigned char
    ... the structure or union object may be a trap representation. ... affect validity of the struct. ... undefined behavior even when the member of a struct being assigned ...
    (comp.std.c)
  • Re: Requesting sample code!
    ... a function can never be a member of a struct. ... Putting a pointer to function in a structure is no different. ... than a pointer to int or pointer to char or pointer to struct. ...
    (microsoft.public.vc.language)