Undefined references with MCAL
| From: | Raul Alvarez Venegas | Date: | Fri, 03 Nov 2000 04:18:30 +0000 |
| Subject: | Undefined references with MCAL | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-586@lists.php.net to get a copy of this message | ||
Hello everybody!,
I'm getting the following error while trying to build PHP (with MCAL
support) as a static module of Apache:
/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
...
sql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-lc-client -ldl -lz -lz -ljpeg -lpng -ltiff -lpdf -lmysqlclient -lmcal
-lldap -llber -lresolv -lm -ldl -lcrypt -lnsl -lresolv -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/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/php4/ext/mcal/php_mcal.c:229: undefined reference to `cal_open'
/usr/src/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/php4/ext/mcal/php_mcal.c:248: undefined reference to
`calevent_free'
/usr/src/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/php4/ext/mcal/php_mcal.c:461: undefined reference to `cal_fetch'
/usr/src/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/php4/ext/mcal/php_mcal.c:532: undefined reference to `dt_setdate'
/usr/src/php4/ext/mcal/php_mcal.c:533: undefined reference to `dt_setdate'
/usr/src/php4/ext/mcal/php_mcal.c:541: undefined reference to
`cal_search_range'
modules/php4/libphp4.a(php_mcal.o): In function `php_if_mcal_list_alarms':
/usr/src/php4/ext/mcal/php_mcal.c:650: undefined reference to `dt_setdate'
/usr/src/php4/ext/mcal/php_mcal.c:651: undefined reference to `dt_settime'
/usr/src/php4/ext/mcal/php_mcal.c:657: undefined reference to
`cal_search_alarm'
modules/php4/libphp4.a(php_mcal.o): In function
`php_if_mcal_delete_event':
/usr/src/php4/ext/mcal/php_mcal.c:725: undefined reference to `cal_remove'
...
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.12'
make: *** [build] Error 2
/usr/src/apache_1.3.12#
Using:
Apache-1.3.12
apache_1.3.12+ssl_1.41
OpenSSL-0.9.5a
PHP4 CVS
CVS version of libmcal, mstore and icap
Has anyone experienced the same or am I missing something?.
Thank you for your attention.
Raul