On Fri, Jul 29, 2005 at 04:38:16PM +1000, John Pye wrote:
Just wanted to ask if anyone's succeeded in building CLN on MinGW / MSYS ? Is this something that other people have shown an interest in?
I get the following error when I try to ./configure && make:
g++ -g -O2 -I../include -I../include -I./base -Ibase -c ./base/random/cl_random_from.cc -DDLL_EXPORT -DPIC -o .libs/cl_random_from.o ./base/random/cl_random_from.cc: *In constructor `cln::random_state::random_state()':* ./base/random/cl_random_from.cc:68: *error: `::get_seed' has not been declared* make[3]: *** [cl_random_from.lo] Error 1
Could you please post your $(top_builddir)/src/base/cl_base_config.h ?
The problem could be as simple as needing to alter the #if stuff like (defined(_WIN32) && defined(__GNUC__)) -- I think that MinGW may use slightly different macros eg WIN32 in place of _WIN32.
As a matter of fact, (defined(_WIN32) && (defined(__GNUC__))) assumes you are using Cygwin. Best regards, Alexei.