Boost logo

Boost :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-01-08 23:19:01


Hi,
When I link multiple files that have included zip_iterator.hpp I get
the following link error in MSVC 8.0.

...found 16 targets...
...updating 3 targets...
msvc.link ..\bin\examples\msvc-8.0\release\test.exe
..\bin\examples\msvc-8.0\release\test.rsp
test2.obj : error LNK2005: "bool __cdecl
boost::detail::tuple_impl_specific::tuple_equal(struct
boost::tuples::null_type,struct boost::tuples::null_type)"
(?tuple_equal_at_tuple_impl_specific_at_detail@boost@@YA_NUnull_type_at_tuples@3_at_0@Z)
already defined in test1.obj
..\bin\examples\msvc-8.0\release\test.exe : fatal error LNK1169: one
or more multiply defined symbols found

    call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" > nul
link /NOLOGO /subsystem:console
/out:"..\bin\examples\msvc-8.0\release\test.exe" /INCREMENTAL:NO
@"..\bin\examples\msvc-8.0\release\test.rsp"

...failed msvc.link ..\bin\examples\msvc-8.0\release\test.exe
..\bin\examples\msvc-8.0\release\test.rsp...
...removing ..\bin\examples\msvc-8.0\release\test.rsp
...failed updating 2 targets...
...updated 1 target...

I have attached the two files I am compiling and my Jamfile.

Thanks,
Chris






Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk