Sergey Nikulov wrote:
> Hi Mateusz,
> 
> I trying to build latest master branch of soci git repository on my 
> Fedora 12 box (g++ (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)) and have some 
> issues.

Hi Sergey,

Thanks for testing the CMake build.
I have moved to new place and I'm still waiting for broadband,
so I could not complete the CMake works. I hope to do it within next days.

> 1) FindOracle.cmake explicitly required ORACLE_HOME environment 
> variable. I think it should be less restrictive (I've attached patch as 
> example) and not produce fatal error.

Sure, I have no problem with making it less restrictive. I will test
your patch and apply.

> 2) Linking error:
> [ser...@fedya build]$ make
> Linking CXX shared library ../lib/libsoci_core.so
> [ 40%] Built target soci_core                                           
>                                           
> [ 81%] Built target soci_core-static
> [ 84%] Building CXX object 
> backends/empty/test/CMakeFiles/test_empty.dir/test-empty.cpp.o
> Linking CXX executable ../../../bin/test_empty                           
>                                          
> CMakeFiles/test_empty.dir/test-empty.cpp.o:(.rodata+0x0): undefined 
> reference to `soci::empty'                    
> collect2: ld returned 1 exit status
> make[2]: *** [bin/test_empty] Error 1
> make[1]: *** [backends/empty/test/CMakeFiles/test_empty.dir/all] Error 2
> make: *** [all] Error 2
> 
> Could you please advice how it should be solved?

It looks build of the test of empty backend is missing some linker 
flags. I'll check it ASAP.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to