[Advcomparch] Πρόβλημα με make gcc 4.8-4.9

Nikos Tzagkarakis tzagkarakis.nik at gmail.com
Mon May 14 19:54:52 EEST 2018


καλησπερα σας, όπως αναφέρατε σε προηγούμενο μήνυμα στη λίστα
χρησιμοποιήσα  make CC=gcc-4.9 CXX=g++-4.9 καθώς και  make CC=gcc-4.8
CXX=g++-4.8. Και στις 2 περιπτώσεις προέκυπτε το error που ακολουθει. Εχω
18.04 με έκδοση πυρήνα 4.15.0-20-generic

In file included from pinboost_debug.h:4:0,
                 from sift_recorder.cc:28:
pinboost_assert.h:11:0: error: "__ASSERT_FUNCTION" redefined [-Werror]
 #   define __ASSERT_FUNCTION    __PRETTY_FUNCTION__
 ^
In file included from /usr/include/c++/4.9/cassert:43:0,
                 from
/home/tzagkarakis/arch/sniper-6.1/sift/recorder/../../sift/sift_assert.h:4,
                 from sift_recorder.cc:27:
/usr/include/assert.h:129:0: note: this is the location of the previous
definition
 #   define __ASSERT_FUNCTION __extension__ __PRETTY_FUNCTION__
 ^
cc1plus: all warnings being treated as errors
/home/tzagkarakis/arch/sniper-6.1/sift/recorder/../../common/Makefile.common:79:
recipe for target 'sift_recorder.o' failed
make[2]: *** [sift_recorder.o] Error 1
Makefile:40: recipe for target 'recorder' failed
make[1]: *** [recorder] Error 2
Makefile:37: recipe for target
'/home/tzagkarakis/arch/sniper-6.1/sift/libsift.a' failed
make: *** [/home/tzagkarakis/arch/sniper-6.1/sift/libsift.a] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cslab.ece.ntua.gr/pipermail/advcomparch/attachments/20180514/551e1f87/attachment.htm>


More information about the Advcomparch mailing list