Compile failure with latest snapshots when enabling trans-sid
| From: | Olivier Cahagne | Date: | Sat, 21 Oct 2000 13:11:30 +0000 |
| Subject: | Compile failure with latest snapshots when enabling trans-sid | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35718@lists.php.net to get a copy of this message | ||
Hi,
I tried 200010210445 PHP 4 snapshot and another one a few hours earlier.
I hadn't tried a snapshot since PHP 4.0.3 which runs fine here in CGI mode.
The problem occurs on three different platforms:
NetBSD 1.3.3 x86, default make, gcc 2.7.2.2, no flex, no bison.
NetBSD 1.4.2 x86, default make, egcs 2.90.60.
Linux RH6.2, egcs 2.91.66.
I reduced the configure line to be minimal when the compile failure occurs:
./configure --without-mysql --enable-trans-sid
.libs/libphp4.a(session.o): In function `session_adapt_uris':
/home/cahagn_o/php/php4-200010210445/ext/session/session.c:1330: undefined reference to `url_adapt_ext_ex'
.libs/libphp4.a(basic_functions.o): In function `php_minit_basic':
/home/cahagn_o/php/php4-200010210445/ext/standard/basic_functions.c:722: undefined reference to `php_minit_url_scanner_ex'
.libs/libphp4.a(basic_functions.o): In function `php_mshutdown_basic':
/home/cahagn_o/php/php4-200010210445/ext/standard/basic_functions.c:766: undefined reference to `php_mshutdown_url_scanner_ex'
.libs/libphp4.a(basic_functions.o): In function `php_rinit_basic':
/home/cahagn_o/php/php4-200010210445/ext/standard/basic_functions.c:801: undefined reference to `php_rinit_url_scanner_ex'
.libs/libphp4.a(basic_functions.o): In function `php_rshutdown_basic':
/home/cahagn_o/php/php4-200010210445/ext/standard/basic_functions.c:831: undefined reference to `php_rshutdown_url_scanner_ex'
On NetBSD:
session.c:1330: Undefined symbol `_url_adapt_ext_ex' referenced from text segment
basic_functions.c:722: Undefined symbol `_php_minit_url_scanner_ex' referenced from text segment
basic_functions.c:766: Undefined symbol `_php_mshutdown_url_scanner_ex' referenced from text segment
basic_functions.c:801: Undefined symbol `_php_rinit_url_scanner_ex' referenced from text segment
basic_functions.c:831: Undefined symbol `_php_rshutdown_url_scanner_ex' referenced from text segment
Tried the same snapshot with a simple ./configure and PHP runs ok on every platform:
- NetBSD 1.3.3, gcc 2.7.2.2,
- Linux RH 6.2, egcs 2.91.66,
- OpenBSD 2.6, gcc 2.95.2,
- NetBSD 1.4.2, egcs 2.90.60.
I wish there were some tinderbox "a la" mozilla. :)
Are you interested in reports on 64-bit CPUs ? Alpha, ia-64, there're still 64-bit-specific compile warning and sockets.c compile failure on Digital Unix 4.0 with gcc 2.7.2.3.
--
Olivier.Cahagne@epita.fr