ScottG - 2006-08-02

Hi, I can't seem to get mcal to work with PHP/apache.  I can compile mcal (I only compile and install libmcal 0.7, no drivers) and then php fine.  But as soon as I try to compile apache (with the PHP module) it fails with the following.

If I leave out mcal if works fine, always has for years.  I did a "strings libmcal.so | grep cc_vlog" and its in there I think.  But no matter what theres two undefined references.  Anyone know what to do?   Linux 2.4.32, Apache 1.3.34-37, PHP 4.4.2/3, modsecurity 1.9.4, modssl.

Thanks
kenw232@yahoo.com

./configure --enable-module=ssl --activate-module=src/modules/php4/libphp4.a --enable-module=php4 --prefix=/webstuff/apache --enable-module=speling --enable-module=rewrite --enable-module=log_referer --activate-module=src/modules/extra/mod_security --enable-module=security
Configuring for Apache, Version 1.3.37
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
+ activated security module (modules/extra/mod_security)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
    o rewrite_module uses ConfigStart/End
+ using -ldb1 for DBM support
      enabling DBM support for mod_rewrite
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.8.28
      ...
    o php4_module uses ConfigStart/End
+ enabling Extended API (EAPI)
+ using system Expat
+ checking sizeof various data types

======== Error Output for sanity check ========
cd ..; gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/db1 -DMOD_SSL=208128 -DEAPI -DNO_DL_NEEDED -DMULTIPLE_GROUPS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE `./apaci`   -L/usr/local/lib  -o helpers/dummy helpers/dummy.c   -Wl,-rpath,/webstuff/openssl/lib -Wl,-rpath,/webstuff/curl/lib -Wl,-rpath,/webstuff/freetype/lib -Wl,-rpath,/webstuff/imap/lib -Wl,-rpath,/webstuff/mcal/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/webstuff/mysql/lib/mysql -Wl,-rpath,/webstuff/odbtp/lib -Wl,-rpath,/usr/lib/lib -Wl,-rpath,/webstuff/pdflib/lib  -rdynamic -L/webstuff/openssl/lib -L/webstuff/curl/lib -L/webstuff/freetype/lib -L/webstuff/imap/lib -L/webstuff/mcal/lib -L/usr/local/lib -L/webstuff/mysql/lib/mysql -L/webstuff/odbtp/lib -L/usr/lib/lib -L/webstuff/pdflib/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4    -rdynamic -L/webstuff/openssl/lib -L/webstuff/curl/lib -L/webstuff/freetype/lib -L/webstuff/imap/lib -L/webstuff/mcal/lib -L/usr/local/lib -L/webstuff/mysql/lib/mysql -L/webstuff/odbtp/lib -L/usr/lib/lib -L/webstuff/pdflib/lib -lcrypt  -lmcal -lc-client  -lcrypt -lpdf -lz -ltiff -lpng -ljpeg -lodbtp -lmysqlclient -lmcrypt -lltdl -lcrypt -lfreetype -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lssl -lcrypto -ldl -lz -lcrypt -lcrypt   -lm -lcrypt -ldb1  -lssl -lcrypto -lexpat
/usr/local/lib/libmcal.so: undefined reference to `cc_vlog'
/usr/local/lib/libmcal.so: undefined reference to `cc_vdlog'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============