大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE稳定放心使用
I am doing a cluster test, why did I encounter the ld errorwhen compiling the several packages from /home/builder/master/master50/master_eXtremeDB_4.0.1780_linux/packs_x64.The error info is below:
ly@localhost perf]$ makeSHOW_BUILD_LOG=on
mkdir -p obj/
mkdir -p obj/db/
true &&../../../../host/bin/mcocomp -x64 -Pobj/db/ perf.mco
eXtremeDB Data Definition LanguageProcessor (Build 1780)
Copyright (c) 2001-2013 McObjectLLC. All Rights Reserved.
Compiled successfully: Sat Sep 2823:14:58 2013
cc -O3 -D_GNU_SOURCE -D_LINUX -D_SMP -D_Ix86 -DMCO_PLATFORM_X64 -Wall -m64-DMCO_CFG_USE_DIRECT_POINTERS -DMCO_LARGE_DATABASE_SUPPORT -I../../../../include -I../../../../include/ha -I../../../../tests/thlib-I../../../../include/ws -I../../../../samples/common -Iobj/db/ -I../../../../include/sql -I../../../../include/sql/odbc -c obj/db/perf.c -oobj/db/perf.o
cc -O3 -D_GNU_SOURCE -static -m64 -L../../../../target/binobj/db/perf.o obj/main.o ../../../../samples/common/common.o../../../../samples/common/initos.o -lmcolib -lmcovtmem -lmcoslnxp -lmcomconv -lmcotmursiw -lmcolib -lmcouwrt-lpthread -lm -ldl -o../../../../target/bin/08-benchmarks-perf
/usr/bin/ld: cannot find-lpthread
collect2: ld returned 1 exitstatus
make: ***[../../../../target/bin/08-benchmarks-perf] Error 1
SOlution:
1. Disable -static flag in theinclude/header.mak
2. install the static version of pthread(depends on the distribution)
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/181836.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...