On Tue, Aug 16, 2011 at 09:58:06AM -0700, D Robson wrote:
> Hi all,
> I have managed compiling bitcoind with gmake, but it is failing at the 
> linking stage. Any assistance is greatly appreciated. 
> # gmake -f Makefile2 bitcoind
> g++ -O2 -fstack-protector -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ 
> -D__WXGTK__ -DNOPCH -DUSE_SSL -D__BSD__ -I"/home/root2/bitcoind/deps/include" 
> -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" 
> -I"/usr/local/include/db47" -I"/usr/local/include" -L"/usr/local/lib/db47" 
> -L"/home/root2/bitcoind/deps/lib" -L"/usr/lib" -o bitcoind obj/nogui/util.o 
> obj/nogui/script.o obj/nogui/db.o obj/nogui/net.o obj/nogui/irc.o 
> obj/nogui/main.o obj/nogui/rpc.o obj/nogui/init.o cryptopp/obj/sha.o 
> cryptopp/obj/cpu.o obj/sha256.o -dead-strip -l boost_system-mt -l 
> boost_filesystem-mt -l boost_program_options-mt -l boost_thread-mt -l db_cxx 
> -l ssl -l crypto -Wl,-Bdynamic -l z -l pthread
> /usr/bin/ld: cannot find -lboost_system-mt
> collect2: ld returned 1 exit status
> gmake: *** [bitcoind] Error 1
> #
> 
> 
> See this thread for more details:
> 
> https://bitcointalk.org/index.php?topic=35246.0
> 
> Even if you don't know exactly whats going wrong, could you tell me how to 
> get more info from ld?
> 
> Thanks
> 
> 

I've made a port for bitcoin some time ago (but didn't submit it because
it seems rather pointless without OpenCL). The Makefile needs some
patching to make linking succeed on OpenBSD. Feel free to start off from
my port and update to a newer version.

Currently, only the CLI is functional because the GUI requires wxWidgets
2.9.

Oh, and here's also a port of miniupnpc to allow for use of UPnP for
peer discovery.

Attachment: bitcoin.tgz
Description: application/tar-gz

Attachment: miniupnpc.tgz
Description: application/tar-gz

Reply via email to