Author Topic: build errors  (Read 5092 times)

0 Members and 1 Guest are viewing this topic.

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Inside /bts_wallet/CMakeLists.txt (or whichever app you are building), you need to add pthread as an argument to target_link_libraries().

Offline HardFork

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
I followed the build instructions.

When I run: make

I get:

../vendor/leveldb-1.12.0/libleveldb.a(port_posix.cc.o): In function `leveldb::port::InitOnce(int*, void (*)())':
/home/tzadik/BitShares/vendor/leveldb-1.12.0/port/port_posix.cc:50: undefined reference to `pthread_once'