PHP 4.0 Bug #1958: compile failure: undefined function in crypt

From: Date: Wed, 04 Aug 1999 15:00:00 +0000
Subject: PHP 4.0 Bug #1958: compile failure: undefined function in crypt
Groups: php.dev 
Request: Send a blank email to php-dev+get-9504@lists.php.net to get a copy of this message
From: ritter@lfc.edu Operating system: Caldera OpenLinux 2.2 PHP version: 4.0 Beta 1 PHP Bug Type: Compile Failure Bug description: compile failure: undefined function in crypt System: Caldera OpenLinux 2.2 Apache 1.3.6 PHP 4.0b1 MySQL 3.22.25 PHP 4 compile options used: --with-apache --with-mysql --enable-track-vars I'm trying to compile PHP4 as an Apache module. Here is the compiller output: ===> src make[1]: Entering directory `/root/F_keystone/apache_1.3.6' make[2]: Entering directory `/root/F_keystone/apache_1.3.6/src' ===> src/regex make[3]: Nothing to be done for `all'. <=== src/regex ===> src/os/unix make[3]: Nothing to be done for `all'. <=== src/os/unix ===> src/ap make[3]: Nothing to be done for `all'. <=== src/ap ===> src/main make[3]: Nothing to be done for `all'. <=== src/main ===> src/modules ===> src/modules/standard make[4]: Nothing to be done for `all'. <=== src/modules/standard ===> src/modules/php4 make[4]: Nothing to be done for `all'. <=== src/modules/php4 <=== src/modules gcc -c -I./os/unix -I./include -DLINUX=2 -I/root/F_keystone/php-4.0b1 -I/root/F_keystone/php-4.0b1/libzend -I/root/F_keystone/php-4.0b1/libzend -I/root/F_keystone/php-4.0b1 -DUSE_HSREGEX ./apaci modules.c gcc -c -I./os/unix -I./include -DLINUX=2 -I/root/F_keystone/php-4.0b1 -I/root/F_keystone/php-4.0b1/libzend -I/root/F_keystone/php-4.0b1/libzend -I/root/F_keystone/php-4.0b1 -DUSE_HSREGEX ./apaci buildmark.c gcc -DLINUX=2 -I/root/F_keystone/php-4.0b1 -I/root/F_keystone/php-4.0b1/libzend -I/root/F_keystone/php-4.0b1/libzend -I/root/F_keystone/php-4.0b1 -DUSE_HSREGEX ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/root/F_keystone/php-4.0b1/ext/pcre/pcrelib -lpcre -L/root/F_keystone/php-4.0b1/regex -lregex -lgdbm -L/root/F_keystone/php-4.0b1/../mysql-3.22.25/lib -lmysqlclient -lpam -ldl -lm -lnsl -lresolv -rdynamic -lm modules/php4/libphp4.a(ext_standard_crypt.o): In function 'php3_crypt': /root/F_keystone/php-4.0b1/ext/standard/crypt.c:171:undefined reference to 'crypt' ap/libap.a(ap_md5c.o): In Function 'ap_validate_password': ap_md5c.o(.text+0x1ad9): undefined reference to 'crypt' make[2]: *** [target_static] Error 1 make[2]: Leaving directory '/root/F_keystone/apache_1.3.6/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory '/root/F_keystone/apache_1.3.6' make: *** [build] Error 2 make[2]: Leaving directory `/root/F_keystone/apache_1.3.6/src' make[1]: Leaving directory `/root/F_keystone/apache_1.3.6'

« previous php.dev (#9504) next »