compile error with apache
| From: | Tim Winders | Date: | Thu, 09 Nov 2000 17:16:53 +0000 |
| Subject: | compile error with apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37588@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just grabbed the php4-cvs/Zend/TSRM files (11/9/2000, 11am CT). I was
able to make/install php into apache as a static module, but when I tried
to make apache, I received these unresolved:
Unresolved:
sapi_globals_id
ts_resource
__pthread_mutex_init
__pthread_mutex_destroy
__pthread_mutex_lock
__pthread_mutex_unlock
It looks like this has to do with TSRM, but I'm not sure. I may have done
something wrong in the configure/make of php4, but I'm not sure. Any help
would be appreciated.
Here is the output from the make in Apache:
<=== src/modules
cc -c -I./../../mm-1.0.12 -I./os/unix -I./include -DOSF1
- -DMOD_SSL=207101 -I/local/users/twinders/work/php4
- -I/local/users/twinders/work/php4/main
- -I/local/users/twinders/work/php4/main
- -I/local/users/twinders/work/php4/Zend
- -I/local/users/twinders/work/php4/Zend
- -I/local/users/twinders/work/php4/TSRM
- -I/local/users/twinders/work/php4/TSRM -I/local/users/twinders/work/php4
- -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
- -DBIG_SECURITY_HOLE
./apaci modules.c
cc -c -I./../../mm-1.0.12 -I./os/unix -I./include -DOSF1
- -DMOD_SSL=207101 -I/local/users/twinders/work/php4
- -I/local/users/twinders/work/php4/main
- -I/local/users/twinders/work/php4/main
- -I/local/users/twinders/work/php4/Zend
- -I/local/users/twinders/work/php4/Zend
- -I/local/users/twinders/work/php4/TSRM
- -I/local/users/twinders/work/php4/TSRM -I/local/users/twinders/work/php4
- -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
- -DBIG_SECURITY_HOLE ./apaci buildmark.c
cc -DOSF1 -DMOD_SSL=207101 -I/local/users/twinders/work/php4
- -I/local/users/twinders/work/php4/main
- -I/local/users/twinders/work/php4/main
- -I/local/users/twinders/work/php4/Zend
- -I/local/users/twinders/work/php4/Zend
- -I/local/users/twinders/work/php4/TSRM
- -I/local/users/twinders/work/php4/TSRM -I/local/users/twinders/work/php4
- -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
- -DBIG_SECURITY_HOLE ./apaci -L/local/users/twinders/work/openssl-0.9.6
- -L./../../mm-1.0.12/.libs \
-o httpd buildmark.o modules.o modules/extra/libextra.a
modules/proxy/libproxy.a modules/ssl/libssl.a modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib -L/usr/local/lib
- -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
- -lc-client -lintl -lresolv -lm -lresolv -lm -ldbm -lssl -lcrypto -lmm
ld:
Unresolved:
sapi_globals_id
ts_resource
__pthread_mutex_init
__pthread_mutex_destroy
__pthread_mutex_lock
__pthread_mutex_unlock
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/local/users/twinders/work/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/local/users/twinders/work/apache_1.3.14'
make: *** [build] Error 2
**********************************************
Tim Winders, MCSE, CNE, CCNA
Associate Dean of Information Technology
South Plains College
Levelland, TX 79336
Phone: 806-894-9611 x 2369
FAX: 806-894-1549
Email: TWinders@SPC.cc.tx.us
**********************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (OSF1)
Comment: Made with pgp4pine 1.75-6
iEYEARECAAYFAjoK3AgACgkQTPuHnIooYbwPpACfdsu/Klv8l8VoG8x+hjASHvV8
agwAn1hdWTP7wWCjjzl0//IuVFCuZjEi
=QlGS
-----END PGP SIGNATURE-----