profile
viewpoint

linkwk7/PBFT 3

Implmentation of PBFT

linkwk7/6.828-2018 0

MIT6.828-2018

linkwk7/CS-Notes 0

:books: Computer Science Learning Notes

linkwk7/interview 0

📚 C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。

linkwk7/linkwk7.github.io 0

Personal blog

linkwk7/mimalloc 0

mimalloc is a compact general purpose allocator with excellent performance.

linkwk7/peloton 0

The Self-Driving Database Management System

linkwk7/redis 0

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, HyperLogLogs, Bitmaps.

fork linkwk7/terrier

You know what this is...

fork in 6 days

fork linkwk7/peloton

The Self-Driving Database Management System

http://pelotondb.io

fork in a month

startedcmu-db/peloton

started time in a month

issue commentcockroachdb/cockroach

Fail to compile from source

@knz I try build/build.sh make buildshort, and it succeed. Thx

linkwk7

comment created time in 2 months

issue commentcockroachdb/cockroach

Fail to compile from source

Yeah, the output is

Makefile:52: build/defs.mk: No such file or directory GOPATH set to /go bash: build/defs.mk.sig: Permission denied Makefile:812: recipe for target 'build/defs.mk.sig' failed make: *** [build/defs.mk.sig] Error 1

linkwk7

comment created time in 2 months

issue commentcockroachdb/cockroach

Fail to compile from source

@lysu @dt Thanks, i use buildoss instead, and it success

linkwk7

comment created time in 2 months

issue openedcockroachdb/cockroach

Fail to compile from source

Hi developers, When i trying build cockroachdb from source, it will fail when build krb.

To Reproduce Follow the instruction in https://wiki.crdb.io/wiki/spaces/CRDB/pages/181338446/Getting+and+building+from+source, trying to build cockroachdb, but it fail when linking kdb5_util

1.mkdir -p $(go env GOPATH)/src/github.com/cockroachdb 2.cd $(go env GOPATH)/src/github.com/cockroachdb 3.git clone https://github.com/cockroachdb/cockroach 4.cd cockroach 5.make buildshort

Expected behavior Build success

Additional data / screenshots Here is part of the build output

making all in kadmin/dbutil... gcc -L../../lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/local/lib -g -O2 -o kdb5_util kdb5_util.o kdb5_create.o kadm5_create.o kdb5_destroy.o kdb5_stash.o import_err.o strtok.o dump.o ovload.o kdb5_mkey.o tabdump.o tdumputil.o ../cli/getdate.o -lkadm5srv_mit -lkdb5 -lkrb5_db2 -lkadm5srv_mit -lgssrpc -lgssapi_krb5 -lgssrpc -lgssapi_krb5 -ldl -pthread -lkrb5 -lk5crypto -lcom_err -lkrb5support -lkeyutils -lresolv -ldl /usr/bin/ld: ../../lib/libkadm5srv_mit.a(server_kdb.o):/home/rebellion/go/src/github.com/cockroachdb/cockroach/c-deps/krb5/src/lib/kadm5/srv/server_kdb.c:18: multiple definition of `master_keyblock'; kdb5_util.o:(.bss+0x40): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:663: kdb5_util] Error 1 make[2]: *** [Makefile:853: all-recurse] Error 1 make[1]: *** [Makefile:1533: all-recurse] Error 1 make: *** [Makefile:776: /home/rebellion/go/native/x86_64-pc-linux-gnu/krb5/lib/libgssapi_krb5.a] Error 2 make: *** Deleting file '/home/rebellion/go/native/x86_64-pc-linux-gnu/krb5/lib/libgssapi_krb5.a'

Environment:

  • CockroachDB version 20.1.1, master branch, commit id 021d87644837dfc7e7cd56af386f94b93f41623e
  • Server OS: Arch Linux version 5.6.14-arch1-1 (linux@archlinux) (gcc version 10.1.0 (GCC))
  • Client app: None

Additional context

created time in 2 months

more