Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212824 - net-libs/libtorrent-0.12 fails to build with gcc-4.3
Summary: net-libs/libtorrent-0.12 fails to build with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Timothy Redaelli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-03-09 14:51 UTC by Philipp
Modified: 2008-04-27 12:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for missing includes (libtorrent-gcc43.patch,2.79 KB, patch)
2008-03-09 14:52 UTC, Philipp
Details | Diff
One more missing include fixed (libtorrent-gcc43-v2.patch,3.21 KB, patch)
2008-03-09 15:19 UTC, Philipp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2008-03-09 14:51:57 UTC
net-libs/libtorrent misses some includes that are required by gcc-4.3.
I have filed a bug report upstream.
http://libtorrent.rakshasa.no/ticket/1266
Comment 1 Philipp 2008-03-09 14:52:24 UTC
Created attachment 145650 [details, diff]
patch for missing includes
Comment 2 Philipp 2008-03-09 15:19:34 UTC
Created attachment 145651 [details, diff]
One more missing include fixed

The previous patch compiles libtorrent fine but fails when building rtorrent because one additional include was missing.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-21 14:33:26 UTC
I've fixed it with a patch coming from Debian, which is basically identical. Thanks for reporting.
Comment 4 Philipp 2008-04-22 14:11:05 UTC
#include <string> is still missing in tracker_list.h.
See my second attachment.
This bug only triggers if you try to compile rtorrent against libtorrent.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-27 12:53:58 UTC
Sorry missed that, fixed now.