arrrrgggggghhhhh - un-bloody-defined-bloody-references

From: Date: Fri, 18 May 2001 14:28:23 +0000
Subject: arrrrgggggghhhhh - un-bloody-defined-bloody-references
Groups: php.install 
Request: Send a blank email to php-install+get-3202@lists.php.net to get a copy of this message
need help. at wits end. don't know what else to do. spent all day trying to get this to work.... I'm trying to get PHP 4.05 to have a threesome with Apache 1.3.19 and PostgreSQL 7.1 on Redhat 6.1. But Apache is having none of it. Output from the build is below: gcc -DLINUX=22 -I/usr/local/src/php-4.0.5 -I/usr/local/src/php-4.0.5/main - I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5/Zend -I/usr/local/ src/php-4.0.5/ Zend -I/usr/local/src/php-4.0.5/TSRM -I/usr/local/src/php-4.0.5/TSRM -I/usr/ local/src/php-4.0.5 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/proxy/libproxy.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/e xpat-lite/libexpat.a -Wl,-rpath,/usr2/pgsql/lib -rdynamic -L/usr2/pgsql/li b -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -l dl -lpq -lreso lv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -lndbm modules/php4/libphp4.a(mod_php4.o): In function `sapi_apache_register_server_variables': /usr/local/src/php-4.0.5/sapi/apache/mod_php4.c:236: undefined reference to `php_register_variable' /usr/local/src/php-4.0.5/sapi/apache/mod_php4.c:251: undefined reference to `php_register_variable' /usr/local/src/php-4.0.5/sapi/apache/mod_php4.c:254: undefined reference to `php_register_variable' modules/php4/libphp4.a(main.o): In function `php_hash_environment': /usr/local/src/php-4.0.5/main/main.c:1019: undefined reference to `php_import_environment_variables' /usr/local/src/php-4.0.5/main/main.c:1027: undefined reference to `php_treat_data' /usr/local/src/php-4.0.5/main/main.c:1034: undefined reference to `php_treat_data' /usr/local/src/php-4.0.5/main/main.c:1041: undefined reference to `php_treat_data' /usr/local/src/php-4.0.5/main/main.c:971: undefined reference to `php_register_variable' /usr/local/src/php-4.0.5/main/main.c:974: undefined reference to `php_register_variable' /usr/local/src/php-4.0.5/main/main.c:971: undefined reference to `php_register_variable' /usr/local/src/php-4.0.5/main/main.c:974: undefined reference to `php_register_variable' modules/php4/libphp4.a(rfc1867.o): In function `safe_php_register_variable': /usr/local/src/php-4.0.5/main/rfc1867.c:53: undefined reference to `php_register_variable' modules/php4/libphp4.a(rfc1867.o): In function `safe_php_register_variable_ex': /usr/local/src/php-4.0.5/main/rfc1867.c:61: undefined reference to `php_register_variable_ex' modules/php4/libphp4.a(php_content_types.o): In function `php_default_post_reader': /usr/local/src/php-4.0.5/main/php_content_types.c:40: undefined reference to `php_std_post_handler' modules/php4/libphp4.a(string.o): In function `php_if_parse_str': /usr/local/src/php-4.0.5/ext/standard/string.c:2647: undefined reference to `php_treat_data' /usr/local/src/php-4.0.5/ext/standard/string.c:2654: undefined reference to `php_treat_data' modules/php4/libphp4.a(tsrm_virtual_cwd.o): In function `virtual_file_ex': /usr/local/src/php-4.0.5/TSRM/tsrm_virtual_cwd.c:367: undefined reference to `tsrm_strtok_r' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 My libs are: LIBS1= -Wl,-rpath,/usr2/pgsql/lib -rdynamic -L/usr2/pgsql/lib -Lmodules/ph p4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lpq -lreso lv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -lndbm Pleeeeeeeease, if anyone knows what is going on, let me know. I'm getting very very desperate. Thanx Kev.

« previous php.install (#3202) next »