List:MySQL++« Previous MessageNext Message »
From:Deepak Jangid Date:December 6 2011 8:29am
Subject:Build Failure of
View as plain text  


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

./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

Build Failure of Jangid6 Dec
  • Re: Build Failure of Young6 Dec