problems with make (readesm-2011.12pre1-Source.tar.bz2)
Shows the content of digital tachograph files
Status: Beta
Brought to you by:
evil_k
jaap@jaap:~/src/readesm-2011.12pre1-Source/build$ sudo make
/usr/bin/cmake -H/home/jaap/src/readesm-2011.12pre1-Source -B/home/jaap/src/readesm-2011.12pre1-Source/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/jaap/src/readesm-2011.12pre1-Source/build/CMakeFiles /home/jaap/src/readesm-2011.12pre1-Source/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Map '/home/jaap/src/readesm-2011.12pre1-Source/build' wordt binnengegaan
make -f CMakeFiles/readesm.dir/build.make CMakeFiles/readesm.dir/depend
make[2]: Map '/home/jaap/src/readesm-2011.12pre1-Source/build' wordt binnengegaan
[ 1%] Generating readesm_ru.qm
...
/usr/include/qt4/QtCore/qsharedpointer_impl.h:466:7: required from here
/usr/include/qt4/QtCore/qsharedpointer_impl.h:342:21: warning: deleting object of abstract class type ‘TopLevelBlock’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete value;
^~~~~~
[ 7%] Building CXX object CMakeFiles/readesm.dir/fileformat/Block.cpp.o
...
/home/jaap/src/readesm-2011.12pre1-Source/fileformat/EsmFile.h:27:7: required from here
/usr/include/qt4/QtCore/qsharedpointer_impl.h:342:21: warning: deleting object of abstract class type ‘TopLevelBlock’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete value;
^~~~~~
[ 98%] Building CXX object CMakeFiles/readesm.dir/qrc_readesm.cxx.o
...
CMakeFiles/readesm.dir/fileformat/DataTypes/block11Record.cpp.o: In function `Block11Record::size() const':
block11Record.cpp:(.text+0x0): multiple definition of `Block11Record::size() const'
CMakeFiles/readesm.dir/fileformat/DataTypes/Block11Record.cpp.o:Block11Record.cpp:(.text+0x0): first defined here
CMakeFiles/readesm.dir/fileformat/DataTypes/block11Record.cpp.o: In function `Block11Record::className() const':
block11Record.cpp:(.text+0x10): multiple definition of `Block11Record::className() const'
CMakeFiles/readesm.dir/fileformat/DataTypes/Block11Record.cpp.o:Block11Record.cpp:(.text+0x10): first defined here
CMakeFiles/readesm.dir/fileformat/DataTypes/block11Record.cpp.o: In function `Block11Record::Block11Record(DataPointer const&)':
block11Record.cpp:(.text+0x30): multiple definition of `Block11Record::Block11Record(DataPointer const&)'
CMakeFiles/readesm.dir/fileformat/DataTypes/Block11Record.cpp.o:Block11Record.cpp:(.text+0x30): first defined here
CMakeFiles/readesm.dir/fileformat/DataTypes/block11Record.cpp.o: In function `Block11Record::Block11Record(DataPointer const&)':
block11Record.cpp:(.text+0x30): multiple definition of `Block11Record::Block11Record(DataPointer const&)'
CMakeFiles/readesm.dir/fileformat/DataTypes/Block11Record.cpp.o:Block11Record.cpp:(.text+0x30): first defined here
CMakeFiles/readesm.dir/fileformat/DataTypes/block11Record.cpp.o: In function `Block11Record::printOn(Reporter&) const':
block11Record.cpp:(.text+0x260): multiple definition of `Block11Record::printOn(Reporter&) const'
CMakeFiles/readesm.dir/fileformat/DataTypes/Block11Record.cpp.o:Block11Record.cpp:(.text+0x260): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block11.cpp.o: In function `Block11::size() const':
block11.cpp:(.text+0x0): multiple definition of `Block11::size() const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block11.cpp.o:Block11.cpp:(.text+0x0): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block11.cpp.o: In function `Block11::className() const':
block11.cpp:(.text+0x10): multiple definition of `Block11::className() const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block11.cpp.o:Block11.cpp:(.text+0x10): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block11.cpp.o: In function `Block11::title() const':
block11.cpp:(.text+0x30): multiple definition of `Block11::title() const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block11.cpp.o:Block11.cpp:(.text+0x30): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block11.cpp.o: In function `Block11::printOn(Reporter&) const':
block11.cpp:(.text+0x60): multiple definition of `Block11::printOn(Reporter&) const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block11.cpp.o:Block11.cpp:(.text+0x60): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block11.cpp.o: In function `Block11::Block11(DataPointer const&)':
block11.cpp:(.text+0x2e0): multiple definition of `Block11::Block11(DataPointer const&)'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block11.cpp.o:Block11.cpp:(.text+0x2e0): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block11.cpp.o: In function `Block11::Block11(DataPointer const&)':
block11.cpp:(.text+0x2e0): multiple definition of `Block11::Block11(DataPointer const&)'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block11.cpp.o:Block11.cpp:(.text+0x2e0): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block13.cpp.o: In function `Block13::size() const':
block13.cpp:(.text+0x0): multiple definition of `Block13::size() const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block13.cpp.o:Block13.cpp:(.text+0x0): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block13.cpp.o: In function `Block13::className() const':
block13.cpp:(.text+0x10): multiple definition of `Block13::className() const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block13.cpp.o:Block13.cpp:(.text+0x10): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block13.cpp.o: In function `Block13::title() const':
block13.cpp:(.text+0x30): multiple definition of `Block13::title() const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block13.cpp.o:Block13.cpp:(.text+0x30): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block13.cpp.o: In function `Block13::printOn(Reporter&) const':
block13.cpp:(.text+0x60): multiple definition of `Block13::printOn(Reporter&) const'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block13.cpp.o:Block13.cpp:(.text+0x60): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block13.cpp.o: In function `Block13::Block13(DataPointer const&)':
block13.cpp:(.text+0x2e0): multiple definition of `Block13::Block13(DataPointer const&)'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block13.cpp.o:Block13.cpp:(.text+0x2e0): first defined here
CMakeFiles/readesm.dir/fileformat/VuBlocks/block13.cpp.o: In function `Block13::Block13(DataPointer const&)':
block13.cpp:(.text+0x2e0): multiple definition of `Block13::Block13(DataPointer const&)'
CMakeFiles/readesm.dir/fileformat/VuBlocks/Block13.cpp.o:Block13.cpp:(.text+0x2e0): first defined here
collect2: error: ld returned 1 exit status
CMakeFiles/readesm.dir/build.make:2686: recept voor doel 'readesm' is mislukt
make[2]: *** [readesm] Fout 1
make[2]: Map '/home/jaap/src/readesm-2011.12pre1-Source/build' wordt verlaten
CMakeFiles/Makefile2:102: recept voor doel 'CMakeFiles/readesm.dir/all' is mislukt
make[1]: *** [CMakeFiles/readesm.dir/all] Fout 2
make[1]: Map '/home/jaap/src/readesm-2011.12pre1-Source/build' wordt verlaten
Makefile:152: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
jaap@jaap:~/src/readesm-2011.12pre1-Source/build$
Installing with subversion went flawless after installing of some qt5-dev-packages (Debian 9 - Stretch).
Glad to hear that the subversion build works fine.
If it is working fine now and unless there is a problem with using Qt 5 (instead of Qt 4), I suggest closing this bug.
Hopefully, we finally get a new release out soon.