pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libtorrent/rtorrent patch for testing



On Wed, Sep 11, 2013 at 07:08:42PM +0200, Joerg Sonnenberger wrote:
> On Wed, Sep 11, 2013 at 04:47:30PM +0100, Matthias Scheler wrote:
> > "rtorrent" doesn't build under Mac OS X Lion with 4.2.1 LVM:
> 
> *sigh* ancient crappy libstdc++. Try again with the attached patch,
> please.

It now fails somewhere else:

g++ -DHAVE_CONFIG_H -I. -I.. -I. -I..  -isystem /usr/include -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/gettext  -pipe -O2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/gettext -march=i486 -g -DDEBUG 
-D_THREAD_SAFE  -D_REENTRANT  -I/usr/pkg/include/sigc++-2.0 
-I/usr/pkg/lib/sigc++-2.0/include  -I/usr/pkg/include  -I/usr/pkg/include  -MT 
command_local.o -MD -MP -MF .deps/command_local.Tpo -c -o command_local.o 
command_local.cc
command_dynamic.cc: In function 'torrent::Object 
system_method_insert_object(const std::vector<torrent::Object, 
std::allocator<torrent::Object> >&, int)':
command_dynamic.cc:170: error: expected `)' before ';' token
command_dynamic.cc:173: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:173: error: expected `;' before ')' token
command_dynamic.cc:178: error: expected `)' before ';' token
command_dynamic.cc:180: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:180: error: expected `;' before ')' token
command_dynamic.cc:201: error: expected `)' before ';' token
command_dynamic.cc:203: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:203: error: expected `;' before ')' token
command_dynamic.cc:208: error: expected `)' before ';' token
command_dynamic.cc:210: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:210: error: expected `;' before ')' token
command_dynamic.cc:215: error: expected `)' before ';' token
command_dynamic.cc:217: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:217: error: expected `;' before ')' token
command_dynamic.cc: In function 'void initialize_command_dynamic()':
command_dynamic.cc:443: error: expected `)' before ';' token
command_dynamic.cc:443: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:443: error: expected `;' before ')' token
command_dynamic.cc:444: error: expected `)' before ';' token
command_dynamic.cc:444: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:444: error: expected `;' before ')' token
command_dynamic.cc:446: error: expected `)' before ';' token
command_dynamic.cc:446: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:446: error: expected `;' before ')' token
command_dynamic.cc:447: error: expected `)' before ';' token
command_dynamic.cc:447: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:447: error: expected `;' before ')' token
command_dynamic.cc:448: error: expected `)' before ';' token
command_dynamic.cc:448: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:448: error: expected `;' before ')' token
command_dynamic.cc:451: error: expected `)' before ';' token
command_dynamic.cc:451: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:451: error: expected `;' before ')' token
command_dynamic.cc:452: error: expected `)' before ';' token
command_dynamic.cc:452: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:452: error: expected `;' before ')' token
command_dynamic.cc:453: error: expected `)' before ';' token
command_dynamic.cc:453: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:453: error: expected `;' before ')' token
command_dynamic.cc:455: error: expected `)' before ';' token
command_dynamic.cc:455: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:455: error: expected `;' before ')' token
command_dynamic.cc:457: error: expected `)' before ';' token
command_dynamic.cc:457: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:457: error: expected `;' before ')' token
command_dynamic.cc:459: error: expected `)' before ';' token
command_dynamic.cc:459: error: expected `;' before ')' token
command_dynamic.cc:462: error: expected `)' before ';' token
command_dynamic.cc:462: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:462: error: expected `;' before ')' token
command_dynamic.cc:463: error: expected `)' before ';' token
command_dynamic.cc:463: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:463: error: expected `;' before ')' token
command_dynamic.cc:464: error: expected `)' before ';' token
command_dynamic.cc:464: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:464: error: expected `;' before ')' token
command_dynamic.cc:466: error: expected `)' before ';' token
command_dynamic.cc:466: error: right-hand operand of comma cannot resolve 
address of overloaded function
command_dynamic.cc:466: error: expected `;' before ')' token
command_dynam

This is the offending line:

       STD_BIND(&rpc::object_storage::call_function_str, 
control->object_storage(),
                 rawKey, STD_PLACEHOLDERS::_1, STD_PLACEHOLDERS::_2),
       &rpc::command_base_call<rpc::target_type>,
       cmd_flags, NULL, NULL);

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index