If you put this line near the top of client/mysql.cc (say, after the line that includes signal.h), does the compile proceed?
#include <errno.h>
(I'm assuming that you have an errno.h somewhere on your system.)
At 8:43 -0700 6/14/03, Gaurav Kumar wrote:
hello mysql users. i have lately joined the wonderful world of mysql. i downloaded tarball mysqla-3.23.54a.
./configure is not giving me any problem.
however on executing make to compile the source file i
am getting error
_________________________________________________________
make[2]: Entering directory
`/gaurav/mysql-3.23.54a/client'
source='mysql.cc' object='mysql.o' libtool=no \
depfile='.deps/mysql.Po' tmpdepfile='.deps/mysql.TPo'
\
depmode=gcc3 /bin/sh ../depcomp \
g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include
-I../include -I./.. -I.. -I
.. -O3 -DDBUG_OFF -fno-implicit-templates
-fno-exceptions -fno-rtti -c -o m
ysql.o `test -f mysql.cc || echo './'`mysql.cc
/bin/sh ../libtool --mode=link g++ -O3 -DDBUG_OFF -fno-implicit-templates -fn
o-exceptions -fno-rtti -rdynamic -o mysql mysql.o
readline.o sql_string.o com
pletion_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/lib
readline.a -lncurses
../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl
-lm -
Wl,--rpath -Wl,/usr/local/lib/mysql
mysql.o(.text+0x189c): In function
`com_source(String*, char*)':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory
`/gaurav/mysql-3.23.54a/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gaurav/mysql-3.23.54a'
make: *** [all] Error 2
[EMAIL PROTECTED] mysql-3.23.54a]#
______________________________________________________
plz help
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
-- Paul DuBois, Senior Technical Writer Madison, Wisconsin, USA MySQL AB, www.mysql.com
Are you MySQL certified? http://www.mysql.com/certification/
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]