ID:               22813
 User updated by:  ciano at borgosatollo dot it
 Reported By:      ciano at borgosatollo dot it
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.19
 PHP Version:      4.3.1
 New Comment:

this appens even with gcc 2.96

HELP =PP


Previous Comments:
------------------------------------------------------------------------

[2003-03-21 06:35:44] ciano at borgosatollo dot it

I'm compiling with this configure:
"./configure --enable-calendar --with-zlib --with-bz2 --enable-ftp
--with-ttf --with-mysql --with-mysql-sock --with-pgsql --enable-sockets
--with-apxs2=/usr/local/apache2/bin/apxs"

but I'm getting this error:

"ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function
`my_tempnam':
/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use
of `tempnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x41c): In function `my_dir':
/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined
reference to `errno'
ext/mysql/libmysql/my_lib.lo(.text+0x658): In function `my_stat':
/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined
reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xe2): In function `my_malloc':
/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined
reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function
`my_realloc':
/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined
reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x8a): In function `my_delete':
/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined
reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x85):/home/lucio/php/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1"

this happens even with the 4.3.0 and looks trange because I've already
compiled the 4.3.0 version on the same machine without haveing problems
and It's now running pretty well.

Any suggestion??

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22813&edit=1

Reply via email to