Hello,
I would like to install IMAP library with my PHP 4.O.4 but every time I run a compilation with Apache 1.3.14
with params :
./configure --prefix=/opt/apache_1.3.14 --activate-module=src/modules/php4/libphp4.a
I get the fullowing error message :
Configuring for Apache, Version 1.3.14
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
make: Warning: File Makefile' has modification time in the future (2000-12-
./apaci
21 15:28:32 > 2000-12-21 15:27:38)
cd ..; gcc -DLINUX=2 -I/home/sources/src/php-4.0.4 -I/home/sources/src/php-4.0.
4/main -I/home/sources/src/php-4.0.4/main -I/home/sources/src/php-4.0.4/Zend -I/
home/sources/src/php-4.0.4/Zend -I/home/sources/src/php-4.0.4/TSRM -I/home/sourc
es/src/php-4.0.4/TSRM -I/home/sources/src/php-4.0.4 -DUSE_EXPAT -I./lib/expat-li
te -DNO_DL_NEEDED-o helpers/dummy helpers/dummy.c -rdynamic -Lm
mm_expunged'
odules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -limap -ldl
-lttf -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_diskerror'
mm_lsub'
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_flags'
mm_fatal'
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_nocritical'
mm_notify'
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_searched'
mm_status'
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_login'
mm_list'
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_critical'
mm_exists'
/usr/lib/libimap.so: undefined reference to
/usr/lib/libimap.so: undefined reference to mm_log'
mm_dlog'
/usr/lib/libimap.so: undefined reference to
collect2: ld returned 1 exit status
make: [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
A test compilation with your Makefile configuration
failed. The below error output from the compilation
test will give you an idea what is failing. Note that
Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
ps: mm_* symbols are defined in libmodphp4.a
What to do ???