Tencent / TBase

TBase is an enterprise-level distributed HTAP database. Through a single database cluster to provide users with highly consistent distributed database services and high-performance data warehouse services, a set of integrated enterprise-level solutions is formed.
Other
1.38k stars 262 forks source link

make -sj时报 error redefinition #12

Closed weipengffk closed 4 years ago

weipengffk commented 4 years ago

GTM_ThreadInfo

54ab2ba263396cbf12187e998fa1879

HuSen8891 commented 4 years ago

GTM_ThreadInfo

54ab2ba263396cbf12187e998fa1879

什么平台编译的,以及configure参数和编译命令是什么?

weipengffk commented 4 years ago

linux系统,CentOS release 6.8 (Final);就是按照官网编译的。

chmod +x configure*
mkdir /com/lcsc/apps/tbase_bin_v2.0 ./configure --prefix=/com/lcsc/apps/tbase_bin_v2.0 --enable-user-switch --with-openssl --with-ossp-uuid CFLAGS=-g make clean make -sj ;这一步异常

weipengffk commented 4 years ago

GTM_ThreadInfo 54ab2ba263396cbf12187e998fa1879

什么平台编译的,以及configure参数和编译命令是什么?

linux,CentOS6.8; 按照文档 make -sj时异常。

HuSen8891 commented 4 years ago

GTM_ThreadInfo 54ab2ba263396cbf12187e998fa1879

什么平台编译的,以及configure参数和编译命令是什么?

linux,CentOS6.8; 按照文档 make -sj时异常。

看一下gcc版本是多少,如果低于4.6,升级到4.6或以上版本,试试

weipengffk commented 4 years ago

GTM_ThreadInfo 54ab2ba263396cbf12187e998fa1879

什么平台编译的,以及configure参数和编译命令是什么?

linux,CentOS6.8; 按照文档 make -sj时异常。

看一下gcc版本是多少,如果低于4.6,升级到4.6或以上版本,试试

gcc升级到 gcc 6.4.0后,仍然有问题。不过报这个 make error: undefined reference to `Recovery_IsStandby’ 20191113203039

HuSen8891 commented 4 years ago

GTM_ThreadInfo 54ab2ba263396cbf12187e998fa1879

什么平台编译的,以及configure参数和编译命令是什么?

linux,CentOS6.8; 按照文档 make -sj时异常。

看一下gcc版本是多少,如果低于4.6,升级到4.6或以上版本,试试

gcc升级到 gcc 6.4.0后,仍然有问题。不过报这个 make error: undefined reference to `Recovery_IsStandby’ 20191113203039

这个应该是跟函数定义有关,把inline去掉试试

weipengffk commented 4 years ago

。。。。等我后面学习C++再来调研