From: Pietro Leone <leone@di...> - 2005-11-30 17:00:17
Hallo, I manage to get the mysql patch, but only for 3.1.5, so I'm trying to
compile it, I solve several problems, but I'm not a C++ programmer, so now I'm
really blocked by this error:
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../db/dist -I../include -I/usr/local/mysql/include/mysql
In file included from /usr/include/c++/3.3/backward/stream.h:32,
/usr/include/c++/3.3/backward/iostream.h:35: error: `ostream' is already
declared in this scope
/usr/include/c++/3.3/backward/iostream.h:35: error: using declaration `ostream'
introduced ambiguous type `ostream'
htString.h: In function `std::ostream& operator<<(std::ostream&, String&)':
htString.h:159: error: `char*String::Data' is private
String.cc:544: error: within this context
String.cc: At global scope:
String.cc:619: error: prototype for `void String::debug(std::ostream&)' does
not match any in class `String'
htString.h:127: error: candidate is: void String::debug(ostream&)
make: *** [String.o] Error 1
make: Leaving directory `/root/htdig-3.1.5/htlib'
make: *** [all] Error 1
Can somebody suggest me a solution?
I will build myself a copper tower
With four ways out and no way in
But mine the glory, mine the power
(So I chose Amiga and GNU/Linux)
Get latest updates about Open Source Projects, Conferences and News.