i am using red hat linux 9 on x86
i have copied that the errno.h file from /usr/include
and put #include errno.h at the top of the file
here it is what it looke like..
__
/* mysql command tool
* Commands compatible with mSQL by David J. Hughes
*
* Written by:
* Michael 'Monty' Widenius
* Andi Gutmans [EMAIL PROTECTED]
* Zeev Suraski [EMAIL PROTECTED]
* Jani Tolonen [EMAIL PROTECTED]
*
**/
#include errno.h
#include client_priv.h
#include m_ctype.h
#include my_dir.h
#ifndef __GNU_LIBRARY__
#define __GNU_LIBRARY__ // Skip warnings in
getopt.h
#endif
#include my_readline.h
#include signal.h
still i am getting the same error.
plz help.
--- Paul DuBois [EMAIL PROTECTED] wrote:
What kind of system is this?
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]
__
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]