On Jan 9, 1:16 pm, Bill Hart <goodwillh...@googlemail.com> wrote:
> That's interesting. Can you give us a selection of some of the symbols
> it thinks are already defined?

All the dup symbols seem to be from the standard library Runtime, as
if Microsoft's Runtime was statically linked into mpir.lib when I
built.  But I built MPIR with the "Multi-threaded Debug DLL (/MDd)"
setting.  I didn't build any of the dll projects.  I didn't built any
of the assembly projects that require YASM because I wanted to get the
C version working first.

=Shawn yarbrough


------ Build started: Project: link, Configuration: Debug Win32 ------
Linking...
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.
"/OUT:C:\Users\Shawn\src\link\Debug\link.exe" /INCREMENTAL:NO /
MANIFEST "/MANIFESTFILE:Debug\link.exe.intermediate.manifest" "/
MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:C:\Users
\Shawn\src\link\Debug\link.pdb" /DYNAMICBASE /NXCOMPAT /MACHINE:X86 C:
\Users\Shawn\src\channel\msvc2008\Debug\channel.lib C:\Users\Shawn\src
\mpir-1.3.0\build.vc9\lib\Win32\Debug\mpirxx.lib C:\Users\Shawn\src
\mpir-1.3.0\build.vc9\lib\Win32\Debug\mpir.lib kernel32.lib user32.lib
gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\Debug\link.obj"
link.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/
INCREMENTAL:NO' specification
mpirxx.lib(osmpf.obj) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(char const *)" (??
0?$basic_str...@du?$char_traits@d...@std@@V?
$alloca...@d@2@@std@@q...@pbd@Z) already defined in MSVCPRTD.LIB
(MSVCP90D.dll)
mpirxx.lib(osmpf.obj) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(void)" (??1?
$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@q...@xz)
already defined in MSVCPRTD.LIB(MSVCP90D.dll)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (??0?$basic_str...@du?
$char_tra...@d@std@@v?$alloca...@d@2@@std@@q...@abv01@@Z) already
defined in mpirxx.lib(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: char const *
__thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::c_str(void)const " (?c_...@?$basic_string@DU?
$char_tra...@d@std@@v?$alloca...@d@2@@std@@QBEPBDXZ) already defined
in mpirxx.lib(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: unsigned int
__thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::size(void)const " (?s...@?$basic_string@DU?
$char_tra...@d@std@@v?$alloca...@d@2@@std@@QBEIXZ) already defined in
mpirxx.lib(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "protected: char *
__thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Myptr(void)" (?_my...@?$basic_string@DU?
$char_tra...@d@std@@v?$alloca...@d@2@@std@@IAEPADXZ) already defined
in mpirxx.lib(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: __thiscall
std::_Container_base_secure::~_Container_base_secure(void)" (??
1_container_base_sec...@std@@q...@xz) already defined in mpirxx.lib
(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::erase(unsigned
int,unsigned int)" (?er...@?$basic_string@du?$char_tra...@d@std@@V?
$alloca...@d@2@@std@@qaeaa...@ii@Z) already defined in mpirxx.lib
(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: class
std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?
_dec...@facet@loc...@std@@qaepav...@xz) already defined in mpirxx.lib
(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: void __thiscall
std::_Container_base_secure::_Orphan_all(void)const " (?
_orphan_...@_container_base_secure@std@@QBEXXZ) already defined in
mpirxx.lib(osmpf.obj)
MSVCPRTD.LIB(MSVCP90D.dll) : error LNK2005: "public: __thiscall
std::_Container_base_secure::_Container_base_secure(void)" (??
0_container_base_sec...@std@@q...@xz) already defined in mpirxx.lib
(osmpf.obj)
mpirxx.lib(osmpf.obj) : error LNK2001: unresolved external symbol
"private: static int std::locale::id::_Id_cnt" (?
_id_...@id@loc...@std@@0HA)
C:\Users\Shawn\src\link\Debug\link.exe : fatal error LNK1120: 1
unresolved externals
Build log was saved at "file://c:\Users\Shawn\src\link\link\Debug
\BuildLog.htm"
link - 13 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-de...@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.


Reply via email to