#23129 [Fbk->Csd]: inbuilt mysql fails to build on RedHat 9

From: Date: Thu, 10 Apr 2003 10:10:12 +0000
Subject: #23129 [Fbk->Csd]: inbuilt mysql fails to build on RedHat 9
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37514@lists.php.net to get a copy of this message
ID: 23129 User updated by: petermclarke at hotmail dot com Reported By: petermclarke at hotmail dot com -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: RedHat 9 PHP Version: 4.3.1 New Comment: That's fixed it. Nice one, thanks. Peter Previous Comments: ------------------------------------------------------------------------ [2003-04-09 16:49:22] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-04-09 07:20:24] petermclarke at hotmail dot com The inbuilt mysql stops php from compiling. Build works if '--without-msql' is used in the configure stage. './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pgsql=/usr/local/pgsql' '--with-curl=/usr/local/curl' '--with-curlwrappers' '--enable-mbstring' '--disable-cgi' '--enable-sockets' '--with-openssl=/usr/local/ssl' errors from make: ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir': /usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat': /usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc': /usr/local/src/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': /usr/local/src/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete': /usr/local/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/usr/local/src/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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23129&edit=1

« previous php.bugs (#37514) next »