Again, thanks a lot for your response...
I did some hacking to the files that had errors, based on my previous email:
[
# gmake
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/JavaSocket.o
src/JavaSocket.cpp
In file included from src/JavaSocket.cpp:25:
include/SystemDependantDefs.hpp:36: error: `PF_INET' was not declared in
this scope
include/SystemDependantDefs.hpp:54: error: `MSG_NOSIGNAL' was not
declared in this scope
src/JavaSocket.cpp:423:2: #error "__BYTE_ORDER undefined: unknown
endianness, can't implement 64bits swaps"
gmake: *** [src/JavaSocket.o] Error 1
]
So what i did is (not really knowing if this is really what should
happen... Is the following
Added this to include/SystemDependantDefs.hpp
[
const int MSG_NOSIGNAL = 0;
const int SOCKET_CREATION_DOMAIN = 2;
]
And to src/JavaSocket.cpp
[
#define __LITTLE_ENDIAN 1234
#define __BIG_ENDIAN 4321
#if defined(_BIG_ENDIAN)
#define __BYTE_ORDER __BIG_ENDIAN
#else
#define __BYTE_ORDER __LITTLE_ENDIAN
#endif
#include <sys/int_types.h>
/*
* Some types
*/
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
]
I just found these on the internet and by applying them the thing moved
farther...
Now this is what I'm getting:
# gmake
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/JavaSocket.o
src/JavaSocket.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/DriverSocket.o
src/DriverSocket.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/CarobException.o
src/CarobException.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/ConnectionParameters.o
src/ConnectionParameters.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/ControllerPinger.o
src/ControllerPinger.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/ControllerPool.o
src/ControllerPool.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/Connection.o
src/Connection.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/Request.o src/Request.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o
src/RequestWithResultSetParameters.o src/RequestWithResultSetParameters.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/ResultSetMetaData.o
src/ResultSetMetaData.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/DriverResultSet.o
src/DriverResultSet.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/Field.o src/Field.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/Statement.o src/Statement.cpp
g++ -g3 -Wall -O0 -fPIC -Iinclude -c -o src/ParameterStatement.o
src/ParameterStatement.cpp
src/ParameterStatement.cpp:38: error: `std::signbit' has not been declared
src/ParameterStatement.cpp: In member function
`std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&
CarobNS::FPoneShotFilter<FP>::operator<<(FP) [with FP = float]':
src/ParameterStatement.cpp:411: instantiated from `void
CarobNS::ParameterStatement::set(int, const std::wstring&, const T&)
[with T = float]'
src/ParameterStatement.cpp:485: instantiated from `void
CarobNS::ParameterStatement::setFloat(int, const CParamType&) [with
CParamType = float]'
src/ParameterStatement.cpp:543: instantiated from here
src/ParameterStatement.cpp:312: error: `isinf' undeclared (first use
this function)
src/ParameterStatement.cpp:312: error: (Each undeclared identifier is
reported only once for each function it appears in.)
src/ParameterStatement.cpp:411: instantiated from `void
CarobNS::ParameterStatement::set(int, const std::wstring&, const T&)
[with T = float]'
src/ParameterStatement.cpp:485: instantiated from `void
CarobNS::ParameterStatement::setFloat(int, const CParamType&) [with
CParamType = float]'
src/ParameterStatement.cpp:543: instantiated from here
src/ParameterStatement.cpp:320: error: `signbit' undeclared (first use
this function)
src/ParameterStatement.cpp: In member function
`std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&
CarobNS::FPoneShotFilter<FP>::operator<<(FP) [with FP = double]':
src/ParameterStatement.cpp:411: instantiated from `void
CarobNS::ParameterStatement::set(int, const std::wstring&, const T&)
[with T = double]'
src/ParameterStatement.cpp:492: instantiated from `void
CarobNS::ParameterStatement::setDouble(int, const CParamType&) [with
CParamType = double]'
src/ParameterStatement.cpp:545: instantiated from here
src/ParameterStatement.cpp:312: error: `isinf' undeclared (first use
this function)
src/ParameterStatement.cpp:320: error: `signbit' undeclared (first use
this function)
gmake: *** [src/ParameterStatement.o] Error 1
#
Clues?
Thanks!
Gilles Rayrat wrote:
Hi Alexander!
Bad news, carob & libMySequoia have never been compiled under Solaris.
The only way to know is to try... and report errors. We will be
pleased to support you with this.
About log4cxx, we also never tried newer versions. The only risk I can
see is compilation errors due to changes in log4cxx API
Don't hesitate if you decide to give compilation a try, we will be as
responsive as possible
Cheers,
Gilles.
Alexander Wallace a écrit :
Hi all...
I'm trying to test libMySequoia and currently the only box i can play
with runs solaris...
I have a couple of questions:
1- Has it ever been tested in solaris? or at least not known to not
work?
2- I can't find log4cxx version that is listed as a dependency... can
I use a newer one? or Where can i find the requirede one?
i think that's it for now.... I look forward for your help.
Thanks!
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob