← Back to team overview

maria-developers team mailing list archive

Re: 5.5.23 default cmake build bug (Added Info)

 

Ok, Here is how to reproduce the error:

1) Extract 5.5.23 tar.gz source on Fedora 14-x64
2) using cmake-gui . -> generate make files (also dies with ccmake curses generator)
3) make
4) See Error below.

But if you just unzip the source tar ball, execute cmake . <enter>, and then make, the project will build successfully.

>> [ 47%] Building CXX object
>> storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o
>>
>> In file included from
>> /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:27:0,
>>
>> from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:36,
>> from /usr/include/boost/smart_ptr/detail/shared_count.hpp:29,
>> from /usr/include/boost/smart_ptr/shared_ptr.hpp:32,
>> from /usr/include/boost/shared_ptr.hpp:17,
>> from /usr/include/boost/property_map/vector_property_map.hpp:14,
>> from /usr/include/boost/property_map/property_map.hpp:844,
>> from /adev/mariadb-5.5.23/storage/oqgraph/graphcore.cc:36:
>> /usr/include/boost/detail/sp_typeinfo.hpp: In instantiation of
>> ‘boost::detail::sp_typeinfo
>> boost::detail::sp_typeid_<boost::checked_array_deleter<unsigned char>
>> >::ti_’:
>> /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:149:92:
>> instantiated from ‘void* boost::detail::sp_counted_impl_pd<P,
>> D>::get_deleter(const boost::detail::sp_typeinfo&) [with P = unsigned
>> char*, D = boost::checked_array_deleter<unsigned char>]’
>> /adev/mariadb-5.5.23/storage/oqgraph/graphcore.cc:1101:1: instantiated
>> from here
>> /usr/include/boost/detail/sp_typeinfo.hpp:77:48: error: conversion from
>> ‘const char*’ to non-scalar type ‘boost::detail::sp_typeinfo’ requested
>> make[2]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o]
>> Error 1
>> make[1]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/all] Error 2
>> make: *** [all] Error 2
>> [root@rpzfeddev mariadb-5.5.23]#




Follow ups

References