httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pw" <p.wil...@telus.net>
Subject [users@httpd] Apache 1.3.28 source Compilation error question
Date Thu, 15 Jan 2004 19:56:19 GMT
Hello,

I am compiling apache_1.3.28 from source with PHP4.
I have compiled php4 previously with no errors.

My configuration is as follows:

./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/l
ibphp4.a --enable-shared=max --sysconfdir=/etc/httpd/conf --cgidir=/web-disk
1/httpd/cgi-bin/ --logfiledir=/var/log/httpd/

This makes a make file with no errors.

There appears to be aproblem with the php module but
I don't understand what it could be.

I would be thankful for any insights people may be able to offer.

Thanks,

Peter

/*..............................................................*/
When I run make I get these errors:

mod_php4.c:935: error: `NULL' undeclared here (not in a function)
mod_php4.c:935: warning: excess elements in scalar initializer
mod_php4.c:935: warning: (near initialization for `php4_module')
mod_php4.c:936: error: `NULL' undeclared here (not in a function)
mod_php4.c:936: warning: excess elements in scalar initializer
mod_php4.c:936: warning: (near initialization for `php4_module')
mod_php4.c:937: error: `NULL' undeclared here (not in a function)
mod_php4.c:937: warning: excess elements in scalar initializer
mod_php4.c:937: warning: (near initialization for `php4_module')
mod_php4.c:938: error: `NULL' undeclared here (not in a function)
mod_php4.c:938: warning: excess elements in scalar initializer
mod_php4.c:938: warning: (near initialization for `php4_module')
mod_php4.c:952: error: `NULL' undeclared here (not in a function)
mod_php4.c:952: warning: excess elements in scalar initializer
mod_php4.c:952: warning: (near initialization for `php4_module')
mod_php4.c:952: warning: data definition has no type or storage class
../../include/http_conf_globals.h:85: error: storage size of
`ap_bind_address' isn't known
../../include/http_conf_globals.h:115: error: storage size of
`ap_server_root' isn't known
../../include/http_conf_globals.h:116: error: storage size of
`ap_server_confname' isn't known
../../include/http_conf_globals.h:126: error: storage size of
`ap_coredump_dir' isn't known
make[4]: *** [mod_php4.so-o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory
`/web-disk1/httpd/WebGrip/gis-disk1/Source/Apache1-3/apache_1.3.28/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory
`/web-disk1/httpd/WebGrip/gis-disk1/Source/Apache1-3/apache_1.3.28'
make: *** [build] Error 2



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message