ID: 22346 Updated by: [EMAIL PROTECTED] Reported By: erwthijs at hotmail dot com -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Linux Red Hat 8.0 -PHP Version: 4.3.1 +PHP Version: 4.3.2-dev New Comment:
Unrelated: Did you happen to compile that mysql yourself? What gcc version do you have? Previous Comments: ------------------------------------------------------------------------ [2003-02-21 03:14:33] erwthijs at hotmail dot com Hi, i'm trying to install php-4.3.1 on my Red Hat 8 machine. I've installed httpd-2.0.44 and Mysql-3.23.54a-4. The configure script ran fine. ./configure --with-apxs2=/etc/httpd2/bin/apxs --prefix=/etc/httpd2/php --with-mysql This works fine. But the 'make' fails. I get the following error. ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': /usr/src/php4-STABLE-200302210830/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' ext/mysql/libmysql/my_lib.lo: In function `my_dir': /usr/src/php4-STABLE-200302210830/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.lo: In function `my_stat': /usr/src/php4-STABLE-200302210830/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.lo: In function `my_malloc': /usr/src/php4-STABLE-200302210830/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.lo: In function `my_realloc': /usr/src/php4-STABLE-200302210830/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.lo: In function `my_delete': /usr/src/php4-STABLE-200302210830/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.lo:/usr/src/php4-STABLE-200302210830/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 And then it stop. I've tried downloading the latest stable php-*.tar.gz (php4-STABLE-200302210830). Is there anyone who can help me with this ? Thanks in advance. Kind Regards. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22346&edit=1