expr linux_oracle模式

expr linux_oracle模式Iamdoingaclustertest,whydidIencounterthelderrorwhencompilingtheseveralpackagesfrom/home/builder/master/master

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)

今天的文章expr linux_oracle模式分享到此就结束了,感谢您的阅读。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:http://bianchenghao.cn/75109.html

(0)
编程小号编程小号

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注