File tree Expand file tree Collapse file tree 6 files changed +718
-655
lines changed
Expand file tree Collapse file tree 6 files changed +718
-655
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,8 @@ class CBigNum : public BIGNUM
401401
402402 CBigNum& operator >>=(unsigned int shift)
403403 {
404- // Note: BN_rshift segfaults on 64-bit ubuntu 9.10 if 2^shift is greater than the number
404+ // Note: BN_rshift segfaults on 64-bit ubuntu 9.10 if 2^shift is greater than the number,
405+ // tested OK on 64-bit ubuntu 10.4
405406 if (!BN_rshift (this , this , shift))
406407 throw bignum_error (" CBigNum:operator>>= : BN_rshift failed" );
407408 return *this ;
Original file line number Diff line number Diff line change 33# file license.txt or http://www.opensource.org/licenses/mit-license.php.
44
55
6- WXLIBS=$(shell wx-config --debug=yes --libs --static)
7- WXFLAGS=$(shell wx-config --debug=yes --cppflags)
6+ INCLUDEPATHS= \
7+ -I"/usr/include" \
8+ -I"/usr/local/include/wx-2.9" \
9+ -I"/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9"
810
911LIBPATHS= \
12+ -L"/usr/lib" \
1013 -L"/usr/local/lib"
1114
15+ WXLIBS= \
16+ -Wl,-Bstatic \
17+ -l wx_gtk2ud-2.9 \
18+ -Wl,-Bdynamic \
19+ -l gtk-x11-2.0 -l SM
20+
1221LIBS= \
1322 -Wl,-Bstatic \
1423 -l boost_system \
@@ -22,7 +31,7 @@ LIBS= \
2231
2332DEFS=-D__WXGTK__ -DNOPCH
2433DEBUGFLAGS=-g -D__WXDEBUG__
25- CFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS)
34+ CFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
2635HEADERS=headers.h strlcpy.h serialize.h uint256.h util.h key.h bignum.h base58.h \
2736 script.h db.h net.h irc.h main.h rpc.h uibase.h ui.h noui.h init.h
2837
@@ -43,10 +52,10 @@ all: bitcoin
4352
4453
4554headers.h.gch: headers.h $(HEADERS)
46- g++ -c $(CFLAGS) $(WXFLAGS) -DGUI -o $@ $<
55+ g++ -c $(CFLAGS) -DGUI -o $@ $<
4756
4857obj/%.o: %.cpp $(HEADERS) headers.h.gch
49- g++ -c $(CFLAGS) $(WXFLAGS) -DGUI -o $@ $<
58+ g++ -c $(CFLAGS) -DGUI -o $@ $<
5059
5160cryptopp/obj/%.o: cryptopp/%.cpp
5261 g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_SSE2 -o $@ $<
You can’t perform that action at this time.
0 commit comments