blastdev / blast-core-v1

[OBSOLETE] BLAST Core v1
MIT License
1 stars 0 forks source link

Error when try to make. #3

Open AndreyNag opened 6 years ago

AndreyNag commented 6 years ago

Same error when download actual branch master and compile from blast-core-1.1.0.0.

  CXXLD    libbitcoinconsensus.la
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  AR       libbitcoin_server.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  AR       libbitcoin_util.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  AR       libbitcoin_wallet.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  AR       leveldb/libleveldb.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  AR       leveldb/libmemenv.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    blast-cli
  CXXLD    blast-tx
  CXXLD    blastd
libbitcoin_server.a(libbitcoin_server_a-httpserver.o): In function `InitHTTPServer()':
httpserver.cpp:(.text+0x4664): undefined reference to `event_enable_debug_logging'
httpserver.cpp:(.text+0x4b06): undefined reference to `event_enable_debug_logging'
collect2: error: ld returned 1 exit status
Makefile:3381: ошибка выполнения рецепта для цели «blastd»
make[2]: *** [blastd] Ошибка 1
make[2]: *** Ожидание завершения заданий…
make[2]: выход из каталога «/usr/local/src/wallets/blast-core-1.1.0.0/src»
Makefile:8423: ошибка выполнения рецепта для цели «all-recursive»
make[1]: *** [all-recursive] Ошибка 1
make[1]: выход из каталога «/usr/local/src/wallets/blast-core-1.1.0.0/src»
Makefile:684: ошибка выполнения рецепта для цели «all-recursive»
make: *** [all-recursive] Ошибка 1

I have libevent-2.0-5/xenial-updates,xenial-security,now 2.0.21-stable-2ubuntu0.16.04.1 amd64

AndreyNag commented 6 years ago

I exclude some code in httpserver.cpp for a while.

//#if LIBEVENT_VERSION_NUMBER >= 0x02010100
    // If -debug=libevent, set full libevent debugging.
    // Otherwise, disable all libevent debugging.
//    if (LogAcceptCategory("libevent"))
//        event_enable_debug_logging(EVENT_DBG_ALL);
//    else
//        event_enable_debug_logging(EVENT_DBG_NONE);
//#endif

And pool are working.