Ticket #14447 (closed defect: fixed)
libtorrent does not build on OSX 10.4
| Reported by: | dguido@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | gardnermj@… | |
| Port: |
Description
libtorrent and the libtorrent-devel branch won't build on my 10.4 box. I get the following error:
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../..
-I/opt/local/include -O2 -DNDEBUG -fvisibility=hidden -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -MT chunk_list.lo -MD -MP -MF .deps/chunk_list.Tpo -c chunk_list.cc -fno-common -DPIC -o .libs/chunk_list.o ../../rak/functional.h: In member function `Ret rak::mem_fun1<Object, Ret, Arg1>::operator()(Arg1) [with Object = torrent::DownloadWrapper, Ret = void, Arg1 = const std::string&]': chunk_list.cc:295: instantiated from here ../../rak/functional.h:524: error: return-statement with a value, in function returning 'void' make[3]: *** [chunk_list.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

