Hello everyone,
In the build: there is an error
=============
Building module sal
=============
Entering /home/ivan/aoo/main/sal/inc
Entering /home/ivan/aoo/main/sal/typesconfig
Entering /home/ivan/aoo/main/sal/textenc
Making: all_textenc.dpslo
Making: all_textenc.dpobj
Entering /home/ivan/aoo/main/sal/osl/all
Compiling: sal/osl/all/utility.cxx
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -D_FILE_OFFSET_BITS=64 -I. -I../../
unxlngi6.pro/inc/oslall -I../inc -I../../inc/pch -I../../inc
-I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/home/ivan/aoo/main/solver/400/unxlngi6.pro/inc/stl-I/home/ivan/aoo/main/solver/400/
unxlngi6.pro/inc/external
-I/home/ivan/aoo/main/solver/400/unxlngi6.pro/inc-I/home/ivan/aoo/main/solenv/unxlngi6/inc
-I/home/ivan/aoo/main/solenv/inc
-I/home/ivan/aoo/main/res -I/home/ivan/aoo/main/solver/400/
unxlngi6.pro/inc/stl -I/home/ivan/aoo/main/solenv/inc/Xp31
-I/usr/lib/jvm/java-6-openjdk-i386/include
-I/usr/lib/jvm/java-6-openjdk-i386/include/linux
-I/usr/lib/jvm/java-6-openjdk-i386/include/native_threads/include
-I/usr/include -I/home/ivan/aoo/main/solver/400/unxlngi6.pro/inc/offuh -I.
-I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -Wall
-Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DGLIBC=2
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.6 -DSUPD=400
-DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA
-fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../
unxlngi6.pro/obj/utility.o /home/ivan/aoo/main/sal/osl/all/utility.cxx
In file included from ../../inc/rtl/ustring.hxx:33:0,
from /home/ivan/aoo/main/sal/osl/all/utility.cxx:28:
../../inc/rtl/string.hxx: In member function 'size_t
rtl::CStringHash::operator()(const char*) const':
../../inc/rtl/string.hxx:950:53: error: invalid static_cast from type
'const char*' to type 'const unsigned char*'
dmake: Error code 1, while making '../../unxlngi6.pro/obj/utility.obj'
1 module(s):
sal
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making /home/ivan/aoo/main/sal/osl/all
When you have fixed the errors in that module you can resume the build by
running:
build --all:sal
ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/instsetoo_native$
What would be the solution?
I'm working on Ubuntu 12.04.1 LTS.
Regards.