Bitcoin Forum
April 26, 2024, 01:01:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 [299] 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 ... 385 »
  Print  
Author Topic: Nexus - Pure SHA3 + CPU/GPU + nPoS + 15 Active Innovations + More to Come  (Read 785444 times)
UsernameNumber7
Member
**
Offline Offline

Activity: 256
Merit: 60


View Profile
March 08, 2017, 11:42:34 PM
 #5961

Will the new wallet offer in wallet solo/pool mining?

Could we make it to choose on first install startup where to put the blockchain as I can never find it.  Especially with a problem like having to redownload the blockchain........

https://www.TRISQUEL.INFO #1 Free Software Linux Operating  System

Trisquel OS "Just Do It"        "Sic Semper Tyranis"
1714136477
Hero Member
*
Offline Offline

Posts: 1714136477

View Profile Personal Message (Offline)

Ignore
1714136477
Reply with quote  #2

1714136477
Report to moderator
1714136477
Hero Member
*
Offline Offline

Posts: 1714136477

View Profile Personal Message (Offline)

Ignore
1714136477
Reply with quote  #2

1714136477
Report to moderator
1714136477
Hero Member
*
Offline Offline

Posts: 1714136477

View Profile Personal Message (Offline)

Ignore
1714136477
Reply with quote  #2

1714136477
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
March 09, 2017, 02:22:04 AM
 #5962

just in response to the error encountered with the compile ...

this is the end part of the compile and as such is not the full output - but you will get the idea ...


Code:
src/wallet/../LLD/key.h:135:3: warning:   when initialized here [-Wreorder]
   KeyDatabase(std::string strBaseLocationIn, std::string strDatabaseNameIn) : strDatabaseName(strDatabaseNameIn), strBaseLocation(strBaseLocationIn) { strLocation = strBaseLocation + strDatabaseName + ".keys"; }
   ^
In file included from src/wallet/../LLD/sector.h:5:0,
                 from src/wallet/../LLD/index.h:4,
                 from src/wallet/db.cpp:16:
src/wallet/../LLD/transaction.h: In member function ‘uint512 LLD::SectorTransaction::GetHash()’:
src/wallet/../LLD/transaction.h:99:9: warning: no return statement in function returning non-void [-Wreturn-type]
         }
         ^
In file included from src/wallet/../LLD/index.h:4:0,
                 from src/wallet/db.cpp:16:
src/wallet/../LLD/sector.h: At global scope:
src/wallet/../LLD/sector.h:66:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool fReadOnly = false;
                    ^
src/wallet/db.cpp: In member function ‘bool Wallet::CTimeDB::WriteTimeData(int)’:
src/wallet/db.cpp:351:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
src/wallet/db.cpp: In member function ‘bool Wallet::CTxDB::MigrateToLLD()’:
src/wallet/db.cpp:692:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
In file included from /home/common/cwi-build/deps/include/boost/asio/detail/impl/posix_event.ipp:24:0,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/posix_event.hpp:95,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/event.hpp:25,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/task_io_service_thread_info.hpp:18,
                 from /home/common/cwi-build/deps/include/boost/asio/impl/handler_alloc_hook.ipp:26,
                 from /home/common/cwi-build/deps/include/boost/asio/handler_alloc_hook.hpp:80,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/handler_alloc_helpers.hpp:21,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/bind_handler.hpp:19,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/wrapped_handler.hpp:18,
                 from /home/common/cwi-build/deps/include/boost/asio/io_service.hpp:24,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_io_object.hpp:19,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_socket.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio.hpp:21,
                 from src/wallet/../core/../util/../util/util.h:30,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/asio/error.hpp: At global scope:
/home/common/cwi-build/deps/include/boost/asio/error.hpp:252:45: warning: ‘boost::asio::error::system_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& system_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:254:45: warning: ‘boost::asio::error::netdb_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& netdb_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:256:45: warning: ‘boost::asio::error::addrinfo_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& addrinfo_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:258:45: warning: ‘boost::asio::error::misc_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& misc_category
                                             ^
In file included from /home/common/cwi-build/deps/include/boost/system/system_error.hpp:14:0,
                 from /home/common/cwi-build/deps/include/boost/thread/exceptions.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/thread_data.hpp:10,
                 from /home/common/cwi-build/deps/include/boost/thread/thread_only.hpp:17,
                 from /home/common/cwi-build/deps/include/boost/thread/thread.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:13,
                 from src/wallet/../core/../util/../util/util.h:26,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
make: *** [build/db.o] Error 1
DONE ...


im trying to clone from the specific version ( which uses bdb ) but cannot seem to do so ...

any one have an actual parameter i can use to do so? ... would be a great help ...

tanx ...

#crysx

These are just the warnings (which are expected and ok), we really need to see the error message before these in order to help.
chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
March 09, 2017, 11:34:51 AM
 #5963

just in response to the error encountered with the compile ...

this is the end part of the compile and as such is not the full output - but you will get the idea ...


Code:
src/wallet/../LLD/key.h:135:3: warning:   when initialized here [-Wreorder]
   KeyDatabase(std::string strBaseLocationIn, std::string strDatabaseNameIn) : strDatabaseName(strDatabaseNameIn), strBaseLocation(strBaseLocationIn) { strLocation = strBaseLocation + strDatabaseName + ".keys"; }
   ^
In file included from src/wallet/../LLD/sector.h:5:0,
                 from src/wallet/../LLD/index.h:4,
                 from src/wallet/db.cpp:16:
src/wallet/../LLD/transaction.h: In member function ‘uint512 LLD::SectorTransaction::GetHash()’:
src/wallet/../LLD/transaction.h:99:9: warning: no return statement in function returning non-void [-Wreturn-type]
         }
         ^
In file included from src/wallet/../LLD/index.h:4:0,
                 from src/wallet/db.cpp:16:
src/wallet/../LLD/sector.h: At global scope:
src/wallet/../LLD/sector.h:66:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool fReadOnly = false;
                    ^
src/wallet/db.cpp: In member function ‘bool Wallet::CTimeDB::WriteTimeData(int)’:
src/wallet/db.cpp:351:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
src/wallet/db.cpp: In member function ‘bool Wallet::CTxDB::MigrateToLLD()’:
src/wallet/db.cpp:692:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
In file included from /home/common/cwi-build/deps/include/boost/asio/detail/impl/posix_event.ipp:24:0,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/posix_event.hpp:95,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/event.hpp:25,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/task_io_service_thread_info.hpp:18,
                 from /home/common/cwi-build/deps/include/boost/asio/impl/handler_alloc_hook.ipp:26,
                 from /home/common/cwi-build/deps/include/boost/asio/handler_alloc_hook.hpp:80,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/handler_alloc_helpers.hpp:21,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/bind_handler.hpp:19,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/wrapped_handler.hpp:18,
                 from /home/common/cwi-build/deps/include/boost/asio/io_service.hpp:24,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_io_object.hpp:19,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_socket.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio.hpp:21,
                 from src/wallet/../core/../util/../util/util.h:30,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/asio/error.hpp: At global scope:
/home/common/cwi-build/deps/include/boost/asio/error.hpp:252:45: warning: ‘boost::asio::error::system_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& system_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:254:45: warning: ‘boost::asio::error::netdb_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& netdb_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:256:45: warning: ‘boost::asio::error::addrinfo_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& addrinfo_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:258:45: warning: ‘boost::asio::error::misc_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& misc_category
                                             ^
In file included from /home/common/cwi-build/deps/include/boost/system/system_error.hpp:14:0,
                 from /home/common/cwi-build/deps/include/boost/thread/exceptions.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/thread_data.hpp:10,
                 from /home/common/cwi-build/deps/include/boost/thread/thread_only.hpp:17,
                 from /home/common/cwi-build/deps/include/boost/thread/thread.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:13,
                 from src/wallet/../core/../util/../util/util.h:26,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
make: *** [build/db.o] Error 1
DONE ...


im trying to clone from the specific version ( which uses bdb ) but cannot seem to do so ...

any one have an actual parameter i can use to do so? ... would be a great help ...

tanx ...

#crysx

These are just the warnings (which are expected and ok), we really need to see the error message before these in order to help.

im looking for the actual error ...

but will probably post the whole message list in the code box ...

im also testing the git clone and compile of the 0.2.0.5 branch ... its a headless clone - but will work if it compiles ...

its too late for me to do much else ... i need sleep now ...

tanx in advance for the help ...

#crysx

chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
March 10, 2017, 04:42:35 AM
 #5964

hi all ...

below is the output of the compile ...

Code:
g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -I/home/common/cwi-build/libraries/nexus-0.2.0.5 -I/home/common/cwi-build/libraries/nexus-0.2.0.5/build -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/core -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/hash -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/LLP -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/net -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/util -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/wallet -I/home/common/cwi-build/deps/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o build/version.o src/core/version.cpp
g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -I/home/common/cwi-build/libraries/nexus-0.2.0.5 -I/home/common/cwi-build/libraries/nexus-0.2.0.5/build -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/core -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/hash -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/LLP -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/net -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/util -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/wallet -I/home/common/cwi-build/deps/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o build/netbase.o src/net/netbase.cpp
In file included from src/net/netbase.cpp:10:0:
src/net/../util/util.h:65:0: warning: "NULL" redefined [enabled by default]
 #define NULL                0
 ^
In file included from /usr/include/dirent.h:245:0,
                 from /home/common/cwi-build/deps/include/boost/interprocess/detail/os_file_functions.hpp:42,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/posix/semaphore_wrapper.hpp:25,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/posix/semaphore.hpp:26,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/interprocess_semaphore.hpp:33,
                 from src/net/../util/util.h:35,
                 from src/net/netbase.cpp:10:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stddef.h:399:0: note: this is the location of the previous definition
 #define NULL __null
 ^
In file included from src/net/../util/util.h:12:0,
                 from src/net/netbase.cpp:10:
src/net/../util/../hash/templates.h: In function ‘uint256 SK256(const std::vector<unsigned char>&)’:
src/net/../util/../hash/templates.h:49:23: warning: unused variable ‘pblank’ [-Wunused-variable]
  static unsigned char pblank[1];
                       ^
In file included from src/net/netbase.cpp:10:0:
src/net/../util/util.h: In function ‘std::vector<unsigned char> parse_ip(std::string)’:
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
  sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
                                                                                  ^
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 5 has type ‘unsigned char*’ [-Wformat=]
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 6 has type ‘unsigned char*’ [-Wformat=]
In file included from /home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
                 from /home/common/cwi-build/deps/include/boost/atomic/atomic.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/atomic.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread/once.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:17,
                 from src/net/../util/util.h:26,
                 from src/net/netbase.cpp:10:
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:556:139:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::<anonymous struct>::to’ [-Wmissing-field-initializers]
     value = {};
              ^
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:574:100:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::<anonymous struct>::to’ [-Wmissing-field-initializers]
g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -I/home/common/cwi-build/libraries/nexus-0.2.0.5 -I/home/common/cwi-build/libraries/nexus-0.2.0.5/build -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/core -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/hash -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/LLP -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/net -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/util -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/wallet -I/home/common/cwi-build/deps/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o build/addrman.o src/net/addrman.cpp
In file included from src/net/addrman.h:14:0,
                 from src/net/addrman.cpp:9:
src/net/../util/util.h:65:0: warning: "NULL" redefined [enabled by default]
 #define NULL                0
 ^
In file included from /usr/include/dirent.h:245:0,
                 from /home/common/cwi-build/deps/include/boost/interprocess/detail/os_file_functions.hpp:42,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/posix/semaphore_wrapper.hpp:25,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/posix/semaphore.hpp:26,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/interprocess_semaphore.hpp:33,
                 from src/net/../util/util.h:35,
                 from src/net/addrman.h:14,
                 from src/net/addrman.cpp:9:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stddef.h:399:0: note: this is the location of the previous definition
 #define NULL __null
 ^
In file included from src/net/../util/util.h:12:0,
                 from src/net/addrman.h:14,
                 from src/net/addrman.cpp:9:
src/net/../util/../hash/templates.h: In function ‘uint256 SK256(const std::vector<unsigned char>&)’:
src/net/../util/../hash/templates.h:49:23: warning: unused variable ‘pblank’ [-Wunused-variable]
  static unsigned char pblank[1];
                       ^
In file included from src/net/addrman.h:14:0,
                 from src/net/addrman.cpp:9:
src/net/../util/util.h: In function ‘std::vector<unsigned char> parse_ip(std::string)’:
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
  sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
                                                                                  ^
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 5 has type ‘unsigned char*’ [-Wformat=]
src/net/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 6 has type ‘unsigned char*’ [-Wformat=]
In file included from /home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
                 from /home/common/cwi-build/deps/include/boost/atomic/atomic.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/atomic.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread/once.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:17,
                 from src/net/../util/util.h:26,
                 from src/net/addrman.h:14,
                 from src/net/addrman.cpp:9:
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:556:139:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::<anonymous struct>::to’ [-Wmissing-field-initializers]
     value = {};
              ^
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:574:100:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::<anonymous struct>::to’ [-Wmissing-field-initializers]
g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -I/home/common/cwi-build/libraries/nexus-0.2.0.5 -I/home/common/cwi-build/libraries/nexus-0.2.0.5/build -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/core -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/hash -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/LLP -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/net -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/util -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/wallet -I/home/common/cwi-build/deps/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -fpermissive -o build/crypter.o src/wallet/crypter.cpp
g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -I/home/common/cwi-build/libraries/nexus-0.2.0.5 -I/home/common/cwi-build/libraries/nexus-0.2.0.5/build -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/core -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/hash -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/LLP -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/net -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/util -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/wallet -I/home/common/cwi-build/deps/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -fpermissive -o build/key.o src/wallet/key.cpp
In file included from src/wallet/key.cpp:15:0:
src/wallet/../util/util.h:65:0: warning: "NULL" redefined [enabled by default]
 #define NULL                0
 ^
In file included from /usr/include/dirent.h:245:0,
                 from /home/common/cwi-build/deps/include/boost/interprocess/detail/os_file_functions.hpp:42,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/posix/semaphore_wrapper.hpp:25,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/posix/semaphore.hpp:26,
                 from /home/common/cwi-build/deps/include/boost/interprocess/sync/interprocess_semaphore.hpp:33,
                 from src/wallet/../util/util.h:35,
                 from src/wallet/key.cpp:15:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stddef.h:399:0: note: this is the location of the previous definition
 #define NULL __null
 ^
In file included from src/wallet/../util/util.h:12:0,
                 from src/wallet/key.cpp:15:
src/wallet/../util/../hash/templates.h: In function ‘uint256 SK256(const std::vector<unsigned char>&)’:
src/wallet/../util/../hash/templates.h:49:23: warning: unused variable ‘pblank’ [-Wunused-variable]
  static unsigned char pblank[1];
                       ^
In file included from src/wallet/key.cpp:15:0:
src/wallet/../util/util.h: In function ‘std::vector<unsigned char> parse_ip(std::string)’:
src/wallet/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
  sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
                                                                                  ^
src/wallet/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
src/wallet/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 5 has type ‘unsigned char*’ [-Wformat=]
src/wallet/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 6 has type ‘unsigned char*’ [-Wformat=]
In file included from /home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
                 from /home/common/cwi-build/deps/include/boost/atomic/atomic.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/atomic.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread/once.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:17,
                 from src/wallet/../util/util.h:26,
                 from src/wallet/key.cpp:15:
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:556:139:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::<anonymous struct>::to’ [-Wmissing-field-initializers]
     value = {};
              ^
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:574:100:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::<anonymous struct>::to’ [-Wmissing-field-initializers]
g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -I/home/common/cwi-build/libraries/nexus-0.2.0.5 -I/home/common/cwi-build/libraries/nexus-0.2.0.5/build -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/core -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/hash -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/json -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/LLP -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/net -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/util -I/home/common/cwi-build/libraries/nexus-0.2.0.5/src/wallet -I/home/common/cwi-build/deps/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -fpermissive -o build/db.o src/wallet/db.cpp
In file included from src/wallet/../core/../util/bignum.h:16:0,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
src/wallet/../core/../util/../util/util.h:65:0: warning: "NULL" redefined [enabled by default]
 #define NULL                0
 ^
In file included from /usr/include/sys/mman.h:25:0,
                 from src/wallet/../core/../util/../util/../net/../util/../util/allocators.h:32,
                 from src/wallet/../core/../util/../util/../net/../util/serialize.h:27,
                 from src/wallet/../core/../util/../util/../net/netbase.h:15,
                 from src/wallet/../core/../util/../util/util.h:40,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stddef.h:399:0: note: this is the location of the previous definition
 #define NULL __null
 ^
In file included from src/wallet/../core/../util/../util/util.h:12:0,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
src/wallet/../core/../util/../util/../hash/templates.h: In function ‘uint256 SK256(const std::vector<unsigned char>&)’:
src/wallet/../core/../util/../util/../hash/templates.h:49:23: warning: unused variable ‘pblank’ [-Wunused-variable]
  static unsigned char pblank[1];
                       ^
In file included from src/wallet/../core/../util/bignum.h:16:0,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
src/wallet/../core/../util/../util/util.h: In function ‘std::vector<unsigned char> parse_ip(std::string)’:
src/wallet/../core/../util/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
  sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
                                                                                  ^
src/wallet/../core/../util/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
src/wallet/../core/../util/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 5 has type ‘unsigned char*’ [-Wformat=]
src/wallet/../core/../util/../util/util.h:105:82: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 6 has type ‘unsigned char*’ [-Wformat=]
In file included from src/wallet/db.h:12:0,
                 from src/wallet/db.cpp:9:
src/wallet/../core/core.h: In member function ‘int Core::CTrustKey::GetBlock(uint1024)’:
src/wallet/../core/core.h:642:8: warning: unused variable ‘nRemove’ [-Wunused-variable]
    int nRemove = -1;
        ^
src/wallet/../core/core.h: In member function ‘void Core::CTrustKey::Print()’:
src/wallet/../core/core.h:669:85: error: expected ‘)’ before ‘PRIu64’
    printf("CTrustKey(Hash = %s, Key = %s, Genesis = %s, Tx = %s, Time = %u, Age = %"PRIu64", BlockAge = %"PRIu64", Expired = %s)\n", GetHash().ToString().c_str(), cKey.ToString().c_str(), hashGenesisBlock.ToString().c_str(), hashGenesisTx.ToString().c_str(), nGenesisTime, Age(GetUnifiedTimestamp()), BlockAge(GetUnifiedTimestamp()), Expired(GetUnifiedTimestamp()) ? "TRUE" : "FALSE");
                                                                                     ^
In file included from src/wallet/db.h:12:0,
                 from src/wallet/db.cpp:9:
src/wallet/../core/core.h: In member function ‘void Core::CBlock::print() const’:
src/wallet/../core/core.h:1486:133: error: expected ‘)’ before ‘PRIu64’
    printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nChannel = %u, nHeight = %u, nNonce=%"PRIu64", vtx=%d, vchBlockSig=%s)\n",
                                                                                                                                     ^
In file included from /home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
                 from /home/common/cwi-build/deps/include/boost/atomic/atomic.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/atomic.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread/once.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:17,
                 from src/wallet/../core/../util/../util/util.h:26,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:556:139:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::<anonymous struct>::to’ [-Wmissing-field-initializers]
     value = {};
              ^
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/common/cwi-build/deps/include/boost/atomic/detail/atomic_template.hpp:574:100:   required from here
/home/common/cwi-build/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::<anonymous struct>::to’ [-Wmissing-field-initializers]
src/wallet/db.cpp: In member function ‘bool Wallet::CTimeDB::WriteTimeData(int)’:
src/wallet/db.cpp:349:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
In file included from /home/common/cwi-build/deps/include/boost/asio/detail/impl/posix_mutex.ipp:24:0,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/posix_mutex.hpp:73,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/mutex.hpp:25,
                 from /home/common/cwi-build/deps/include/boost/asio/detail/service_registry.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio/impl/io_service.hpp:19,
                 from /home/common/cwi-build/deps/include/boost/asio/io_service.hpp:767,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_io_object.hpp:19,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_socket.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/common/cwi-build/deps/include/boost/asio.hpp:21,
                 from src/wallet/../core/../util/../util/util.h:30,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/asio/error.hpp: At global scope:
/home/common/cwi-build/deps/include/boost/asio/error.hpp:258:45: warning: ‘boost::asio::error::system_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& system_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:260:45: warning: ‘boost::asio::error::netdb_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& netdb_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:262:45: warning: ‘boost::asio::error::addrinfo_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& addrinfo_category
                                             ^
/home/common/cwi-build/deps/include/boost/asio/error.hpp:264:45: warning: ‘boost::asio::error::misc_category’ defined but not used [-Wunused-variable]
 static const boost::system::error_category& misc_category
                                             ^
In file included from /home/common/cwi-build/deps/include/boost/system/system_error.hpp:14:0,
                 from /home/common/cwi-build/deps/include/boost/thread/exceptions.hpp:22,
                 from /home/common/cwi-build/deps/include/boost/thread/pthread/thread_data.hpp:10,
                 from /home/common/cwi-build/deps/include/boost/thread/thread_only.hpp:17,
                 from /home/common/cwi-build/deps/include/boost/thread/thread.hpp:12,
                 from /home/common/cwi-build/deps/include/boost/thread.hpp:13,
                 from src/wallet/../core/../util/../util/util.h:26,
                 from src/wallet/../core/../util/bignum.h:16,
                 from src/wallet/../core/core.h:12,
                 from src/wallet/db.h:12,
                 from src/wallet/db.cpp:9:
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:221:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
/home/common/cwi-build/deps/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
make: *** [build/db.o] Error 1
DONE ...

now this is after cloning the 0.2.0.5 branch and compiling that branch alone ...

i cant see anything in here that would cause it to crash and burn like this - but then - im very frustrated with it now ...

things that are needed as prerequisites to this ...

- it is being compiled under centos 7 x64 ...
- it is being compiled as a static daemon ...
- the other components ( boost - openssl - bdb ) are all statically compiled also ...
- there are no issues with other coins compiling in this manner - thats how its done here with the other coins we support ...

any help would be appreciated ...

#crysx

physicsdude
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile WWW
March 10, 2017, 02:42:40 PM
 #5965

just in response to the error encountered with the compile ...
...
im trying to clone from the specific version ( which uses bdb ) but cannot seem to do so ...

any one have an actual parameter i can use to do so? ... would be a great help ...

tanx ...

#crysx

Looks like you already git cloned it, but for future reference you can find the release source code here

https://github.com/Nexusoft/Nexus/releases/tag/0.2.0.5
physicsdude
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile WWW
March 10, 2017, 02:52:21 PM
 #5966

hi all ...

below is the output of the compile ...

Code:
...
src/wallet/../core/core.h: In member function ‘void Core::CBlock::print() const’:
src/wallet/../core/core.h:1486:133: error: expected ‘)’ before ‘PRIu64’
    printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nChannel = %u, nHeight = %u, nNonce=%"PRIu64", vtx=%d, vchBlockSig=%s)\n",

...
                                    ^
make: *** [build/db.o] Error 1
DONE ...

now this is after cloning the 0.2.0.5 branch and compiling that branch alone ...
...
any help would be appreciated ...

#crysx

Looks like this is the part causing trouble core.h:1486:133: error: expected ‘)’ before ‘PRIu64’

I'm going to guess that this is a compiler version issue because it compiles OK on debian and even on Windows under MinGW for me.

What do you get when you run g++ -v? Here's my output

Quote
$ g++ -v
\Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)


One way or another we'll get this fixed ... even if I have to tweak the source code to do the printf differently so it's supported on more platforms.
physicsdude
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile WWW
March 10, 2017, 03:07:21 PM
 #5967

Does the error go away when you make the change  shown below (move the line with __STDC_FORMAT_MACROS up by four)?

Code:
$ git diff core.h
diff --git a/src/core/core.h b/src/core/core.h
index 0e69733..44fae06 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -13,9 +13,10 @@
 #include "../net/net.h"
 #include "../wallet/script.h"
 
+#define __STDC_FORMAT_MACROS 1
+
 #ifdef WIN32
 #include <io.h> /* for _commit */
-#define __STDC_FORMAT_MACROS 1
 #endif
 
 #ifdef USE_UPNP
sparks2013
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
March 10, 2017, 05:56:08 PM
 #5968

I've tried searching and maybe it's already been done, but has anyone compiled PrimePoolMiner successfully on either Ubuntu 12/14, or Centos 6.x?
chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
March 11, 2017, 01:31:38 AM
 #5969

Does the error go away when you make the change  shown below (move the line with __STDC_FORMAT_MACROS up by four)?

Code:
$ git diff core.h
diff --git a/src/core/core.h b/src/core/core.h
index 0e69733..44fae06 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -13,9 +13,10 @@
 #include "../net/net.h"
 #include "../wallet/script.h"
 
+#define __STDC_FORMAT_MACROS 1
+
 #ifdef WIN32
 #include <io.h> /* for _commit */
-#define __STDC_FORMAT_MACROS 1
 #endif
 
 #ifdef USE_UPNP

ill get stuck into it again in the next few days ...

i have many 'real life' errands today - being the beginning of the weekend ( saturday ) and will be back here this afternoon to cleanup a number of things that need to be for cwi ...

os is centos7x64 - gcc48 ... the static builds ( as mentioned earlier ) are due to the lack of a 'proper' openssl implementation held back by redhat redtape Tongue ...

its becoming painful to do this - but once the this is resolved - ill setup a staking node - which you can use as a seed - to test the syncing of the daemon ...

if it ever gets compiled Tongue ...

there is absolutely NO interest in compiling / changing the os over to ubuntu / debian - as there are 'millions' of projects and devs that think the word 'linux' means 'ubuntu' ... it doesnt ...

anyway - lets get this 'fixed' ...

#crysx

lisker
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile WWW
March 11, 2017, 04:41:54 PM
 #5970

The long awaited Nexus 3.0 Wallet is just around the corner:



Image by Nexusman

www.lisk.io - Dapp & Sidechain Platform
chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
March 12, 2017, 12:56:33 AM
 #5971

The long awaited Nexus 3.0 Wallet is just around the corner:



Image by Nexusman

nice graphics ...

is it compilable by EVERYONE? ... or still the select ubuntu users? ...

would like to see how this works ...

we are more than happy to help with the testing and prerelease code ...

#crysx

paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
March 12, 2017, 10:58:22 PM
 #5972


is it compilable by EVERYONE? ... or still the select ubuntu users? ...
#crysx

The fix that physicsdude suggested works for me on CentOS...
Move the
#define __STDC_FORMAT_MACROS 1
define out of the #ifdef WIN32 and also I think above any other #includes
I might have had to change this in a few places. 
chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
March 12, 2017, 11:29:55 PM
 #5973


is it compilable by EVERYONE? ... or still the select ubuntu users? ...
#crysx

The fix that physicsdude suggested works for me on CentOS...
Move the
#define __STDC_FORMAT_MACROS 1
define out of the #ifdef WIN32 and also I think above any other #includes
I might have had to change this in a few places.  


really? ...

which files? ... and where? ... and is this with the v0.2.0.5? ...

ill change them over today today and try the compile ...

#crysx

paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
March 13, 2017, 04:07:28 AM
 #5974


is it compilable by EVERYONE? ... or still the select ubuntu users? ...
#crysx

The fix that physicsdude suggested works for me on CentOS...
Move the
#define __STDC_FORMAT_MACROS 1
define out of the #ifdef WIN32 and also I think above any other #includes
I might have had to change this in a few places.  


really? ...

which files? ... and where? ... and is this with the v0.2.0.5? ...

ill change them over today today and try the compile ...

#crysx
To be truthful I did this a long time ago on CentOS and don't even have that server anymore.  But I get the exact same issue trying to compile using either cygwin or mingw, I forget which it was, and I also get it when compiling the CPU pool miner under these.  The fix is always the same, wherever the #define __STDC_FORMAT_MACROS 1 is inside another #ifdef then move it outside.  Just do a find-in-files for it.  In the latest code there is only one in /src/core/core.h.  I think it is safe to move it outside of the #ifdef WIN32 for all builds...  <<< physicsdude
GizmoHF
Member
**
Offline Offline

Activity: 88
Merit: 10

Follow your heart.


View Profile
March 14, 2017, 07:51:41 PM
 #5975

Why is Nexus rising so quick? I am thinking about buying in some more.
glenl
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
March 14, 2017, 09:40:10 PM
 #5976

Be sure to check out tomorrows News letter!
pdogg147
Sr. Member
****
Offline Offline

Activity: 339
Merit: 266

Advancing Liberty Through Blockchain


View Profile WWW
March 15, 2017, 01:25:44 PM
 #5977

We are very excited to Announce the release of the second Nexus Newsletter.  Some very exciting news this month.  https://nexusnewsletter.com/  Let me or @spaid on Slack know if you have any comments or ideas for future newsletters. 

donarito
Hero Member
*****
Offline Offline

Activity: 604
Merit: 500



View Profile
March 15, 2017, 04:30:10 PM
 #5978

We are very excited to Announce the release of the second Nexus Newsletter.  Some very exciting news this month.  https://nexusnewsletter.com/  Let me or @spaid on Slack know if you have any comments or ideas for future newsletters. 

Good news Smiley looking forward for a Tritium Smiley


                                 ▄████████▄
                               ▄█████████████▄
                             ▒▓███████████████░
                            ▒▓█████████████████░
                            ▒▓█▓▒██████████▒▓██░
                            ▒▓█████████████████░
                             ▒▓███████████████░
                               ▀████████████▀
        ▒██░                ▄▄▄▄  ▀██████▀
            ▄███▄         ▄██████▄
            ▀███▀  ▄    ▒██████████░
                 ▄███▄  ▒██████████░
                 ▀███▀    ▀██████▀
                   ▀  ▄███▄ ▀▀▀▀
                     ▒█████░
                      ▀███▀
7%|  Annual Income
   VirtacoinPLUS
|  X 11    POW | POS
   Mining. Staking. Rewards.  
|  DECENTRALIZED INCOME HYBRID
    Created for The People.  By The People.  
|



                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌




     ▄▄█▀▀ ▄▄▄▄▄▄▄▄ ▀▀█▄▄
   ▐██▄▄██████████████▄▄██▌
   ████████████████████████
  ▐████████████████████████▌
  ███████▀▀▀██████▀▀▀███████
 ▐██████     ████     ██████▌
 ███████     ████     ███████
▐████████▄▄▄██████▄▄▄████████▌
▐████████████████████████████▌
 █████▄▄▀▀▀▀██████▀▀▀▀▄▄█████
  ▀▀██████          ██████▀▀
      ▀▀▀            ▀▀▀
Bunnywinkles
Jr. Member
*
Offline Offline

Activity: 80
Merit: 1


View Profile
March 15, 2017, 05:44:01 PM
 #5979

So Vector Space Systems partnership is official now?
loki0505
Hero Member
*****
Offline Offline

Activity: 494
Merit: 500


View Profile
March 15, 2017, 06:15:55 PM
 #5980

So Vector Space Systems partnership is official now?

on the blog it says the Letter of Intent (LOI) is signed.  Not sure if that makes it official? any lawyers here ;-)
Pages: « 1 ... 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 [299] 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 ... 385 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!