关闭

eXtremeDB make examples

标签: eXtremeDB 64大数据内存数据库debug编译
934人阅读 评论(0) 收藏 举报
分类:

  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)


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:97704次
    • 积分:1724
    • 等级:
    • 排名:千里之外
    • 原创:89篇
    • 转载:58篇
    • 译文:0篇
    • 评论:5条
    博客专栏
    最新评论