#18873 [NEW]: qtdom extension causes CLI compilation to fail

From: Date: Tue, 13 Aug 2002 04:05:25 +0000
Subject: #18873 [NEW]: qtdom extension causes CLI compilation to fail
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16567@lists.php.net to get a copy of this message
From: kennyz@nycap.rr.com Operating system: Linux 2.4.19 PHP version: 4CVS-2002-08-12 PHP Bug Type: Compile Failure Bug description: qtdom extension causes CLI compilation to fail Compiling PHP4 with qtdom support and enabling the CLI version causes a compilation failure when the final CLI binary is being built. The error message is: main/internal_functions_cli.lo: In function `php_startup_internal_extensions': /usr/local/src/Internet/php4-200208121800/main/internal_functions_cli.c(.data+0x10): undefined reference to `qtdom_module_entry' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 The external variable qtdom_module_entry is not defined. This variable is defined in ext/qtdom/qtdom.c, but it does not appear that qtdom.c is ever compiled or linked into anything else. My simplest configure line is: ./configure --prefix=/usr/local/php --with-qtdom --enable-cli but the compilation error also occurs if I build the Apache module as well as the CLI. In that case, the Apache module, libphp4.la, builds fine, but the CLI fails to build. The configure line I used to build both the module and the CLI was: ./configure --prefix=/usr/local/php --with-qtdom --enable-cli --with-apxs2 GCC version: GCC version: Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs gcc version 2.95.3 20010315 (release) Make version: GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. -- Edit bug report at http://bugs.php.net/?id=18873&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18873&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18873&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18873&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18873&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18873&r=support Expected behavior: http://bugs.php.net/fix.php?id=18873&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18873&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18873&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18873&r=globals

« previous php.bugs (#16567) next »