[cmake-developers] Compiling CMake 3.6.1 fails on Raspbian Jessie

Brad King brad.king at kitware.com
Tue Sep 6 08:26:01 EDT 2016


On 09/05/2016 04:39 PM, Cristian Adam wrote:
> On Mon, Sep 5, 2016 at 10:33 PM, Brad King wrote:
>> Something goes wrong with finding some of the symbols in it,
>> such as some from `json_value.cpp`.
> 
> $ ar t Utilities/cmjsoncpp/libcmjsoncpp.a
> json_reader.cpp.o
> json_value.cpp.o
> json_writer.cpp.o

>From the binary you sent me:

```
$ file Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/*.o
Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_reader.cpp.o: empty
Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o:  empty
Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), not stripped
```

Somehow two of the .o files ended up empty.  The Makefile content
looks fine and the command line to compile is the same for all
three sources.  Is this reproducible?  If you remove the two empty
files and build again do they still end up empty?

-Brad


More information about the cmake-developers mailing list