Hi Volker,
Thank you for the report, we are going to give it a try in the next few days
First thought: it looks like that on 64 bits systems, the "int32_t" and "int64_t" are the same, this would explain the 'redefinition' error.
Will give you more info once tried
Stay tuned,
Gilles.

Dr. Volker Jaenisch a écrit :
Hello Carob List!

I'm trying to build the carob-0.6 driver on an debian etch amd64 system
and stuck with the following error:

hydra2:~/mcluster/carob-0.6# make
g++ -g3 -Wall -O0 -Iinclude   -c -o src/Common.o src/Common.cpp
src/Common.cpp:336: error: duplicate explicit instantiation of 'std::wstring CarobNS::toWString(const T&) [with T = long int]' src/Common.cpp:358: error: duplicate explicit instantiation of 'std::wstring CarobNS::toUserString(const T&) [with T = long int]'
make: *** [src/Common.o] Fehler 1

hydra2:~/mcluster/carob-0.6# g++ --version
g++ (GCC) 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)

hydra2:~/mcluster/carob-0.6# gcc --version
gcc (GCC) 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)

I am using the deb-package sources from the continuent.org debian archive. A coding bug should not be the problem - since the same source builds flawlessly on an i386 system
using the same compiler version.

Tried on both systems g++ 4.0 and 4.1 with same results: compiles on i386 does not compile on the amd64.

Maybe there is some C++ template/dev-lib missing on the amd64 system?
Can anybody please give me a hint.

Best Regards

Volker Jaenisch


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to