|
Boost : |
From: berserker_r (berserker_r_at_[hidden])
Date: 2006-11-23 08:42:46
Christopher Kohlhoff wrote:
> Well, yesterday I was able to reproduce the problem exactly as
> you described using the performance/server test program. That
> problem no long occurs for me using the latest version of asio
> in CVS.
I'm trying the CVS version of boost (using asio from there) with VC7.1 but
I got a multiple definition link error:
stdafx.obj : error LNK2005: "struct arg<1>::arg<1> &
boost::asio::placeholders::`anonymous namespace'::error"
(?error@?A0x14d8013b_at_placeholders@asio_at_boost@@3AAU?$arg@$00_at_4@A) already
defined in server.obj
Debug/HttpServer.exe : fatal error LNK1169: one or more multiply defined
symbols found
void server::accept_handler(const boost::system::error_code &e)
{
}
void server::accept()
{
m_acceptor.async_accept(m_connection->getSocket(),
boost::bind(&server::accept_handler, this,
boost::asio::placeholders::error));
}
Am I missing anything?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk