From: carlo dot beccaria at sys-net dot it Operating system: linux PHP version: 5CVS-2003-09-15 (dev) PHP Bug Type: *Compile Issues Bug description: undefined reference
Description: ------------ under redhat8.0 (upgraded to rawhide) './configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2=/usr/sbin/apxs' '--enable-libgcc' Expected result: ---------------- compile Actual result: -------------- ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre': /home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:92: undefined reference to `php_pcre_version' ext/pcre/php_pcre.o(.text+0x55d): In function `pcre_get_compiled_regex': /home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:275: undefined reference to `php_pcre_maketables' ext/pcre/php_pcre.o(.text+0x587):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:279: undefined reference to `php_pcre_compile' ext/pcre/php_pcre.o(.text+0x627):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:294: undefined reference to `php_pcre_study' ext/pcre/php_pcre.o(.text+0x902): In function `php_pcre_match': /home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:418: undefined reference to `php_pcre_fullinfo' ext/pcre/php_pcre.o(.text+0x986):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:435: undefined reference to `php_pcre_fullinfo' ext/pcre/php_pcre.o(.text+0x9b7):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:437: undefined reference to `php_pcre_fullinfo' ext/pcre/php_pcre.o(.text+0x9d8):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:438: undefined reference to `php_pcre_fullinfo' ext/pcre/php_pcre.o(.text+0xa85):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:463: undefined reference to `php_pcre_exec' ext/pcre/php_pcre.o(.text+0xb1b):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:480: undefined reference to `php_pcre_get_substring_list' ext/pcre/php_pcre.o(.text+0x1b3e): In function `php_pcre_replace': /home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:825: undefined reference to `php_pcre_info' ext/pcre/php_pcre.o(.text+0x1bd2):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:838: undefined reference to `php_pcre_exec' ext/pcre/php_pcre.o(.text+0x2be4): In function `zif_preg_split': /home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:1222: undefined reference to `php_pcre_info' ext/pcre/php_pcre.o(.text+0x2c7b):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:1233: undefined reference to `php_pcre_exec' ext/pcre/php_pcre.o(.text+0x358b): In function `zif_preg_grep': /home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:1453: undefined reference to `php_pcre_info' ext/pcre/php_pcre.o(.text+0x366d):/home/becks/rpm-build/BUILD/php-200309150530/ext/pcre/php_pcre.c:1466: undefined reference to `php_pcre_exec' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=25538&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25538&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25538&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25538&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25538&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25538&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25538&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25538&r=support Expected behavior: http://bugs.php.net/fix.php?id=25538&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25538&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25538&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25538&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25538&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25538&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25538&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25538&r=gnused
