Something wrong with CMake. Right after "-- Searching for system libraries"
it should write something like: looking for shm_open ..., looking for
pthread ..., etc. Is 2.8.2 the default version for Ubuntu 10.10?
>> cmake command from the bld folder
> ubu...@ip-10-202-141-179:~/sedna-3.4.66/bld$ cmake ..
> -- CMake version is -- 2.8.2
> -- Building for: Linux-x86_64
> -- Build type is set to -- Release
> -- System name is determined -- Linux
> -- System is of UNIX type -- yes
> -- Sedna release version is -- 3.4
> -- Sedna build version is -- 66
> -- Full Sedna version is -- 3.4.66
> -- using static linking for executables -- no
> -- dtsearch support -- disabled
> -- ftsearch support -- enabled
> -- triggers support -- enabled
> -- recovery testing -- disabled
> -- SQL connection feature -- disabled
> -- Searching for system libraries
> -- Needed system libraries --
> -- Searching for system libraries -- done
> -- Configuring custom expat, version: 2.0.1, platform: Linux-x86_64
> -- Custom expat in -- /home/ubuntu/sedna-3.4.66/bld/libs/expat-2.0.1/lib
> -- Configuring custom expat - done
> -- Will build libedit from scratch when building the project, if needed...
> -- Custom libedit includes in --
> /home/ubuntu/sedna-3.4.66/bld/libs/libedit-20100424-3.0/include/editline
> -- Custom libedit library in --
> /home/ubuntu/sedna-3.4.66/bld/libs/libedit-20100424-3.0/lib
> -- Found FlexLexer.h in -- /usr/include
> -- Sedna protocol version is -- 3.0.0
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/ubuntu/sedna-3.4.66/bld
>
>
> >> make command from the bld folder
> ubu...@ip-10-202-141-179:~/sedna-3.4.66/bld$ make
> [ 0%] Built target pcre
> [ 0%] Built target gen_error_codes
> [ 1%] Built target generate_error_codes
> [ 2%] Built target custom_expat
> [ 9%] Built target common
> Linking CXX executable ../../bin/se_cdb
> CMakeFiles/se_cdb.dir/cdb.cpp.o:(.rodata+0x268): undefined reference to
> `pthread_cancel'
> CMakeFiles/se_cdb.dir/cdb_globals.cpp.o:(.rodata+0xcb8): undefined
> reference
> to `pthread_cancel'
> CMakeFiles/se_cdb.dir/sm_functions.cpp.o:(.rodata+0x138): undefined
> reference to `pthread_cancel'
> CMakeFiles/se_cdb.dir/db_utils.cpp.o:(.rodata+0x208): undefined reference
> to
> `pthread_cancel'
> CMakeFiles/se_cdb.dir/trmgr.cpp.o:(.rodata+0x488): undefined reference to
> `pthread_cancel'
> CMakeFiles/se_cdb.dir/sm_globals.cpp.o:(.rodata+0x638): more undefined
> references to `pthread_cancel' follow
> ../common/libcommon.a(ushm.c.o): In function `uCreateShMem':
> ushm.c:(.text+0xa6): undefined reference to `shm_open'
> ../common/libcommon.a(ushm.c.o): In function `uOpenShMem':
> ushm.c:(.text+0x218): undefined reference to `shm_open'
> ../common/libcommon.a(ushm.c.o): In function `uReleaseShMem':
> ushm.c:(.text+0x3d1): undefined reference to `shm_unlink'
> ../common/libcommon.a(umutex.c.o): In function `uMutexInit':
> umutex.c:(.text+0x18): undefined reference to `pthread_mutexattr_init'
> umutex.c:(.text+0x61): undefined reference to `pthread_mutexattr_settype'
> ../common/libcommon.a(uthread.c.o): In function `uCreateThread':
> uthread.c:(.text+0x99): undefined reference to `pthread_attr_setstacksize'
> uthread.c:(.text+0xf7): undefined reference to `pthread_create'
> ../common/libcommon.a(uthread.c.o): In function `uSuspendThread':
> uthread.c:(.text+0x34d): undefined reference to `pthread_kill'
> ../common/libcommon.a(uthread.c.o): In function `uResumeThread':
> uthread.c:(.text+0x3a3): undefined reference to `pthread_kill'
> ../common/libcommon.a(uthread.c.o): In function `uTerminateThread':
> uthread.c:(.text+0x3f4): undefined reference to `pthread_cancel'
> ../common/libcommon.a(uthread.c.o): In function `uThreadJoin':
> uthread.c:(.text+0x45d): undefined reference to `pthread_join'
> ../common/libcommon.a(uthread.c.o): In function `uThreadBlockAllSignals':
> uthread.c:(.text+0x52e): undefined reference to `pthread_sigmask'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/se_cdb] Error 1
> make[1]: *** [kernel/sm/CMakeFiles/se_cdb.dir/all] Error 2
> make: *** [all] Error 2
> ubu...@ip-10-202-141-179:~/sedna-3.4.66/bld$
>
>
> -----Original Message-----
> From: Ivan Shcheklein [mailto:[email protected]]
> Sent: Wednesday, December 01, 2010 11:34 AM
> To: Malcolm Davis
> Cc: sedna-discussion
> Subject: Re: [Sedna-discussion] Make failure on ubuntu 10.10 x64
>
> Malcolm,
>
>
> Any suggestions?
> Would the entire build/make trace help?
>
>
>
> Definitely. We need some details: cmake output, make output and exact
> commands you run.
>
> Ivan
>
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion