[cmake-developers] Compiling CMake 3.6.1 fails on Raspbian Jessie
Cristian Adam
cristian.adam at gmail.com
Mon Sep 5 16:39:03 EDT 2016
On Mon, Sep 5, 2016 at 10:33 PM, Brad King <brad.king at kitware.com> wrote:
> On 09/05/2016 04:01 PM, Cristian Adam wrote:
> > [ 62%] Built target cmjsoncpp
> [snip]
> > [ 93%] Linking CXX executable ../bin/cmake
> > libCMakeLib.a(cmGlobalGenerator.cxx.o): In function `cmGlobalGenerator::
> WriteSummary(cmGeneratorTarget*)':
> > cmGlobalGenerator.cxx:(.text+0x117a8): undefined reference to
> `Json::Value::Value(Json::ValueType)'
> [snip]
> > ../Utilities/cmjsoncpp/libcmjsoncpp.a(json_writer.cpp.o): In function
> `Json::FastWriter::writeValue(Json::Value const&)':
> [snip]
> > No idea why it can't find its own cmjsoncpp library
>
> Actually it is finding the library because some of the error messages
> reference objects in it. Something goes wrong with finding some of
> the symbols in it, such as some from `json_value.cpp`.
> What is the output of?
>
> $ ar t Utilities/cmjsoncpp/libcmjsoncpp.a
>
>
$ ar t Utilities/cmjsoncpp/libcmjsoncpp.a
json_reader.cpp.o
json_value.cpp.o
json_writer.cpp.o
Cheers,
Cristian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160905/297da4dd/attachment.html>
More information about the cmake-developers
mailing list