Hi there,

I'm trying to compile the MySQL 3.23.52 source distribution on
Slackware 9.1. I'm using g++ (GCC) 3.2.3 and, I think, I've got all
the required shared libraries installed. `./configure' exits OK, but
`make' exits with an error while building the mysql client:

|mysql.o(.text+0x1b29): In function `com_source(String*, char*)':
|: undefined reference to `errno'
|collect2: ld returned 1 exit status

Inspired by Paul DuBois
(http://www.jsw4.net/info/list-archives/mysql/03-wk23/msg00660.html),
I've added the line '#include <errno.h>' to client/mysql.cc.
Afterwards, `make' spit out an error ('undefined reference to
`errno'') concerning libmysqlclient.so (the shared library built just
before the mysql client). I've tried a lot of crazy actions, like
using gcc instead of g++ (CXX=gcc etc.), copying /usr/include/errno.h
to the mysql source tree and many, many other, but these experiments
were in vain. I've also googled the whole world and found nothing.

Does anybody has a clue what should I do? Perhaps some package is
missing on my system? Oh, by the way, the same source tarball compiles
fine on RedHat 7.2 (no errors are shown while compiling the mysql
client).

Thanks in advance for your help,
Michal Kepien

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to