Bug #48741 [Com]: Compilation error
Edit report at https://bugs.php.net/bug.php?id=48741&edit=1
ID: 48741
Comment by: kk dot polygon at gmail dot com
Reported by: admin at phpcode dot us
Summary: Compilation error
Status: Bogus
Type: Bug
Package: *Compile Issues
Operating System: OpenBSD
PHP Version: 5.3.0
Block user comment: N
Private report: N
New Comment:
Have this bug on Linux 2.6.16.21-0.25-smp SUSE LINUX 10.1 (X86-64)
Error in compilation:
main/main.o:(.data+0x0): undefined reference to
`php_register_internal_extensions'
collect2: ld returned 1 exit status
Configure options:
--without-pgsql --with-mysql --with-curl --with-openssl --enable-libxml --with-
zlib --enable-zip --with-xsl --with-jpeg-dir=/usr/ --with-gd --with-oci8 --
enable-sigchild --with-jpeg-dir=/usr/ --with-png-dir=/usr/ --with-freetype-
dir=/usr/ --enable-mbstring --enable-pcntl --enable-shmop --enable-sockets
php version: 5.3.8
Previous Comments:
------------------------------------------------------------------------
[2009-06-30 19:39:40] admin at phpcode dot us
Compile success on 5.3.0 releases.
------------------------------------------------------------------------
[2009-06-30 17:53:56] iliaa@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
.
------------------------------------------------------------------------
[2009-06-30 15:25:26] admin at phpcode dot us
Description:
------------
PHP 5.3.0 RC4 do't compile at all on OpenBSD current version (27/06/09).
Configure options:
--disable-all \
--disable-static \
--with-apxs=/usr/sbin/apxs \
--with-iconv=/usr/local \
--with-pcre-regex \
--with-zlib \
--with-pear=/usr/local/share/php5 \
--with-config-file-scan-dir=/var/www/conf/php5 \
--enable-bcmath \
--enable-session \
--enable-calendar \
--enable-ctype \
--enable-ftp \
--enable-xml \
--enable-libxml \
--enable-wddx \
--enable-cli \
--enable-sysvsem \
--enable-sysvshm \
--enable-shared \
--enable-inline-optimization
Error message:
/usr/lib/crt0.o(.text+0xe8): In function `___start':
: undefined reference to `main'
main/main.o(.data.rel+0x0): undefined reference to `php_register_internal_extensions'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/ports/obj/php5-core-5.3.0RC4/php-5.3.0RC4 (line 243 of Makefile).
*** Error code 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=48741&edit=1
Thread (4 messages)