wiki icon indicating copy to clipboard operation
wiki copied to clipboard

make build error

Open s749312025 opened this issue 7 years ago • 8 comments

mac os: rocksdb/5.9.2_1 使用 你们提供的vendor

make build
cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=ce7e09897df516f5877fb4ed209cf5f42d244b55 -X main.branch=master -X main.compileAt=`date +%s`" -o ../../neb-ce7e09897df516f5877fb4ed209cf5f42d244b55
# github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb
../../vendor/github.com/tecbot/gorocksdb/options.go:1045:2: could not determine kind of name for C.rocksdb_options_set_allow_ingest_behind
make: *** [build] Error 2

s749312025 avatar May 17 '18 15:05 s749312025

hello @s749312025 we are looking into the issue, stay tuned:)

ChengOrangeJu avatar May 18 '18 18:05 ChengOrangeJu

Hi @s749312025 Failed to reproduced but find some instructions here https://github.com/golang/go/issues/9733

ChengOrangeJu avatar May 19 '18 13:05 ChengOrangeJu

brew upgrade rocksdb

Goya- avatar Jun 02 '18 06:06 Goya-

请问解决了吗? 我也是使用vendor出现同样错误。 make dep是不是就能好?

hankcocco avatar Jun 04 '18 11:06 hankcocco

@hankcocco 并不能,还是一样

kjs1715 avatar Jun 06 '18 09:06 kjs1715

一样遇到了

xmhu avatar Jun 12 '18 10:06 xmhu

 $ make build                                                        [18:19:21]
cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=f9162525afa69d4ba6a5eefc9f1cfb2d964d2dac -X main.branch=master -X main.compileAt=`date +%s`" -o ../../neb-f9162525afa69d4ba6a5eefc9f1cfb2d964d2dac
# github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb
../../vendor/github.com/tecbot/gorocksdb/options.go:1045:2: could not determine kind of name for C.rocksdb_options_set_allow_ingest_behind
make: *** [build] Error 2

xmhu avatar Jun 12 '18 10:06 xmhu

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)

weiht12 avatar Dec 05 '18 07:12 weiht12