eXtremeDB

  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)


你可能感兴趣的:(ext)