Hi Guys
I try to compile midgard 1.6 from tarball. As usual, got stuck at some
point :) The midgard-core and midgard-apache2 module was ompiled
succesfully. But when i try to compile midgard-php4. It give me error(I
attach the error). By the way i use redhat 9 with php4.2.2-17 and
apache2.0.40. Is php 4.2.2 supported by midgard 1.6 or i have to upgrade my
php to a newer version so i can compile midgard-php4? Anyone know how to
fix these problem?
Thanks
--
Uung H.R Bhuwono
Visuacommunika Digital Media
http://www.vc-digital.com
[EMAIL PROTECTED]
Yahoo Messenger : bhuwono
MSN Messenger : [EMAIL PROTECTED]
Jabber Messenger : [EMAIL PROTECTED]
ICQ : [EMAIL PROTECTED]
Phone Number : +62 815 8000385
Hail The Revolution...!!!!
4.2.2-17
Apache/2.0.40
In file included from php_midgard.h:42,
from midgard.c:25:
/usr/local/include/midgard/apache.h:69: parse error before "table"
/usr/local/include/midgard/apache.h:71: parse error before '}' token
/usr/local/include/midgard/apache.h:79: parse error before "pool"
/usr/local/include/midgard/apache.h:104: parse error before '*' token
/usr/local/include/midgard/apache.h:106: parse error before '*' token
/usr/local/include/midgard/apache.h:107: parse error before '*' token
/usr/local/include/midgard/apache.h:116: parse error before '}' token
In file included from midgard.c:25:
php_midgard.h:47: parse error before '*' token
php_midgard.h:47: warning: type defaults to `int' in declaration of `mgd_rcfg'
php_midgard.h:47: warning: data definition has no type or storage class
php_midgard.h:75: parse error before "midgard_request_config"
php_midgard.h:75: warning: no semicolon at end of struct or union
php_midgard.h:78: `mgd_errno' redeclared as different kind of symbol
/usr/local/include/midgard/midgard.h:162: previous declaration of `mgd_errno'
php_midgard.h:80: parse error before '}' token
php_midgard.h:80: warning: type defaults to `int' in declaration of
`zend_midgard_globals'
php_midgard.h:80: warning: data definition has no type or storage class
midgard.c:79: parse error before "midgard_globals"
midgard.c:79: warning: type defaults to `int' in declaration of `midgard_globals'
midgard.c:79: warning: data definition has no type or storage class
midgard.c:457: parse error before '*' token
midgard.c: In function `php_midgard_init_globals':
midgard.c:459: invalid type argument of `->'
midgard.c:460: invalid type argument of `->'
midgard.c:461: invalid type argument of `->'
midgard.c:462: invalid type argument of `->'
midgard.c: In function `zm_activate_midgard':
midgard.c:531: request for member `rcfg' in something not a structure or union
midgard.c:532: request for member `dcfg' in something not a structure or union
midgard.c:545: request for member `rcfg' in something not a structure or union
midgard.c:546: request for member `dcfg' in something not a structure or union
midgard.c:576: request for member `rcfg' in something not a structure or union
midgard.c:577: request for member `mgd' in something not a structure or union
midgard.c:577: request for member `rcfg' in something not a structure or union
midgard.c:579: request for member `mgd' in something not a structure or union
midgard.c: At top level:
midgard.c:679: parse error before '*' token
midgard.c:680: warning: return type defaults to `int'
midgard.c: In function `mgd_rcfg':
midgard.c:682: request for member `rcfg' in something not a structure or union
midgard.c: In function `mgd_dcfg':
midgard.c:688: request for member `dcfg' in something not a structure or union
midgard.c: In function `mgd_handle':
midgard.c:694: request for member `mgd' in something not a structure or union
midgard.c: In function `mgd_set_errno':
midgard.c:700: request for member `mgd_errno' in something not a structure or union
midgard.c:701: request for member `mgd_errno' in something not a structure or union
midgard.c: In function `mgd_reset_errno':
midgard.c:707: request for member `mgd_errno' in something not a structure or union
midgard.c: In function `mgd_get_errno':
midgard.c:713: request for member `mgd_errno' in something not a structure or union
midgard.c: In function `zif_mgd_get_midgard':
midgard.c:732: `rcfg' undeclared (first use in this function)
midgard.c:732: (Each undeclared identifier is reported only once
midgard.c:732: for each function it appears in.)
midgard.c: In function `zif_mgd_auth_midgard':
midgard.c:838: `rcfg' undeclared (first use in this function)
midgard.c:880: warning: implicit declaration of function `ap_pstrdup'
midgard.c:880: warning: assignment makes pointer from integer without a cast
midgard.c:884: warning: assignment makes pointer from integer without a cast
midgard.c:890: warning: implicit declaration of function `ap_psprintf'
midgard.c:892: warning: assignment makes pointer from integer without a cast
midgard.c:896: warning: implicit declaration of function `ap_uuencode'
midgard.c:896: warning: assignment makes pointer from integer without a cast
midgard.c:902: warning: implicit declaration of function `ap_table_set'
midgard.c: In function `zif_mgd_connect':
midgard.c:942: request for member `mgd' in something not a structure or union
midgard.c:960: request for member `mgd' in something not a structure or union
midgard.c: In function `zif_mgd_preparser_active':
midgard.c:991: request for member `preparser_active' in something not a structure or
union
make[1]: *** [midgard.slo] Error 1
make[1]: Leaving directory `/home/oeng/Desktop/midgard/midgard-php4-1.6.0beta'
make: *** [install-recursive] Error 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]