Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2000 18:16:48 +0200
From:      Tadas <btadas@is.lt>
To:        freebsd-questions@freebsd.org
Subject:   MySQL++-1.7 does'nt build
Message-ID:  <20000608181648.A35779@tadas.lt>

next in thread | raw e-mail | index | archive | help
I succesfuly installed MySQL 3.22 database. I need a C++ API for it,
but I can't build it :(

MySQL is installed under /usr/local. By doing 'gmake' in mysql++-1.7
dir, it says:

***********************
gmake  all-recursive
gmake[1]: Entering directory `/home/temp/mysql++-1.7'
Making all in sqlplusint
gmake[2]: Entering directory `/home/temp/mysql++-1.7/sqlplusint'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
-I../sqlplusi
nt  -I/usr/local/include/mysql  -O2 -Wall -c coldata.cc
rm -f .libs/coldata.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../sqlplusint
-I/usr/local/include/mysql -O2
-Wall -c  -fPIC -DPIC coldata.cc -o .libs/coldata.lo
In file included from convert2.hh:2,
                 from convert3.hh:2,
                 from coldata4.hh:4,
                 from coldata.cc:3:
convert1.hh: In method `mysql_convert<long long
int>::mysql_convert(const char *
, const char *&)':
convert1.hh:50: implicit declaration of function `int strtoll(...)'
convert1.hh: In method `mysql_convert<long long unsigned
int>::mysql_convert(con
st char *, const char *&)':
convert1.hh:51: implicit declaration of function `int strtoull(...)'
gmake[2]: *** [coldata.lo] Error 1
gmake[2]: Leaving directory `/home/tem
*********************

I tried to install this ander RedHat Linux 6, and it worked fine.

So, what's wrong?
Tadas


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000608181648.A35779>