ID: 41102 Updated by: [EMAIL PROTECTED] Reported By: nobody at example dot org -Status: Open +Status: Feedback Bug Type: *Compile Issues Operating System: Linux 2.6 PHP Version: 5.2.2RC1 New Comment:
>It is on the machine I'm attempting to build on Great, but I apparently don't have your machine so I need to know how to reproduce it on my machine. Previous Comments: ------------------------------------------------------------------------ [2007-04-16 14:04:52] nobody at example dot org > Not reproducible. It is on the machine I'm attempting to build on - running Slackware 10.0. The same machine built a PHP5.1 static module without error. ------------------------------------------------------------------------ [2007-04-16 13:53:35] [EMAIL PROTECTED] Not reproducible. ------------------------------------------------------------------------ [2007-04-16 13:43:28] nobody at example dot org Description: ------------ I'm unable to compile 5.2.2RC1 as an Apache module on a specific machine/configuration. Neither PHP_LIBS or PHP_CFLAGS are present in apache src/modules/php5/Makefile Even after manually adding include paths and libs to EXTRA_* in the makefile, build fails at linker stage. Problem system has: autoconf (GNU Autoconf) 2.59 gcc version 3.3.4 Successfully compiled on another system with: autoconf (GNU Autoconf) 2.61 gcc version 3.4.6 Reproduce code: --------------- # Manual additions to /src/modules/php5/Makefile EXTRA_LIBS=-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5 \ -lcrypt -lz -ldl -lm -lxml2 EXTRA_INCLUDES=-I../../../../php-5.2.2RC1/main -I../../../../php-5.2.2RC1/Zend \ -I../../../../php-5.2.2RC1/sapi/apache -I../../../../php-5.2.2RC1/ \ -I../../../../php-5.2.2RC1/TSRM Expected result: ---------------- Clean compile. Actual result: -------------- modules.o(.data+0x44): undefined reference to `php5a_module' modules.o(.data+0xa4): undefined reference to `php5a_module' collect2: ld returned 1 exit status ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41102&edit=1