Re: Make errors in compiling PHP on Solaris 8

From: Date: Fri, 02 Nov 2001 14:35:15 +0000
Subject: Re: Make errors in compiling PHP on Solaris 8
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4829@lists.php.net to get a copy of this message
Hi,
I don't know if you're using the make bundled with Solaris, but maybe try gnu make.
I don't think its make. I have nearly the same errors, with Gnu-make and the native one. I tried GNU-C 2.95.x (from sunfreeware.com) and there even configure came up with a strange error. I installed the Demo of Forte-C and configure runs without problems. But after the make I get nearly the same messages. My last try is this: /usr/ccs/lib/cpp -undef -D__SunOS_5_8 -D__SUNPRO_C=0x510 -Dunix -D__unix -Dsun -D__sun -D__BUILTIN_VA_ARG_INCR -D__SVR4 -Dsparc -D__sparc -I. -I. -I../main -I/usr/ucbinclude -DDEBUG -DHAVE_CONFIG_H -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 zend_operators.c >/tmp/cpp.01997.0.i "zend_operators.c", line 548: va_start: argument mismatch "zend_operators.c", line 563: va_start: argument mismatch "zend_operators.c", line 578: va_start: argument mismatch /opt/SUNWspro/WS6U2/bin/acomp -Qy -y-o -yzend_operators.o -I. -I. -I../main -I/usr/ucbinclude -g "/opt/SUNWspro/WS6U2/bin/acc -Xs -YP,:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib -g -v -DDEBUG -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -c -I/usr/ucbinclude -c" -b -y-fbe -y/opt/SUNWspro/WS6U2/bin/fbe -y-xarch=generic -y-xmemalign=4s -y-verbose -Xs -D__SunOS_5_8 -D__SUNPRO_C=0x510 -Dunix -Dsun -Dsparc -D__unix -D__sun -D__sparc -D__BUILTIN_VA_ARG_INCR -D__SVR4 -dg -y-g -I/opt/SUNWspro/WS6U2/include/cc -DDEBUG -DHAVE_CONFIG_H -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -i /tmp/cpp.01997.0.i "zend_operators.c", line 435: warning: improper pointer/integer combination: op "=" "zend_operators.c", line 552: invalid token: ## "zend_operators.c", line 552: undefined symbol: IS_ "zend_operators.c", line 552: syntax error before or at: LONG "zend_operators.c", line 552: undefined symbol: orig_ptr "zend_operators.c", line 552: non-unique member requires struct/union pointer: refcount "zend_operators.c", line 552: left operand of "->" must be pointer to struct/union "zend_operators.c", line 552: non-unique member requires struct/union pointer: refcount "zend_operators.c", line 552: left operand of "->" must be pointer to struct/union "zend_operators.c", line 552: cannot dereference non-pointer type "zend_operators.c", line 552: assignment type mismatch:
        struct _zval_struct {union _zvalue_value {..} value, unsigned char type, unsigned char is_ref, unsigned short refcount} "=" int
"zend_operators.c", line 552: invalid token: ## "zend_operators.c", line 552: warning: old-style declaration or incorrect type for: convert_to_ "zend_operators.c", line 552: syntax error before or at: long "zend_operators.c", line 552: syntax error before or at: } "zend_operators.c", line 552: warning: syntax error: empty declaration "zend_operators.c", line 555: warning: syntax error: empty declaration "zend_operators.c", line 567: invalid token: ## "zend_operators.c", line 567: undefined symbol: IS_ "zend_operators.c", line 567: syntax error before or at: DOUBLE "zend_operators.c", line 567: undefined symbol: orig_ptr "zend_operators.c", line 567: non-unique member requires struct/union pointer: refcount "zend_operators.c", line 567: left operand of "->" must be pointer to struct/union "zend_operators.c", line 567: non-unique member requires struct/union pointer: refcount "zend_operators.c", line 567: left operand of "->" must be pointer to struct/union "zend_operators.c", line 567: cannot dereference non-pointer type "zend_operators.c", line 567: assignment type mismatch:
        struct _zval_struct {union _zvalue_value {..} value, unsigned char type, unsigned char is_ref, unsigned short refcount} "=" int
"zend_operators.c", line 567: invalid token: ## "zend_operators.c", line 567: warning: old-style declaration or incorrect type for: convert_to_ "zend_operators.c", line 567: syntax error before or at: double "zend_operators.c", line 567: identifier redeclared: arg
        current : pointer to double
        previous: pointer to long : "zend_operators.c", line 552
"zend_operators.c", line 567: syntax error before or at: } "zend_operators.c", line 567: warning: syntax error: empty declaration "zend_operators.c", line 570: warning: syntax error: empty declaration "zend_operators.c", line 582: invalid token: ## "zend_operators.c", line 582: undefined symbol: IS_ "zend_operators.c", line 582: syntax error before or at: STRING "zend_operators.c", line 582: undefined symbol: orig_ptr "zend_operators.c", line 582: non-unique member requires struct/union pointer: refcount "zend_operators.c", line 582: left operand of "->" must be pointer to struct/union "zend_operators.c", line 582: non-unique member requires struct/union pointer: refcount "zend_operators.c", line 582: left operand of "->" must be pointer to struct/union "zend_operators.c", line 582: cannot dereference non-pointer type "zend_operators.c", line 582: assignment type mismatch:
        struct _zval_struct {union _zvalue_value {..} value, unsigned char type, unsigned char is_ref, unsigned short refcount} "=" int
"zend_operators.c", line 582: invalid token: ## "zend_operators.c", line 582: warning: old-style declaration or incorrect type for: convert_to_ "zend_operators.c", line 582: syntax error before or at: string "zend_operators.c", line 582: warning: old-style declaration or incorrect type for: string "zend_operators.c", line 582: warning: syntax error: empty declaration "zend_operators.c", line 585: warning: syntax error: empty declaration rm /tmp/cpp.01997.0.i make[1]: *** [zend_operators.lo] Error 1 make[1]: Leaving directory `/export/home/dros/down/php-4.0.6/Zend' make: *** [all-recursive] Error 1 Maybe, you know what to do. But I doubt it's make. cu Alex

« previous php.install (#4829) next »