On 06-Sep-16 14:26, Brad King wrote:
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
Removal of the empty object files lead to a successful compilation.
In retrospect I should have cleaned my build directory after my
Raspberry PI froze when compiling with MAKEFLAGS=-j4.
Bootstrap compiled fine with -j4, but make managed to crash the system
with -j4 and -j3.
Who should have noticed that the two object files were empty and try a
new compilation? CMake or make?
Cheers,
Cristian.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers