problem preparser.c

Team14 <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
I got a problem while installing the php4 module:

#./mkall --with-apxs=/usr/local/apache2/bin/apxs --with-apr 
config=/usr/local/apache2/bin/apr-config

/****
*****/


/bin/sh /root/Midgard_AllinOne/midgard-php4-1.6.3/libtool --mode=compile gcc  -
I. -I/root/Midgard_AllinOne/midgard-php4-1.6.3 -DPHP_ATOM_INC -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/include -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/main -
I/root/Midgard_AllinOne/midgard-php4-1.6.3 -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/include -I/usr/include/glib-1.2 -
I/usr/lib/glib/include -I/usr/local/include/mysql  -
I/usr/local/apache2/include -DHAVE_CONFIG_H  -g -O2   -
c /root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c -o preparser.lo
gcc -I. -I/root/Midgard_AllinOne/midgard-php4-1.6.3 -DPHP_ATOM_INC -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/include -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/main -
I/root/Midgard_AllinOne/midgard-php4-1.6.3 -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/include -I/usr/include/glib-1.2 -
I/usr/lib/glib/include -I/usr/local/include/mysql -I/usr/local/apache2/include -
DHAVE_CONFIG_H -g -O2 -c /root/Midgard_AllinOne/midgard-php4-
1.6.3/preparser.c  -fPIC -DPIC -o preparser.lo
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c: In function 
`mgd_eval_string':
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:277: parse error before 
`*'
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:294: 
`original_handle_op_arrays' undeclared (first use in this function)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:294: (Each undeclared 
identifier is reported only once
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:294: for each function it 
appears in.)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:332: 
`original_active_op_array' undeclared (first use in this function)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:333: 
`original_function_state_ptr' undeclared (first use in this function)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:337: `retval' undeclared 
(first use in this function)
make: *** [preparser.lo] Error 1
/bin/sh /root/Midgard_AllinOne/midgard-php4-1.6.3/libtool --mode=compile gcc  -
I. -I/root/Midgard_AllinOne/midgard-php4-1.6.3 -DPHP_ATOM_INC -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/include -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/main -
I/root/Midgard_AllinOne/midgard-php4-1.6.3 -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/include -I/usr/include/glib-1.2 -
I/usr/lib/glib/include -I/usr/local/include/mysql  -
I/usr/local/apache2/include -DHAVE_CONFIG_H  -g -O2   -
c /root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c -o preparser.lo
gcc -I. -I/root/Midgard_AllinOne/midgard-php4-1.6.3 -DPHP_ATOM_INC -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/include -
I/root/Midgard_AllinOne/midgard-php4-1.6.3/main -
I/root/Midgard_AllinOne/midgard-php4-1.6.3 -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/include -I/usr/include/glib-1.2 -
I/usr/lib/glib/include -I/usr/local/include/mysql -I/usr/local/apache2/include -
DHAVE_CONFIG_H -g -O2 -c /root/Midgard_AllinOne/midgard-php4-
1.6.3/preparser.c  -fPIC -DPIC -o preparser.lo
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c: In function 
`mgd_eval_string':
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:277: parse error before 
`*'
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:294: 
`original_handle_op_arrays' undeclared (first use in this function)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:294: (Each undeclared 
identifier is reported only once
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:294: for each function it 
appears in.)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:332: 
`original_active_op_array' undeclared (first use in this function)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:333: 
`original_function_state_ptr' undeclared (first use in this function)
/root/Midgard_AllinOne/midgard-php4-1.6.3/preparser.c:337: `retval' undeclared 
(first use in this function)
make: *** [preparser.lo] Error 1

if someone could help me. Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.