Hi Ivan,
On May 27, 2010, at 11:39, Ivan Shcheklein wrote:
> Do you run it on x64 machine? Since Sedna binaries are 32bit you probably
> need to install some x86-compatibility package on your system. Try to run
> 'ldd se_trn' to check dependencies.
>
>
I am running a fairly minimal Ubuntu server 10.4 install in a x64 VM under
VMWare on MacOS X 10.6.
The output is a bit strange but I still do think some shared libraries are
missing. :)
spen...@admin:/usr/local/sedna.test/sedna/bin$ ldd se_term
not a dynamic executable
spen...@admin:/usr/local/sedna.test/sedna/bin$ file se_term
se_term: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
spen...@admin:/usr/local/sedna.test/sedna/bin$
>
> What exactly problem do you have? Did you manage to build x64 libsedna?
>
I haven't tried under Linux, or rather, I tried building the x64 version of
Sedna from source but got some interesting compile errors which I haven't had
time to followup on.
===================================================================
u DONE
===================================================================
make[3]: Leaving directory `/home/spencer/src/sedna-3.3.55/kernel/common/u'
gcc -c -O2 -w -fno-strict-aliasing -fexceptions -I../../kernel -I../../libs
-I../../driver/c -I../../export -I../../term -I../../libs/dtsearch/include
-I../../libs/libedit/include/editline -DC_NO_PIC_NO_DLL -DSEDNA_VERSION=\"3.3\"
-DSEDNA_BUILD=\"55\" -DEL_DEBUG=0 -DHAVE_ALLOCA_H -DC_STACK_GROWS_DOWNWARD=1
-DC_USE_C_DEFAULTS -DC_EMBEDDED -DDEBUGI=0 -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSE_ENABLE_TRIGGERS argtable.c
g++ -c -O2 -w -fno-strict-aliasing -fexceptions -I../../kernel -I../../libs
-I../../driver/c -I../../export -I../../term -I../../libs/dtsearch/include
-I../../libs/libedit/include/editline -DSEDNA_VERSION=\"3.3\"
-DSEDNA_BUILD=\"55\" -DEL_DEBUG=0 -DACTIVE_CONFIGURATION=\"Release\" -DDEBUGI=0
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSE_ENABLE_FTSEARCH
-DSE_ENABLE_TRIGGERS base.cpp
g++ -c -O2 -w -fno-strict-aliasing -fexceptions -I../../kernel -I../../libs
-I../../driver/c -I../../export -I../../term -I../../libs/dtsearch/include
-I../../libs/libedit/include/editline -DSEDNA_VERSION=\"3.3\"
-DSEDNA_BUILD=\"55\" -DEL_DEBUG=0 -DACTIVE_CONFIGURATION=\"Release\" -DDEBUGI=0
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSE_ENABLE_FTSEARCH
-DSE_ENABLE_TRIGGERS bit_set.cpp
g++ -c -O2 -w -fno-strict-aliasing -fexceptions -I../../kernel -I../../libs
-I../../driver/c -I../../export -I../../term -I../../libs/dtsearch/include
-I../../libs/libedit/include/editline -DSEDNA_VERSION=\"3.3\"
-DSEDNA_BUILD=\"55\" -DEL_DEBUG=0 -DACTIVE_CONFIGURATION=\"Release\" -DDEBUGI=0
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSE_ENABLE_FTSEARCH
-DSE_ENABLE_TRIGGERS gmm.cpp
In file included from gmm.cpp:12:
../../kernel/common/xptr.h: In member function ‘xptr& xptr::operator+=(int)’:
../../kernel/common/xptr.h:75: error: cast from ‘void*’ to ‘unsigned int’ loses
precision
../../kernel/common/xptr.h:78: error: cast from ‘void*’ to ‘int’ loses precision
../../kernel/common/xptr.h: In member function ‘xptr& xptr::operator-=(int)’:
../../kernel/common/xptr.h:87: error: cast from ‘void*’ to ‘unsigned int’ loses
precision
../../kernel/common/xptr.h:90: error: cast from ‘void*’ to ‘int’ loses precision
../../kernel/common/xptr.h: In function ‘xptr operator+(const xptr&, int)’:
../../kernel/common/xptr.h:116: error: cast from ‘void*’ to ‘unsigned int’
loses precision
../../kernel/common/xptr.h:119: error: cast from ‘void*’ to ‘int’ loses
precision
../../kernel/common/xptr.h: In function ‘xptr operator-(const xptr&, int)’:
../../kernel/common/xptr.h:130: error: cast from ‘void*’ to ‘unsigned int’
loses precision
../../kernel/common/xptr.h:133: error: cast from ‘void*’ to ‘int’ loses
precision
../../kernel/common/xptr.h: In function ‘__uint32 operator-(const xptr&, const
xptr&)’:
../../kernel/common/xptr.h:142: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h:142: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h: In function ‘bool operator<(const xptr&, const
xptr&)’:
../../kernel/common/xptr.h:157: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h:157: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h: In function ‘xptr block_xptr(const xptr&)’:
../../kernel/common/xptr.h:162: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h: In function ‘xptr addr2xptr(const void*)’:
../../kernel/common/xptr.h:168: error: cast from ‘const void*’ to ‘uint32_t’
loses precision
../../kernel/common/xptr.h: In function ‘int xptr_compare(const xptr&, const
xptr&)’:
../../kernel/common/xptr.h:190: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h:190: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h:191: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h:191: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h: In function ‘bool same_block(const xptr&, const
xptr&)’:
../../kernel/common/xptr.h:197: error: cast from ‘void*’ to ‘__uint32’ loses
precision
../../kernel/common/xptr.h:197: error: cast from ‘void*’ to ‘__uint32’ loses
precision
make[2]: *** [gmm.o] Error 1
make[2]: Leaving directory `/home/spencer/src/sedna-3.3.55/kernel/common'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/spencer/src/sedna-3.3.55/kernel'
make: *** [build] Error 2
------------------------------------------------------------------------------
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion