ChompStory
Member
Offline
Activity: 99
Merit: 10
|
|
July 29, 2015, 04:36:07 PM |
|
guys if anyone could help ill tip you btc im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
|
|
|
|
nitrogenetics (OP)
|
|
July 29, 2015, 04:54:34 PM |
|
Hey guys, I've followed all the steps and still stuck on something related to the Berkeley DB.
When I run configure it says:
"checking for Berkeley DB C++ headers... no" "configure: error: libdb_cxx headers missing"
Also, was wondering in the instructions, in the Berkeley DB part, why are we building under "build_unix", rather than "build_windows"?
Thanks.
Are you including the correct bdb folder when configuring? Did bdb compile fine? Since we are compiling on a "unix like" system (msys) we build under build_unix. build_windows assumes you are building on visual studio. yes, its all installed and configured. heres a screenshot of that folder, the file lrelease.exe doesent seem to exist?
Did you compile qt 4.8.6 from source? See "Compile bitcoin-qt 0.8.6 with Qt 4.8" on first post. In step 2.4 miniupnpc-1.9.20150206.tar.gz does not include miniupnpcstrings.h and it looks for this file on make. So You have to create the file and put in something like: /* $Id: miniupnpcstrings.h,v 1.3 2009/06/04 09:05:56 nanard Exp $ */ /* Project: miniupnp * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * Author: Thomas Bernard * Copyright (c) 2005-2009 Thomas Bernard * This software is subjects to the conditions detailed * in the LICENCE file provided within this distribution */ #ifndef __MINIUPNPCSTRINGS_H__ #define __MINIUPNPCSTRINGS_H__
#define OS_STRING "OpenBSD/4.3" #define MINIUPNPC_VERSION_STRING "1.3"
#endif miniupnpcstrings.h will be automatically generated when compiling from cmd on windows as specified at step 2.4. You will need to manually create it if compiling from msys (or when crosscompiling on linux for windows, if I remember correctly). I also had a nasty error that said that it couldn't find the entry point of a throw exception in libstdc++-6.dll in both the QT compilation and the protobuf compilation. I found that I had to delete libstdc++.dll inside of C:\mingw32\lib\gcc\i686-w64-mingw32\4.9.2 because it was trying to link against a different version of std c++ lib which already exists as libstdc++-6.dll inside of C:\mingw32\bin
Sounds like a misconfiguration (old toolchain version remnants?) of your build environment, or lack of make clean when rebuilding dependencies. Also make sure all dependencies are built by the same toolchain.
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3514
Merit: 6863
Just writing some code
|
|
July 29, 2015, 05:21:32 PM |
|
guys if anyone could help ill tip you btc
im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
Recompile qt from source using the compile bitcoin-qt 0.8.6 with qt 4.8 instructions in the OP.
|
|
|
|
l8nit3
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
July 29, 2015, 06:29:59 PM |
|
Thanks for the tut! Great work! im now the pround owner of a personally compiled (slightly tweaked) qt wallet! ive noticed this works with all of the bitcoin clones that use the basic ./confiigure && make && amek install setup (again AWESOME job). However im attempting to build a win8 partition to be used for compiling all types of crypto wallets (going for those new coin bounties lol). And it seems that with the coins that use "make -f makefile.Release" (eg.sexcoin, zetacoin, photon), compiling isnt working. (I understand thats not the current scope of this tut). My Question: Is it possible to be setup on windows for both types of wallets? (it seems the makefile.release ones require slightly different depends) and if it is possible, any chance of a tut update that includes those ones aswell?
|
|
|
|
ChompStory
Member
Offline
Activity: 99
Merit: 10
|
|
July 29, 2015, 08:21:05 PM |
|
guys if anyone could help ill tip you btc
im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
Recompile qt from source using the compile bitcoin-qt 0.8.6 with qt 4.8 instructions in the OP. ive compiled qt once again and still no lrelease.exe in the bin folder ive also compiled the latest version 0.8.7, and no lrelease.exe anyone have any ideas?
|
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3514
Merit: 6863
Just writing some code
|
|
July 29, 2015, 08:30:29 PM |
|
guys if anyone could help ill tip you btc
im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
Recompile qt from source using the compile bitcoin-qt 0.8.6 with qt 4.8 instructions in the OP. ive compiled qt once again and still no lrelease.exe in the bin folder ive also compiled the latest version 0.8.7, and no lrelease.exe anyone have any ideas? What is the output of that compilation. It should have worked. This indicates that it isn't compiling correctly.
|
|
|
|
sidhujag
Legendary
Offline
Activity: 2044
Merit: 1005
|
|
July 29, 2015, 10:12:48 PM |
|
thanks
|
|
|
|
ChompStory
Member
Offline
Activity: 99
Merit: 10
|
|
July 30, 2015, 05:11:42 AM |
|
guys if anyone could help ill tip you btc
im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
Recompile qt from source using the compile bitcoin-qt 0.8.6 with qt 4.8 instructions in the OP. ive compiled qt once again and still no lrelease.exe in the bin folder ive also compiled the latest version 0.8.7, and no lrelease.exe anyone have any ideas? What is the output of that compilation. It should have worked. This indicates that it isn't compiling correctly. where to find output? ok ive installed qt 4.8.7, and that has lrelease, but now im getting C:\lite>qmake "USE_QRCODE=1" "USE_UPNP=1" "USE_IPV6=1" bitcoin-qt.pro QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: bitcoin-qt.pro
C:\lite>
EDIT: ok somehow got past that, now getting c:\lite>mingw32-make -f Makefile.Release cd C:/lite/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mingw 32-make OPT="-pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURC E=2 -O2" libleveldb.a libmemenv.a && ranlib C:/lite/src/leveldb/libleveldb.a && ranlib C:/lite/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:313: recipe for target 'c:/lite/src/leveldb/libleveldb.a' faile d mingw32-make: *** [c:/lite/src/leveldb/libleveldb.a] Error 1
c:\lite> anyone have any ideas :/ frustrating
|
|
|
|
old c coder
|
|
August 03, 2015, 04:24:41 AM |
|
guys if anyone could help ill tip you btc
im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
Recompile qt from source using the compile bitcoin-qt 0.8.6 with qt 4.8 instructions in the OP. ive compiled qt once again and still no lrelease.exe in the bin folder ive also compiled the latest version 0.8.7, and no lrelease.exe anyone have any ideas? What is the output of that compilation. It should have worked. This indicates that it isn't compiling correctly. where to find output? ok ive installed qt 4.8.7, and that has lrelease, but now im getting C:\lite>qmake "USE_QRCODE=1" "USE_UPNP=1" "USE_IPV6=1" bitcoin-qt.pro QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: bitcoin-qt.pro
C:\lite>
EDIT: ok somehow got past that, now getting c:\lite>mingw32-make -f Makefile.Release cd C:/lite/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mingw 32-make OPT="-pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURC E=2 -O2" libleveldb.a libmemenv.a && ranlib C:/lite/src/leveldb/libleveldb.a && ranlib C:/lite/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:313: recipe for target 'c:/lite/src/leveldb/libleveldb.a' faile d mingw32-make: *** [c:/lite/src/leveldb/libleveldb.a] Error 1
c:\lite> anyone have any ideas :/ frustrating guys if anyone could help ill tip you btc
im still getting the following error, what is this lrelease.exe?, im trying to compile litecoin 0.8.7.5 source
Recompile qt from source using the compile bitcoin-qt 0.8.6 with qt 4.8 instructions in the OP. ive compiled qt once again and still no lrelease.exe in the bin folder ive also compiled the latest version 0.8.7, and no lrelease.exe anyone have any ideas? What is the output of that compilation. It should have worked. This indicates that it isn't compiling correctly. where to find output? ok ive installed qt 4.8.7, and that has lrelease, but now im getting C:\lite>qmake "USE_QRCODE=1" "USE_UPNP=1" "USE_IPV6=1" bitcoin-qt.pro QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: bitcoin-qt.pro
C:\lite>
EDIT: ok somehow got past that, now getting c:\lite>mingw32-make -f Makefile.Release cd C:/lite/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mingw 32-make OPT="-pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURC E=2 -O2" libleveldb.a libmemenv.a && ranlib C:/lite/src/leveldb/libleveldb.a && ranlib C:/lite/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:313: recipe for target 'c:/lite/src/leveldb/libleveldb.a' faile d mingw32-make: *** [c:/lite/src/leveldb/libleveldb.a] Error 1
c:\lite> anyone have any ideas :/ frustrating Hello ? See https://bitcointalk.org/index.php?topic=149479.msg11001298#msg11001298 and the few following messages. Perhaps they may help. Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
coinerer
|
|
August 03, 2015, 01:40:28 PM |
|
It seems it is impossible to compile the newest bitcoin develoment source from https://github.com/bitcoin/bitcoinIt was all ok before two weeks and earlier. Any changes in the configuration files necessary?
|
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3514
Merit: 6863
Just writing some code
|
|
August 03, 2015, 03:09:36 PM |
|
It seems it is impossible to compile the newest bitcoin develoment source from https://github.com/bitcoin/bitcoinIt was all ok before two weeks and earlier. Any changes in the configuration files necessary? Nope. It seems that the latest commit has broken something. Looking at their travis-ci page: https://travis-ci.org/bitcoin/bitcoin, it seems that the latest commit has caused several build failures.
|
|
|
|
ChompStory
Member
Offline
Activity: 99
Merit: 10
|
|
August 04, 2015, 01:07:25 AM |
|
anyone have any ideas :/ frustrating
Hello ? See https://bitcointalk.org/index.php?topic=149479.msg11001298#msg11001298 and the few following messages. Perhaps they may help. Ron [/quote] nope no information there. still getting c:\lite>mingw32-make -f Makefile.Release cd C:/lite/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mingw 32-make OPT="-pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURC E=2 -O2" libleveldb.a libmemenv.a && ranlib C:/lite/src/leveldb/libleveldb.a && ranlib C:/lite/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:313: recipe for target 'c:/lite/src/leveldb/libleveldb.a' faile d mingw32-make: *** [c:/lite/src/leveldb/libleveldb.a] Error 1
c:\lite>
|
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3514
Merit: 6863
Just writing some code
|
|
August 04, 2015, 01:12:41 AM Last edit: August 04, 2015, 01:58:04 AM by knightdk |
|
nope no information there. still getting c:\lite>mingw32-make -f Makefile.Release cd C:/lite/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mingw 32-make OPT="-pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURC E=2 -O2" libleveldb.a libmemenv.a && ranlib C:/lite/src/leveldb/libleveldb.a && ranlib C:/lite/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:313: recipe for target 'c:/lite/src/leveldb/libleveldb.a' faile d mingw32-make: *** [c:/lite/src/leveldb/libleveldb.a] Error 1
c:\lite> Someone else may have had this problem before. Try looking through this thread (all 53 pages) and see if you can find your answer.
|
|
|
|
nitrogenetics (OP)
|
|
August 04, 2015, 03:12:58 PM |
|
c:\lite>mingw32-make -f Makefile.Release cd C:/lite/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mingw 32-make OPT="-pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURC E=2 -O2" libleveldb.a libmemenv.a && ranlib C:/lite/src/leveldb/libleveldb.a && ranlib C:/lite/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:313: recipe for target 'c:/lite/src/leveldb/libleveldb.a' faile d mingw32-make: *** [c:/lite/src/leveldb/libleveldb.a] Error 1
c:\lite> Did you comment out win32 genleveldb.commands from your .pro file (leveldb will need to be built separately)? See "additional notes for older Bitcoin 0.8.6" on first post.
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
MoreBloodWine
Legendary
Offline
Activity: 1064
Merit: 1001
|
|
August 05, 2015, 07:35:51 AM |
|
This doesn't seem to have anything to do with this guide but I suspect me and the person I'm working with might get more help here. Trying to compile bucks with gitian, made it past the install log but seems to have hiccuped with building. It was hinted it may be a missing package but f if we can figure it out. Am running in to this though if anyone has any ideas... using gitian but I doubt it's a gitian specific error. From the window where the command was issued to "begin"... Running build script (log in var/build.log) [sudo] password for andrew: ./bin/gbuild:21:in `system!': failed to run on-target setarch i386 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError) from ./bin/gbuild:116:in `build_one_configuration' from ./bin/gbuild:218 from ./bin/gbuild:213:in `each' from ./bin/gbuild:213 from ./bin/gbuild:211:in `each' from ./bin/gbuild:211 andrew@CRYPTO-COMPILER:~/Desktop/gitian-builder$ From tailing the build.log file... smessage.cpp: In function ‘int SecureMsgDecrypt(bool, std::string&, uint8_t*, uint8_t*, uint32_t, MessageData&)’: smessage.cpp:3813: error: could not convert ‘HMAC_Init_ex((& ctx), ((const void*)key_m.std::vector<_Tp, _Alloc>::operator[] [with _Tp = unsigned char, _Alloc = std::allocator<unsigned char>](0u)), 32, EVP_sha256(), 0u)’ to ‘bool’ smessage.cpp:3813: error: in argument to unary ! smessage.cpp:3814: error: could not convert ‘HMAC_Update((& ctx), ((const unsigned char*)(& psmsg->SecureMessage::timestamp)), 8u)’ to ‘bool’ smessage.cpp:3814: error: in argument to unary ! smessage.cpp:3815: error: could not convert ‘HMAC_Update((& ctx), ((const unsigned char*)pPayload), nPayload)’ to ‘bool’ smessage.cpp:3815: error: in argument to unary ! smessage.cpp:3816: error: could not convert ‘HMAC_Final((& ctx), ((uint8_t*)(& MAC)), (& nBytes))’ to ‘bool’ smessage.cpp:3816: error: in argument to unary ! make: *** [obj/smessage.o] Error 1 make: *** Waiting for unfinished jobs....
|
To be decided...
|
|
|
JustBob
Member
Offline
Activity: 113
Merit: 10
|
|
August 05, 2015, 05:03:15 PM |
|
Still getting this Error with the latest build instructions upon the QT mingw32-make -f Makefile.Release command. ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from ..\deps\boost_1_55_0/boost/system/system_error.hpp:14:0, from ..\deps\boost_1_55_0/boost/thread/exceptions.hpp:22, from ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives. hpp:16, from ..\deps\boost_1_55_0/boost/thread/win32/basic_timed_mutex. hpp:14, from ..\deps\boost_1_55_0/boost/thread/win32/mutex.hpp:9, from ..\deps\boost_1_55_0/boost/thread/mutex.hpp:14, from src/allocators.h:10, from src\qt\walletmodel.h:6, from src\qt\bitcoin.cpp:9: ..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope: ..\deps\boost_1_55_0/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(); ^ ..\deps\boost_1_55_0/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(); ^ ..\deps\boost_1_55_0/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(); ^ Makefile.Release:12891: recipe for target 'build/bitcoin.o' failed mingw32-make: *** [build/bitcoin.o] Error 1
C:\bitcoin3>
Finally! Succes! It compiled! I had to re-apply the patch after I split it at line 180 and put the second half in the src/qt folder. For some reason the patch was only applied to the src/ folder files and not the src/qt files when it ran for the first time. Hate to go necro, but I'm experiencing the same issues here. Got a link to the patch file handy?
|
|
|
|
cinnamon_carter
Legendary
Offline
Activity: 1148
Merit: 1018
It's about time -- All merrit accepted !!!
|
|
August 06, 2015, 07:57:18 AM |
|
i think you are looking for this > https://bitcointalk.org/index.php?topic=149479.msg10051569#msg10051569Still getting this Error with the latest build instructions upon the QT mingw32-make -f Makefile.Release command. ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from ..\deps\boost_1_55_0/boost/system/system_error.hpp:14:0, from ..\deps\boost_1_55_0/boost/thread/exceptions.hpp:22, from ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives.
Got a link to the patch file handy?
|
Check out my coin Photon Merge Mine 5 other Blake 256 coins - 6x your hash power https://www.blakecoin.org/The obvious choice is not always the best choice. LOOK DEEPER - Look into the Blake 256 Family -- CC
|
|
|
Scaccomatt0
Legendary
Offline
Activity: 1120
Merit: 1000
https://cryptoworld.io
|
|
August 10, 2015, 05:24:56 PM |
|
Guys, I have a problem on building leveldb on winxp. From msys shell: TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a$ TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a g++ -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_WINDOWS -DLEVELDB_PLAT FORM_WINDOWS -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -O2 -DNDEBUG -c d b/builder.cc -o db/builder.o In file included from db/builder.cc:7: ./db/filename.h:10:20: stdint.h: No such file or directory In file included from db/builder.cc:7: ./db/filename.h:33: error: `uint64_t' has not been declared ./db/filename.h:33: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:38: error: `uint64_t' has not been declared ./db/filename.h:38: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:43: error: `uint64_t' has not been declared ./db/filename.h:43: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:49: error: `uint64_t' has not been declared ./db/filename.h:49: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:62: error: `uint64_t' has not been declared ./db/filename.h:62: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:74: error: `uint64_t' has not been declared ./db/filename.h:75: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:80: error: `uint64_t' has not been declared ./db/filename.h:80: error: ISO C++ forbids declaration of `descriptor_number' wi th no type In file included from ./db/dbformat.h:10, from db/builder.cc:8: ./include/leveldb/db.h:129: error: `uint64_t' has not been declared ./include/leveldb/db.h:129: error: ISO C++ forbids declaration of `sizes' with n o type In file included from ./db/dbformat.h:13, from db/builder.cc:8: ./include/leveldb/table_builder.h:71: error: `uint64_t' does not name a type ./include/leveldb/table_builder.h:75: error: `uint64_t' does not name a type In file included from ./db/dbformat.h:14, from db/builder.cc:8: ./util/coding.h:22: error: `uint32_t' has not been declared ./util/coding.h:22: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:23: error: `uint64_t' has not been declared ./util/coding.h:23: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:24: error: `uint32_t' has not been declared ./util/coding.h:24: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:25: error: `uint64_t' has not been declared ./util/coding.h:25: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:30: error: `uint32_t' has not been declared ./util/coding.h:30: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:31: error: `uint64_t' has not been declared ./util/coding.h:31: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:38: error: `uint32_t' has not been declared ./util/coding.h:38: error: ISO C++ forbids declaration of `v' with no type ./util/coding.h:39: error: `uint64_t' has not been declared ./util/coding.h:39: error: ISO C++ forbids declaration of `v' with no type ./util/coding.h:42: warning: `VarintLength' initialized and declared `extern' ./util/coding.h:42: error: `uint64_t' was not declared in this scope ./util/coding.h:46: error: `uint32_t' has not been declared ./util/coding.h:46: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:47: error: `uint64_t' has not been declared ./util/coding.h:47: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:52: error: `uint32_t' has not been declared ./util/coding.h:52: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:53: error: `uint64_t' has not been declared ./util/coding.h:53: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:58: error: `uint32_t' does not name a type ./util/coding.h:72: error: `uint64_t' does not name a type ./util/coding.h:88: error: `uint32_t' has not been declared ./util/coding.h:88: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:91: error: `uint32_t' has not been declared ./util/coding.h:91: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h: In function `const char* leveldb::GetVarint32Ptr(const char*, c onst char*, int*)': ./util/coding.h:93: error: `uint32_t' undeclared (first use this function) ./util/coding.h:93: error: (Each undeclared identifier is reported only once for each function it appears in.) ./util/coding.h:93: error: expected `;' before "result" ./util/coding.h:94: error: `result' undeclared (first use this function) In file included from ./db/dbformat.h:15, from db/builder.cc:8: ./util/logging.h: At global scope: ./util/logging.h:22: error: `uint64_t' has not been declared ./util/logging.h:22: error: ISO C++ forbids declaration of `num' with no type ./util/logging.h:29: warning: `NumberToString' initialized and declared `extern'
./util/logging.h:29: error: `uint64_t' was not declared in this scope ./util/logging.h:43: error: `uint64_t' has not been declared ./util/logging.h:43: error: ISO C++ forbids declaration of `val' with no type In file included from db/builder.cc:8: ./db/dbformat.h:63: error: `uint64_t' does not name a type ./db/dbformat.h:67: error: `SequenceNumber' does not name a type ./db/dbformat.h:72: error: `SequenceNumber' does not name a type ./db/dbformat.h:76: error: expected `,' or `...' before '&' token ./db/dbformat.h:77: error: ISO C++ forbids declaration of `SequenceNumber' with no type ./db/dbformat.h: In constructor `leveldb::ParsedInternalKey::ParsedInternalKey(c onst leveldb::Slice&, int)': ./db/dbformat.h:77: error: class `leveldb::ParsedInternalKey' does not have any field named `sequence' ./db/dbformat.h:77: error: `seq' undeclared (first use this function) ./db/dbformat.h:77: error: `t' undeclared (first use this function) ./db/dbformat.h: In function `leveldb::ValueType leveldb::ExtractValueType(const leveldb::Slice&)': ./db/dbformat.h:106: error: `uint64_t' undeclared (first use this function) ./db/dbformat.h:106: error: expected `;' before "num" ./db/dbformat.h:107: error: `num' undeclared (first use this function) ./db/dbformat.h: At global scope: ./db/dbformat.h:149: error: `SequenceNumber' has not been declared ./db/dbformat.h:149: error: ISO C++ forbids declaration of `s' with no type ./db/dbformat.h: In constructor `leveldb::InternalKey::InternalKey(const leveldb ::Slice&, int, leveldb::ValueType)': ./db/dbformat.h:150: error: no matching function for call to `leveldb::ParsedInt ernalKey::ParsedInternalKey(const leveldb::Slice&, int&, leveldb::ValueType&)' ./db/dbformat.h:70: note: candidates are: leveldb::ParsedInternalKey::ParsedInte rnalKey(const leveldb::ParsedInternalKey&) ./db/dbformat.h:77: note: leveldb::ParsedInternalKey::ParsedInte rnalKey(const leveldb::Slice&, int) ./db/dbformat.h:75: note: leveldb::ParsedInternalKey::ParsedInte rnalKey() ./db/dbformat.h: In function `bool leveldb::ParseInternalKey(const leveldb::Slic e&, leveldb::ParsedInternalKey*)': ./db/dbformat.h:180: error: `uint64_t' undeclared (first use this function) ./db/dbformat.h:180: error: expected `;' before "num" ./db/dbformat.h:181: error: `num' undeclared (first use this function) ./db/dbformat.h:182: error: 'struct leveldb::ParsedInternalKey' has no member na med 'sequence' ./db/dbformat.h: At global scope: ./db/dbformat.h:193: error: `SequenceNumber' has not been declared ./db/dbformat.h:193: error: ISO C++ forbids declaration of `sequence' with no ty pe In file included from ./db/table_cache.h:13, from db/builder.cc:9: ./include/leveldb/cache.h:82: error: `uint64_t' does not name a type In file included from ./db/table_cache.h:14, from db/builder.cc:9: ./include/leveldb/table.h:40: error: `uint64_t' has not been declared ./include/leveldb/table.h:41: error: ISO C++ forbids declaration of `file_size' with no type ./include/leveldb/table.h:56: error: `uint64_t' does not name a type In file included from db/builder.cc:9: ./db/table_cache.h:34: error: `uint64_t' has not been declared ./db/table_cache.h:35: error: `uint64_t' has not been declared ./db/table_cache.h:36: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:36: error: ISO C++ forbids declaration of `file_size' with no type ./db/table_cache.h:41: error: `uint64_t' has not been declared ./db/table_cache.h:42: error: `uint64_t' has not been declared ./db/table_cache.h:45: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:45: error: ISO C++ forbids declaration of `file_size' with no type ./db/table_cache.h:48: error: `uint64_t' has not been declared ./db/table_cache.h:48: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:56: error: `uint64_t' has not been declared ./db/table_cache.h:56: error: `uint64_t' has not been declared ./db/table_cache.h:56: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:56: error: ISO C++ forbids declaration of `file_size' with no type In file included from db/builder.cc:10: ./db/version_edit.h:20: error: `uint64_t' does not name a type ./db/version_edit.h:21: error: `uint64_t' does not name a type ./db/version_edit.h: In constructor `leveldb::FileMetaData::FileMetaData()': ./db/version_edit.h:25: error: class `leveldb::FileMetaData' does not have any f ield named `file_size' ./db/version_edit.h: At global scope: ./db/version_edit.h:39: error: `uint64_t' has not been declared ./db/version_edit.h:39: error: ISO C++ forbids declaration of `num' with no type
./db/version_edit.h:43: error: `uint64_t' has not been declared ./db/version_edit.h:43: error: ISO C++ forbids declaration of `num' with no type
./db/version_edit.h:47: error: `uint64_t' has not been declared ./db/version_edit.h:47: error: ISO C++ forbids declaration of `num' with no type
./db/version_edit.h:51: error: `SequenceNumber' has not been declared ./db/version_edit.h:51: error: ISO C++ forbids declaration of `seq' with no type
./db/version_edit.h:62: error: `uint64_t' has not been declared ./db/version_edit.h:63: error: `uint64_t' has not been declared ./db/version_edit.h:65: error: ISO C++ forbids declaration of `file' with no typ e ./db/version_edit.h:65: error: ISO C++ forbids declaration of `file_size' with n o type ./db/version_edit.h:75: error: `uint64_t' has not been declared ./db/version_edit.h:75: error: ISO C++ forbids declaration of `file' with no typ e ./db/version_edit.h:87: error: `uint64_t' was not declared in this scope ./db/version_edit.h:87: error: template argument 2 is invalid ./db/version_edit.h:87: error: template argument 1 is invalid ./db/version_edit.h:87: error: template argument 2 is invalid ./db/version_edit.h:87: error: template argument 3 is invalid ./db/version_edit.h:87: error: ISO C++ forbids declaration of `DeletedFileSet' w ith no type ./db/version_edit.h:90: error: `uint64_t' does not name a type ./db/version_edit.h:91: error: `uint64_t' does not name a type ./db/version_edit.h:92: error: `uint64_t' does not name a type ./db/version_edit.h:93: error: `SequenceNumber' does not name a type ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetLogNumber (int)': ./db/version_edit.h:41: error: `log_number_' undeclared (first use this function ) ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetPrevLogNu mber(int)': ./db/version_edit.h:45: error: `prev_log_number_' undeclared (first use this fun ction) ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetNextFile( int)': ./db/version_edit.h:49: error: `next_file_number_' undeclared (first use this fu nction) ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetLastSeque nce(int)': ./db/version_edit.h:53: error: `last_sequence_' undeclared (first use this funct ion) ./db/version_edit.h: In member function `void leveldb::VersionEdit::AddFile(int, int, int, const leveldb::InternalKey&, const leveldb::InternalKey&)': ./db/version_edit.h:67: error: 'struct leveldb::FileMetaData' has no member name d 'number' ./db/version_edit.h:68: error: 'struct leveldb::FileMetaData' has no member name d 'file_size' ./db/version_edit.h: In member function `void leveldb::VersionEdit::DeleteFile(i nt, int)': ./db/version_edit.h:76: error: request for member `insert' in `((leveldb::Versio nEdit*)this)->leveldb::VersionEdit::deleted_files_', which is of non-class type `int' In file included from db/builder.cc:12: ./include/leveldb/env.h: At global scope: ./include/leveldb/env.h:91: error: `uint64_t' has not been declared ./include/leveldb/env.h:91: error: ISO C++ forbids declaration of `file_size' wi th no type ./include/leveldb/env.h:143: error: `uint64_t' does not name a type ./include/leveldb/env.h:177: error: `uint64_t' has not been declared ./include/leveldb/env.h:177: error: ISO C++ forbids declaration of `n' with no t ype ./include/leveldb/env.h:200: error: `uint64_t' has not been declared ./include/leveldb/env.h:201: error: ISO C++ forbids declaration of `offset' with no type ./include/leveldb/env.h:299: error: `uint64_t' has not been declared ./include/leveldb/env.h:299: error: ISO C++ forbids declaration of `s' with no t ype ./include/leveldb/env.h:321: error: `uint64_t' does not name a type db/builder.cc: In function `leveldb::Status leveldb::BuildTable(const std::strin g&, leveldb::Env*, const leveldb::Options&, leveldb::TableCache*, leveldb::Itera tor*, leveldb::FileMetaData*)': db/builder.cc:24: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' db/builder.cc:27: error: 'struct leveldb::FileMetaData' has no member named 'num ber' db/builder.cc:47: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' db/builder.cc:47: error: 'class leveldb::TableBuilder' has no member named 'File Size' db/builder.cc:68: error: 'struct leveldb::FileMetaData' has no member named 'num ber' db/builder.cc:69: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' db/builder.cc:80: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' make: *** [db/builder.o] Error 1
I think the relevant error is: In file included from db/builder.cc:7: ./db/filename.h:10:20: stdint.h: No such file or directoryDo I need some special configuration? msys is in PATH configuration
|
|
|
|
nitrogenetics (OP)
|
|
August 10, 2015, 08:08:36 PM |
|
Can you post your gcc -v output?
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
old c coder
|
|
August 10, 2015, 08:30:11 PM |
|
Guys, I have a problem on building leveldb on winxp. From msys shell: TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a$ TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a g++ -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_WINDOWS -DLEVELDB_PLAT FORM_WINDOWS -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -O2 -DNDEBUG -c d b/builder.cc -o db/builder.o In file included from db/builder.cc:7: ./db/filename.h:10:20: stdint.h: No such file or directory In file included from db/builder.cc:7: ./db/filename.h:33: error: `uint64_t' has not been declared ./db/filename.h:33: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:38: error: `uint64_t' has not been declared ./db/filename.h:38: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:43: error: `uint64_t' has not been declared ./db/filename.h:43: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:49: error: `uint64_t' has not been declared ./db/filename.h:49: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:62: error: `uint64_t' has not been declared ./db/filename.h:62: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:74: error: `uint64_t' has not been declared ./db/filename.h:75: error: ISO C++ forbids declaration of `number' with no type ./db/filename.h:80: error: `uint64_t' has not been declared ./db/filename.h:80: error: ISO C++ forbids declaration of `descriptor_number' wi th no type In file included from ./db/dbformat.h:10, from db/builder.cc:8: ./include/leveldb/db.h:129: error: `uint64_t' has not been declared ./include/leveldb/db.h:129: error: ISO C++ forbids declaration of `sizes' with n o type In file included from ./db/dbformat.h:13, from db/builder.cc:8: ./include/leveldb/table_builder.h:71: error: `uint64_t' does not name a type ./include/leveldb/table_builder.h:75: error: `uint64_t' does not name a type In file included from ./db/dbformat.h:14, from db/builder.cc:8: ./util/coding.h:22: error: `uint32_t' has not been declared ./util/coding.h:22: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:23: error: `uint64_t' has not been declared ./util/coding.h:23: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:24: error: `uint32_t' has not been declared ./util/coding.h:24: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:25: error: `uint64_t' has not been declared ./util/coding.h:25: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:30: error: `uint32_t' has not been declared ./util/coding.h:30: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:31: error: `uint64_t' has not been declared ./util/coding.h:31: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:38: error: `uint32_t' has not been declared ./util/coding.h:38: error: ISO C++ forbids declaration of `v' with no type ./util/coding.h:39: error: `uint64_t' has not been declared ./util/coding.h:39: error: ISO C++ forbids declaration of `v' with no type ./util/coding.h:42: warning: `VarintLength' initialized and declared `extern' ./util/coding.h:42: error: `uint64_t' was not declared in this scope ./util/coding.h:46: error: `uint32_t' has not been declared ./util/coding.h:46: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:47: error: `uint64_t' has not been declared ./util/coding.h:47: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:52: error: `uint32_t' has not been declared ./util/coding.h:52: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:53: error: `uint64_t' has not been declared ./util/coding.h:53: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:58: error: `uint32_t' does not name a type ./util/coding.h:72: error: `uint64_t' does not name a type ./util/coding.h:88: error: `uint32_t' has not been declared ./util/coding.h:88: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h:91: error: `uint32_t' has not been declared ./util/coding.h:91: error: ISO C++ forbids declaration of `value' with no type ./util/coding.h: In function `const char* leveldb::GetVarint32Ptr(const char*, c onst char*, int*)': ./util/coding.h:93: error: `uint32_t' undeclared (first use this function) ./util/coding.h:93: error: (Each undeclared identifier is reported only once for each function it appears in.) ./util/coding.h:93: error: expected `;' before "result" ./util/coding.h:94: error: `result' undeclared (first use this function) In file included from ./db/dbformat.h:15, from db/builder.cc:8: ./util/logging.h: At global scope: ./util/logging.h:22: error: `uint64_t' has not been declared ./util/logging.h:22: error: ISO C++ forbids declaration of `num' with no type ./util/logging.h:29: warning: `NumberToString' initialized and declared `extern'
./util/logging.h:29: error: `uint64_t' was not declared in this scope ./util/logging.h:43: error: `uint64_t' has not been declared ./util/logging.h:43: error: ISO C++ forbids declaration of `val' with no type In file included from db/builder.cc:8: ./db/dbformat.h:63: error: `uint64_t' does not name a type ./db/dbformat.h:67: error: `SequenceNumber' does not name a type ./db/dbformat.h:72: error: `SequenceNumber' does not name a type ./db/dbformat.h:76: error: expected `,' or `...' before '&' token ./db/dbformat.h:77: error: ISO C++ forbids declaration of `SequenceNumber' with no type ./db/dbformat.h: In constructor `leveldb::ParsedInternalKey::ParsedInternalKey(c onst leveldb::Slice&, int)': ./db/dbformat.h:77: error: class `leveldb::ParsedInternalKey' does not have any field named `sequence' ./db/dbformat.h:77: error: `seq' undeclared (first use this function) ./db/dbformat.h:77: error: `t' undeclared (first use this function) ./db/dbformat.h: In function `leveldb::ValueType leveldb::ExtractValueType(const leveldb::Slice&)': ./db/dbformat.h:106: error: `uint64_t' undeclared (first use this function) ./db/dbformat.h:106: error: expected `;' before "num" ./db/dbformat.h:107: error: `num' undeclared (first use this function) ./db/dbformat.h: At global scope: ./db/dbformat.h:149: error: `SequenceNumber' has not been declared ./db/dbformat.h:149: error: ISO C++ forbids declaration of `s' with no type ./db/dbformat.h: In constructor `leveldb::InternalKey::InternalKey(const leveldb ::Slice&, int, leveldb::ValueType)': ./db/dbformat.h:150: error: no matching function for call to `leveldb::ParsedInt ernalKey::ParsedInternalKey(const leveldb::Slice&, int&, leveldb::ValueType&)' ./db/dbformat.h:70: note: candidates are: leveldb::ParsedInternalKey::ParsedInte rnalKey(const leveldb::ParsedInternalKey&) ./db/dbformat.h:77: note: leveldb::ParsedInternalKey::ParsedInte rnalKey(const leveldb::Slice&, int) ./db/dbformat.h:75: note: leveldb::ParsedInternalKey::ParsedInte rnalKey() ./db/dbformat.h: In function `bool leveldb::ParseInternalKey(const leveldb::Slic e&, leveldb::ParsedInternalKey*)': ./db/dbformat.h:180: error: `uint64_t' undeclared (first use this function) ./db/dbformat.h:180: error: expected `;' before "num" ./db/dbformat.h:181: error: `num' undeclared (first use this function) ./db/dbformat.h:182: error: 'struct leveldb::ParsedInternalKey' has no member na med 'sequence' ./db/dbformat.h: At global scope: ./db/dbformat.h:193: error: `SequenceNumber' has not been declared ./db/dbformat.h:193: error: ISO C++ forbids declaration of `sequence' with no ty pe In file included from ./db/table_cache.h:13, from db/builder.cc:9: ./include/leveldb/cache.h:82: error: `uint64_t' does not name a type In file included from ./db/table_cache.h:14, from db/builder.cc:9: ./include/leveldb/table.h:40: error: `uint64_t' has not been declared ./include/leveldb/table.h:41: error: ISO C++ forbids declaration of `file_size' with no type ./include/leveldb/table.h:56: error: `uint64_t' does not name a type In file included from db/builder.cc:9: ./db/table_cache.h:34: error: `uint64_t' has not been declared ./db/table_cache.h:35: error: `uint64_t' has not been declared ./db/table_cache.h:36: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:36: error: ISO C++ forbids declaration of `file_size' with no type ./db/table_cache.h:41: error: `uint64_t' has not been declared ./db/table_cache.h:42: error: `uint64_t' has not been declared ./db/table_cache.h:45: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:45: error: ISO C++ forbids declaration of `file_size' with no type ./db/table_cache.h:48: error: `uint64_t' has not been declared ./db/table_cache.h:48: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:56: error: `uint64_t' has not been declared ./db/table_cache.h:56: error: `uint64_t' has not been declared ./db/table_cache.h:56: error: ISO C++ forbids declaration of `file_number' with no type ./db/table_cache.h:56: error: ISO C++ forbids declaration of `file_size' with no type In file included from db/builder.cc:10: ./db/version_edit.h:20: error: `uint64_t' does not name a type ./db/version_edit.h:21: error: `uint64_t' does not name a type ./db/version_edit.h: In constructor `leveldb::FileMetaData::FileMetaData()': ./db/version_edit.h:25: error: class `leveldb::FileMetaData' does not have any f ield named `file_size' ./db/version_edit.h: At global scope: ./db/version_edit.h:39: error: `uint64_t' has not been declared ./db/version_edit.h:39: error: ISO C++ forbids declaration of `num' with no type
./db/version_edit.h:43: error: `uint64_t' has not been declared ./db/version_edit.h:43: error: ISO C++ forbids declaration of `num' with no type
./db/version_edit.h:47: error: `uint64_t' has not been declared ./db/version_edit.h:47: error: ISO C++ forbids declaration of `num' with no type
./db/version_edit.h:51: error: `SequenceNumber' has not been declared ./db/version_edit.h:51: error: ISO C++ forbids declaration of `seq' with no type
./db/version_edit.h:62: error: `uint64_t' has not been declared ./db/version_edit.h:63: error: `uint64_t' has not been declared ./db/version_edit.h:65: error: ISO C++ forbids declaration of `file' with no typ e ./db/version_edit.h:65: error: ISO C++ forbids declaration of `file_size' with n o type ./db/version_edit.h:75: error: `uint64_t' has not been declared ./db/version_edit.h:75: error: ISO C++ forbids declaration of `file' with no typ e ./db/version_edit.h:87: error: `uint64_t' was not declared in this scope ./db/version_edit.h:87: error: template argument 2 is invalid ./db/version_edit.h:87: error: template argument 1 is invalid ./db/version_edit.h:87: error: template argument 2 is invalid ./db/version_edit.h:87: error: template argument 3 is invalid ./db/version_edit.h:87: error: ISO C++ forbids declaration of `DeletedFileSet' w ith no type ./db/version_edit.h:90: error: `uint64_t' does not name a type ./db/version_edit.h:91: error: `uint64_t' does not name a type ./db/version_edit.h:92: error: `uint64_t' does not name a type ./db/version_edit.h:93: error: `SequenceNumber' does not name a type ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetLogNumber (int)': ./db/version_edit.h:41: error: `log_number_' undeclared (first use this function ) ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetPrevLogNu mber(int)': ./db/version_edit.h:45: error: `prev_log_number_' undeclared (first use this fun ction) ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetNextFile( int)': ./db/version_edit.h:49: error: `next_file_number_' undeclared (first use this fu nction) ./db/version_edit.h: In member function `void leveldb::VersionEdit::SetLastSeque nce(int)': ./db/version_edit.h:53: error: `last_sequence_' undeclared (first use this funct ion) ./db/version_edit.h: In member function `void leveldb::VersionEdit::AddFile(int, int, int, const leveldb::InternalKey&, const leveldb::InternalKey&)': ./db/version_edit.h:67: error: 'struct leveldb::FileMetaData' has no member name d 'number' ./db/version_edit.h:68: error: 'struct leveldb::FileMetaData' has no member name d 'file_size' ./db/version_edit.h: In member function `void leveldb::VersionEdit::DeleteFile(i nt, int)': ./db/version_edit.h:76: error: request for member `insert' in `((leveldb::Versio nEdit*)this)->leveldb::VersionEdit::deleted_files_', which is of non-class type `int' In file included from db/builder.cc:12: ./include/leveldb/env.h: At global scope: ./include/leveldb/env.h:91: error: `uint64_t' has not been declared ./include/leveldb/env.h:91: error: ISO C++ forbids declaration of `file_size' wi th no type ./include/leveldb/env.h:143: error: `uint64_t' does not name a type ./include/leveldb/env.h:177: error: `uint64_t' has not been declared ./include/leveldb/env.h:177: error: ISO C++ forbids declaration of `n' with no t ype ./include/leveldb/env.h:200: error: `uint64_t' has not been declared ./include/leveldb/env.h:201: error: ISO C++ forbids declaration of `offset' with no type ./include/leveldb/env.h:299: error: `uint64_t' has not been declared ./include/leveldb/env.h:299: error: ISO C++ forbids declaration of `s' with no t ype ./include/leveldb/env.h:321: error: `uint64_t' does not name a type db/builder.cc: In function `leveldb::Status leveldb::BuildTable(const std::strin g&, leveldb::Env*, const leveldb::Options&, leveldb::TableCache*, leveldb::Itera tor*, leveldb::FileMetaData*)': db/builder.cc:24: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' db/builder.cc:27: error: 'struct leveldb::FileMetaData' has no member named 'num ber' db/builder.cc:47: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' db/builder.cc:47: error: 'class leveldb::TableBuilder' has no member named 'File Size' db/builder.cc:68: error: 'struct leveldb::FileMetaData' has no member named 'num ber' db/builder.cc:69: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' db/builder.cc:80: error: 'struct leveldb::FileMetaData' has no member named 'fil e_size' make: *** [db/builder.o] Error 1
I think the relevant error is: In file included from db/builder.cc:7: ./db/filename.h:10:20: stdint.h: No such file or directoryDo I need some special configuration? msys is in PATH configuration Hello ? stdint.h is one of the many files that should be visible in a msys shell running on XP, if your 'mingw' installation went properly? It is in the .../MinGW/include directory. Then when you have that working, g++ may see a uint64_t type. And then you may be able to build leveldb, which you only have to do once. I see that it is trying to compile leveldb in NDEBUG. Now if you are "doing" bitcoin, the "big wigs" want their asserts, so they really favor debug mode. Though I much prefer an orderly shutdown to an abort() on a logical test failure outside of an assert() See my message from Tue Jun 3 19:07:01 2014, in http://lists.linuxfoundation.org/pipermail/bitcoin-dev/ Never did get an answer to my question Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
|