I figured I could, so i did, and applied the same hacks I had applied before....

No, i feel it is very close... It compiled all files, just dislikes something after that... here is the output:

g++ src/Common.o src/JavaSocket.o src/DriverSocket.o src/CarobException.o src/ControllerInfo.o src/ConnectionParameters.o src/ControllerPool.o src/Connection.o src/Request.o src/RequestWithResultSetParameters.o src/ResultSetMetaData.o src/DriverResultSet.o src/Field.o src/Statement.o src/ParameterStatement.o src/BigDecimal.o src/SQLDataSerialization.o src/StringCodecs.o src/ControllerStateChangedCallback.o src/WatchedControllers.o src/ControllerPingSender.o src/ControllerWatcher.o -lpthread -fPIC -shared -Wl,-soname,libcarob.so.1 -lgmp -o libcarob.so.1
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libcarob.so.1: unknown file type
ld: fatal: File processing errors. No output written to libcarob.so.1
collect2: ld returned 1 exit status
gmake: *** [libcarob.so.1] Error 1

Thanks in advance!
Marc Herbert wrote:
Alexander Wallace <[EMAIL PROTECTED]> writes:

Thanks a lot for the response again... I will try sun's compiler
next... But for now... Once I used the cvs code, stuff looks
different... I have not seen the errors i got with the dev package,
but different ones:

gmake CXXFLAGS=-DMSG_NOSIGNAL=0
g++ -DMSG_NOSIGNAL=0 -Iinclude -fPIC   -c -o src/Common.o src/Common.cpp
src/Common.cpp:334: error: duplicate explicit instantiation of
`std::wstring CarobNS::toWString(const T&) [with T =
CarobNS::java_byte]'
src/Common.cpp:356: error: duplicate explicit instantiation of
`std::wstring CarobNS::toUserString(const T&) [with T =
CarobNS::java_byte]'
gmake: *** [src/Common.o] Error 1

This happens right away as you can see...

Mmmm... that sucks. It seems u_int8_t is defined as char on your
platform. As a short term workaround, simply remove the two offending
lines.




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




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

Reply via email to