#25538 [Csd->Bgs]: undefined reference
| From: | sniper@php.net | Date: | Wed, 17 Sep 2003 05:28:56 +0000 |
| Subject: | #25538 [Csd->Bgs]: undefined reference | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47678@lists.php.net to get a copy of this message | ||
ID: 25538
Updated by: sniper@php.net
Reported By: carlo dot beccaria at sys-net dot it
-Status: Closed
+Status: Bogus
Bug Type: *Compile Issues
Operating System: linux
PHP Version: 5CVS-2003-09-15 (dev)
New Comment:
--enable-versioning might be a problem and using --with-regex=system
should NEVER be used (unless you really know what you're doing..)
Previous Comments:
------------------------------------------------------------------------
[2003-09-15 04:42:45] carlo dot beccaria at sys-net dot it
without '--enable-libgcc' build correctly
------------------------------------------------------------------------
[2003-09-15 04:09:11] carlo dot beccaria at sys-net dot it
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 this bug report at http://bugs.php.net/?id=25538&edit=1