Bug 1735

Summary: bittorrent example is not working
Product: dce Reporter: Hajime Tazaki <tazaki>
Component: otherAssignee: Hajime Tazaki <tazaki>
Status: CONFIRMED ---    
Severity: normal CC: ns-bugs
Priority: P2    
Version: unspecified   
Hardware: All   
OS: All   

Description Hajime Tazaki 2013-07-17 20:52:52 EDT
Reported by Kevin Bocksrocker
--

 I built the DCE using bake and the configuration dce-linux-1.0 as described in the online manual, built opentracker and libtorrent using the instructions provided in the README file - I tried it with both the newest 0.16.10 and the 0.16.3 mentioned in the README - and ran it with "./waf --run dce-bt1".

After fixing a small problem regarding the missing symbol __pthread_key_create by adding an alias from pthread_key_create, I now get the error message "fcntl not implemented on pipe", file=../model/pipe-fd.cc, line=388 from the NS3 part of DCE (gdb stacktrace attached). I am assuming that at this point DCE finished replacing the normal libc with its own implementation and fails with an unsupported NS3 simulator operation as ASIOs select/pipe based polling is trying to start up (as epoll/eventfd is disabled at compile time).

As the documentation on DCE is yet quite sparse I was hoping that you can provide me with additional information about the environment in which you got libtorrent to run so I am able to replicate it.
My system consists of an uptodate Arch Linux installation (GCC 4.8.1, GLibc 2.17 and Boost 1.53.0) but I also failed to get it running on Ubuntu 12.04 and 13.04.