HI, Server Details: OpenUnix 8 Apache 1.3.24 PHP 4.2.1 LIBXML 2.4.16 gcc 2.95.3pl1
I am trying to compile Apache and PHP on OpenUnix 8. Managed to get PHP to successfully compile and build a module for Apache. Trying to compile apache, and I'm getting undefined symbol errors with PHP: gcc -DTARGET=\"httpsd\" -I/home/samsa/archives/php-4.2.1 -I/home/samsa/arch ives/php-4.2.1/main -I/home/samsa/archives/php-4. 2.1/main -I/home/samsa/archives/php-4.2.1/Zend -I/home/samsa/archives/php-4. 2.1/Zend -I/home/samsa/archives/php-4.2.1/TSRM -I/home/sa msa/archives/php-4.2.1/TSRM -I/home/samsa/archives/php-4.2.1 -DUSE_EXPAT -I. /lib/expat-lite -DAPACHE_SSL `./apaci` \ -o httpsd buildmark.o modules.o modules/ssl/libssl.a modules/php4/libphp4.a modules/standard/libstandard.a main/lib main.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -L/usr/ucblib -L/usr/local/lib -L/usr/local/mysql /lib -L/usr/ucbli b -L/usr/local/lib -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 - L../../modules/php4 -lmodphp4 -lmysqlclient -lz -lnsl - lsocket -lm -lz -lxml2 -lz -lcrypt -lresolv -lresolv -lm -ldl -lsocket -lso cket -lcrypt -L/usr/local/ssl/lib -lssl -lcrypto Undefined first referenced symbol in file php_register_variable_ex libphp4.a(rfc1867.o) php_std_post_handler libphp4.a(php_content_types.o) php_treat_data libphp4.a(main.o) tsrm_strtok_r libphp4.a(tsrm_virtual_cwd.o) __builtin_generic libphp4.a(formatted_print.o) php_register_variable libphp4.a(mod_php4.o) php_import_environment_variables libphp4.a(main.o) UX:ld: ERROR: Symbol referencing errors. No output written to httpsd collect2: ld returned 1 exit status *** Error code 1 (bu21) UX:make: ERROR: fatal error. Any ideas? I don't know what library has been left out. PHP built successfully with gcc. Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php