From owner-freebsd-questions Thu Jun 8 10: 0:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.is.lt (mail.is.lt [193.219.14.14]) by hub.freebsd.org (Postfix) with ESMTP id A244137B72C for ; Thu, 8 Jun 2000 10:00:32 -0700 (PDT) (envelope-from btadas@is.lt) Received: from localhost (kaundl4.is.lt [195.182.72.195]) by mail.is.lt (8.9.3/8.9.3) with ESMTP id TAA84623 for ; Thu, 8 Jun 2000 19:00:24 +0200 (EET) Received: (qmail 36667 invoked by uid 1000); 8 Jun 2000 16:16:48 -0000 Date: Thu, 8 Jun 2000 18:16:48 +0200 From: Tadas To: freebsd-questions@freebsd.org Subject: MySQL++-1.7 does'nt build Message-ID: <20000608181648.A35779@tadas.lt> Reply-To: btadas@is.lt Mail-Followup-To: Tadas , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-OS: FreeBSD 4.0-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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::mysql_convert(const char * , const char *&)': convert1.hh:50: implicit declaration of function `int strtoll(...)' convert1.hh: In method `mysql_convert::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