MCAL and PHP

Raul Alvarez Venegas rav@tecoman.ucol.mx
Fri, 3 Nov 2000 00:36:56 +0000 ( )


Hi all!,

After updating my CVS version of PHP4 and attempting to recompile with
mcal support for Kronolith I get the following error:

sagitario:/usr/src/apache_1.3.12# ./configure --prefix=/usr/local/apache/
--activate-module=src/modules/php4/libphp4.a
--activate-module=src/modules/standard/mod_speling.o
--activate-module=src/modules/standard/mod_info.o; make
...
dules/php4 -L../../modules/php4 -lmodphp4  -lc-client  -lstdc++ -ldl -lz
-lz -ljpeg -lpng -ltiff -lpdf -lmysqlclient -lmcal -lldap -llber -lresolv
-lm -ldl -lcrypt -lnsl  -lresolv   -L/usr/src/expat -lexpat  -lm -lcrypt
-L/usr/src/openssl-0.9.5a -lssl -lcrypto
modules/php4/libphp4.a(php_mcal.o): In function `cal_close_it':
/usr/src/cvs/php4/ext/mcal/php_mcal.c:129: undefined reference to
`cal_close'
modules/php4/libphp4.a(php_mcal.o): In function `php_mcal_do_open':
/usr/src/cvs/php4/ext/mcal/php_mcal.c:229: undefined reference to
`cal_open'
/usr/src/cvs/php4/ext/mcal/php_mcal.c:240: undefined reference to
`calevent_new'
modules/php4/libphp4.a(php_mcal.o): In function `php_mcal_event_init':
/usr/src/cvs/php4/ext/mcal/php_mcal.c:248: undefined reference to
`calevent_free'
/usr/src/cvs/php4/ext/mcal/php_mcal.c:249: undefined reference to
`calevent_new'
modules/php4/libphp4.a(php_mcal.o): In function `php_if_mcal_fetch_event':
/usr/src/cvs/php4/ext/mcal/php_mcal.c:461: undefined reference to
`cal_fetch'
/usr/src/cvs/php4/ext/mcal/php_mcal.c:465: undefined reference to
`calevent_free'
modules/php4/libphp4.a(php_mcal.o): In function `php_if_mcal_list_events':
/usr/src/cvs/php4/ext/mcal/php_mcal.c:532: undefined reference to
`dt_setdate'
/usr/src/cvs/php4/ext/mcal/php_mcal.c:533: undefined reference to
`dt_setdate'
...

And more.

I'm trying to compile PHP as a static module of Apache.

Using:

Horde 1.3.2-cvs
Kronolith-0.0.2-cvs
Apache-1.3.12
apache_1.3.12+ssl_1.41
OpenSSL-0.9.5a
PHP4-cvs
cvs version of libmcal, icap and mstore

Am I missing something that is leading to that error?

Thanks!

Raul