On 06/09/2017 04:45 PM, Oleg Kolosov wrote: > Hi Loic, > Yes, I did make in the build directory and there were no errors. It will work for sure if you rm -fr build and ./run-make-check.sh . The problem is likely a missing dependency in the cmake files. Cheers > > Regards, > Ludmila > > On Jun 9, 2017 5:19 PM, "Loic Dachary" <loic@xxxxxxxxxxx <mailto:loic@xxxxxxxxxxx>> wrote: > > Hi Oleg, > > Did you "make" in the build directory ? Or did not only run make on part of the files ? When you run make it takes care of all the dependencies and you should not be in this situation. > > Cheers > > On 06/09/2017 03:57 PM, Oleg Kolosov wrote: > > Hi, > > I've written a new erasure code for my study purposes. The code has > > compiled, but when trying to set a profile with it I get the following > > error: > > > > Error EXDEV: expected plugin > > /home/ubuntu/ceph/build/lib/libec_optlrc.so version v10.2.2-9-g31e3fbb > > but it claims to be an older version instead > > > > I've traced the error to: ErasureCodePlugin.cc : > > if (erasure_code_version == NULL) > > erasure_code_version = an_older_version; > > if (erasure_code_version() != string(CEPH_GIT_NICE_VER)) { > > *ss << "expected plugin " << fname << " version " << CEPH_GIT_NICE_VER > > << " but it claims to be " << erasure_code_version() << " instead"; > > > > For some reason, my definition of erasure_code_version doesn't > > propagate as it should. > > The ErasureCodePlugin cc file of my code is similar to the other > > erasure code. With this defined: > > const char *__erasure_code_version() { return CEPH_GIT_NICE_VER; } > > > > Can you think of any reason it should behave like this? > > Is there any log or method to discover the reason for this issue? > > > > I'd appreciate your help. > > > > Thanks, > > Oleg > > -- > > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx <mailto:majordomo@xxxxxxxxxxxxxxx> > > More majordomo info at http://vger.kernel.org/majordomo-info.html <http://vger.kernel.org/majordomo-info.html> > > > > -- > Loïc Dachary, Artisan Logiciel Libre > -- Loïc Dachary, Artisan Logiciel Libre -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html