List:MySQL++« Previous MessageNext Message »
From:Deepak Jangid Date:December 6 2011 8:29am
Subject:Build Failure of http://tangentsoft.net/mysql++/releases/mysql++-3.1.0.tar.gz
View as plain text  
Hello,

 

I found the following build failure while building the library,

 

/home/deepak/Development/mysql++-3.1.0/bk-deps g++ -c -o ssqlsxlat_genv2.o
-Ilib      -I/usr/include/mysql -g -O2 ./ssx/genv2.cpp

./ssx/genv2.cpp: In function 'bool generate_ssqls2(const char*, const
ParseV2*)':

./ssx/genv2.cpp:70:7: error: 'strcmp' is not a member of 'std'

make: *** [ssqlsxlat_genv2.o] Error 1

 

Added this

++++++++++++++++++++++++++++++++++++++++++++++

--- ssx/genv2.cpp             2011-12-06 00:27:47.250423995 -0800

+++ ssx/genv2.cpp.bak 2011-12-06 00:27:38.918424148 -0800

@@ -35,6 +35,7 @@

 #include <iostream>

 #include <fstream>

 #include <typeinfo>

+#include <cstring>

 

 using namespace std;

++++++++++++++++++++++++++++++++++++++++++++++

And it compiled successfully.

 

I am compiling on UBUNTU 11.04.

 

Is it the right way to go.

 

Best Regards,

Deepak Jangid


Thread
Build Failure of http://tangentsoft.net/mysql++/releases/mysql++-3.1.0.tar.gzDeepak Jangid6 Dec
  • Re: Build Failure of http://tangentsoft.net/mysql++/releases/mysql++-3.1.0.tar.gzWarren Young6 Dec