|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-22 12:25 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
I cannot compile apache+php+snmp (statically linked). this is my configure command for PHP: ./configure --with-pgsql --with-apache=../apache_1.3.20 \ --enable-track-vars \ --with-gd --with-snmp --enable-calendar this is my configure command for apache: ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a PHP compiles and installs without problem. and this comes out from making of apache: Configuring for Apache, Version 1.3.20 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src cd ..; gcc -DLINUX=22 -I/soft/php-4.0.5 -I/soft/php-4.0.5/main -I/soft/php-4.0.5/main -I/soft/php-4.0.5/Zend -I/soft/php-4.0.5/Zend -I/soft/php-4.0.5/TSRM -I/soft/php-4.0.5/TSRM -I/soft/php-4.0.5 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/pgsql/lib -rdynamic -L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lsnmp -lpq -lttf -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_DigestInit' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_DigestFinal' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_md5' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `HMAC' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_sha1' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `des_cbc_encrypt' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `des_key_sched' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_DigestUpdate' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `RAND_bytes' 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!