Created
May 14, 2012 17:50
-
-
Save ashleyconnor/2695320 to your computer and use it in GitHub Desktop.
Bitcoin compiler errors OSX 10.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[src (master)]$ make -f makefile.osx USE_IPV6=1 | |
../share/genbuild.sh obj/build.h | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/version.o version.cpp | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/checkpoints.o checkpoints.cpp | |
In file included from main.h:10, | |
from checkpoints.cpp:10: | |
net.h: In member function ‘void CNode::EndMessage()’: | |
net.h:354: warning: invalid access to non-static data member ‘CMessageHeader::nMessageSize’ of NULL object | |
net.h:354: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:360: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:360: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:361: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:361: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/netbase.o netbase.cpp | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/addrman.o addrman.cpp | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/crypter.o crypter.cpp | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/key.o key.cpp | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/db.o db.cpp | |
In file included from main.h:10, | |
from db.h:8, | |
from db.cpp:6: | |
net.h: In member function ‘void CNode::EndMessage()’: | |
net.h:354: warning: invalid access to non-static data member ‘CMessageHeader::nMessageSize’ of NULL object | |
net.h:354: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:360: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:360: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:361: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:361: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/init.o init.cpp | |
In file included from main.h:10, | |
from db.h:8, | |
from init.cpp:5: | |
net.h: In member function ‘void CNode::EndMessage()’: | |
net.h:354: warning: invalid access to non-static data member ‘CMessageHeader::nMessageSize’ of NULL object | |
net.h:354: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:360: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:360: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:361: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:361: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/irc.o irc.cpp | |
In file included from irc.cpp:7: | |
net.h: In member function ‘void CNode::EndMessage()’: | |
net.h:354: warning: invalid access to non-static data member ‘CMessageHeader::nMessageSize’ of NULL object | |
net.h:354: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:360: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:360: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
net.h:361: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object | |
net.h:361: warning: (perhaps the ‘offsetof’ macro was used incorrectly) | |
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src" -I"/Users/ashleyconnor/Development/bitcoin/bitcoin/src"/obj -I"/usr/local/Cellar/berkeley-db4/4.8.30/include" -I"/usr/local/include/" -MMD -o obj/keystore.o keystore.cpp | |
In file included from keystore.h:9, | |
from keystore.cpp:6: | |
sync.h: In member function ‘void CSemaphore::wait()’: | |
sync.h:140: error: ‘Sleep’ was not declared in this scope | |
make: *** [obj/keystore.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment