Date: 04/28/00
- Next message: radek <email protected>: "[PHP-DEV] Bug #4271: with apache compiled with PHP, SSL as DSO and PHP with postgresql support, enab"
- Previous message: Bug Database: "[PHP-DEV] Bug #4271 Updated: with apache compiled with PHP, SSL as DSO and PHP with postgresql support, enab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: oliver <email protected>
Operating system: Linux 2.0.39 & libc5
PHP version: 4.0 Latest CVS (28/04/2000)
PHP Bug Type: Compile Failure
Bug description: undefined reference to `strtok_r' when linking...
I get an undefined reference, when I try to link php as
cgi or apache with mod_php.
The configure detects the missing strtok_r:
checking for strtok_r... (cached) no
php_config.h:
/* Define if you have the strtok_r function. */
/* #undef HAVE_STRTOK_R */
Despite I get the following warnings/errors:
gcc -c php_virtual_cwd.c
php_virtual_cwd.c: In function `virtual_file_ex':
php_virtual_cwd.c:272: warning: implicit declaration of function `strtok_r'
php_virtual_cwd.c:272: warning: assignment makes pointer from integer without a cast
php_virtual_cwd.c:303: warning: assignment makes pointer from integer without a cast
.libs/libphp4.a(php_virtual_cwd.o): In function `virtual_file_ex':
/home/oliver/cvs/cgi/php4/php_virtual_cwd.c:303: undefined reference to `strtok_r'
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: radek <email protected>: "[PHP-DEV] Bug #4271: with apache compiled with PHP, SSL as DSO and PHP with postgresql support, enab"
- Previous message: Bug Database: "[PHP-DEV] Bug #4271 Updated: with apache compiled with PHP, SSL as DSO and PHP with postgresql support, enab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

