This repository was archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
execute make error #33
Copy link
Copy link
Open
Description
OS version is CentOS release 6.5
[root@BJYF-Thallo-145135 build]# make
[ 1%] Building CXX object CMakeFiles/gpos.dir/libgpos/src/common/CStackDescriptor.cpp.obj
In file included from /data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/include/gpos/types.h:28:0,
from /data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/include/gpos/utils.h:18,
from /data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/src/common/CStackDescriptor.cpp:12:
/data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/src/common/CStackDescriptor.cpp: In member function 'void gpos::CStackDescriptor::BackTrace(gpos::ULONG)':
/data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/include/gpos/assert.h:46:67: error: size of array 'assert_array' is negative
#define GPOS_CPL_ASSERT(x) extern int assert_array[ (x) ? 1 : -1 ]
^
/data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/src/common/CStackDescriptor.cpp:167:2: note: in expansion of macro 'GPOS_CPL_ASSERT'
GPOS_CPL_ASSERT(!"Backtrace is not supported for this platform");
^
/data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/include/gpos/assert.h:46:40: error: unused variable 'gpos::assert_array' [-Werror=unused-variable]
#define GPOS_CPL_ASSERT(x) extern int assert_array[ (x) ? 1 : -1 ]
^
/data0/wubiao/package/HAWQ/depends/thirdparty/gpos/libgpos/src/common/CStackDescriptor.cpp:167:2: note: in expansion of macro 'GPOS_CPL_ASSERT'
GPOS_CPL_ASSERT(!"Backtrace is not supported for this platform");
^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-tautological-undefined-compare" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/gpos.dir/libgpos/src/common/CStackDescriptor.cpp.obj] Error 1
make[1]: *** [CMakeFiles/gpos.dir/all] Error 2
make: *** [all] Error 2
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels