Bug #2589 make[1]: *** [all-recursive] Erreur 1
Submitted: 30 Jan 2004 13:29 Modified: 6 Feb 2004 8:40
Reporter: Vincent Blouin Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:3.23.52 OS:Linux (Mandrake 9.1. Cd-1 and some rpms)
Assigned to: Timothy Smith CPU Architecture:Any

[30 Jan 2004 13:29] Vincent Blouin
Description:
This is the message appearing when I type make in the install process : 

Thank you for your attention : 

make all-recursive
make[1]: Entering directory `/usr/local/mysql-3.23.52'
Making all in include
make[2]: Entering directory `/usr/local/mysql-3.23.52/include'
make[2]: Rien ? faire pour ? all ?.
make[2]: Leaving directory `/usr/local/mysql-3.23.52/include'
Making all in Docs
make[2]: Entering directory `/usr/local/mysql-3.23.52/Docs'
make[2]: Rien ? faire pour ? all ?.
make[2]: Leaving directory `/usr/local/mysql-3.23.52/Docs'
Making all in readline
make[2]: Entering directory `/usr/local/mysql-3.23.52/readline'
make[2]: Rien ? faire pour ? all ?.
make[2]: Leaving directory `/usr/local/mysql-3.23.52/readline'
Making all in libmysql
make[2]: Entering directory `/usr/local/mysql-3.23.52/libmysql'
make[2]: Rien ? faire pour ? all ?.
make[2]: Leaving directory `/usr/local/mysql-3.23.52/libmysql'
Making all in client
make[2]: Entering directory `/usr/local/mysql-3.23.52/client'
/bin/sh ../libtool --mode=link g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysql 
mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/libmysqlclient.la -lz -lcrypt -lnsl -lm
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o .libs/mysql mysql.o readline.o 
sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath -Wl,/usr/local/mysql-3.23.52/lib/mysql
mysql.o(.text+0x196f): In function `com_source(String*, char*)':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Erreur 1
make[2]: Leaving directory `/usr/local/mysql-3.23.52/client'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/local/mysql-3.23.52'
make: *** [all-recursive-am] Erreur 2

How to repeat:
I don't know 
it is after I type 
./configure --prefix=/usr/local/mysql-3.23.52
 ... the process is ok 
but then 
when I type make the problem atop happens

There are good chances that I miss some files because I could only install the first cd of Mandrake 9.1
[6 Feb 2004 8:40] Timothy Smith
Please try downloading version 3.23.58 from one of the MySQL mirrors and compiling from that version.

Also, verify that your tool chain (e.g., gcc, bison, etc.) are installed properly and that you have all of the system header files, etc.

If you still have troubles, you can get help from the mailing list:

mysql@lists.mysql.com

Thank you!

Tim