Problems with GALIB and MSVC++ 6.0
Akhauri Prakash Kumar
AUK at IPA.FhG.de
Thu Aug 31 10:44:53 EDT 2000
Dear Sirs,
just an extract after running the link exe
Galib alone functions without any problems I can compile I can run every
thing
but I ma using some six other libraries to solve my particular problem and
when I link I am facing these problems
duplicate definitions etc.
just an extract
please don't mind the language
Best Regards
akhauri
Linker-Vorgang läuft...
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::basic_ifstream<char,struct std::char_traits<char> >::`vbase
destructor'(void)"
(??_D?$basic_ifstream at DU?$char_traits at D@std@@@std@@QAEXXZ) bereits in
library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_filebuf<char,struct std::char_traits<char>
>::~basic_filebuf<char,struct std::char_traits<char> >(void)"
(??1?$basic_filebuf at DU?$char_traits at D@std@@@std@@UAE at XZ) bereit
s in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_istream<char,struct std::char_traits<char>
>::~basic_istream<char,struct std::char_traits<char> >(void)"
(??1?$basic_istream at DU?$char_traits at D@std@@@std@@UAE at XZ) bereit
s in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct
std::char_traits<char> >(void)"
(??1?$basic_ios at DU?$char_traits at D@std@@@std@@UAE at XZ) bereits in library
.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_streambuf<char,struct std::char_traits<char>
>::~basic_streambuf<char,struct std::char_traits<char> >(void)"
(??1?$basic_streambuf at DU?$char_traits at D@std@@@std@@UAE at XZ)
bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::locale::~locale(void)" (??1locale at std@@QAE at XZ) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Tidy(bool)"
(?_Tidy@?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@AAEX_N@
Z) bereit
s in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::operator<<(short)"
(??6?$basic_ostream at DU?$char_traits at D@std@@@std
@@QAEAAV01 at F@Z) bereits in library.lib(GA2DBinStrGenome.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: void __thiscall
std::basic_filebuf<char,struct std::char_traits<char> >::_Init(struct _iobuf
*,enum std::basic_filebuf<char,struct std::char_traits<char> >::_Initfl)"
(?_Init@?$basic_filebuf at DU?$
char_traits at D@std@@@std@@IAEXPAU_iobuf@@W4_Initfl at 12@@Z) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)"
(?setstate@?$basic_ios at DU?$char_traits at D@std@@@std@@QAEXH_N at Z) bereits in
library.lib(GAParameter.obj) defini
ert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall
std::basic_filebuf<char,struct std::char_traits<char> >::open(char const
*,int)" (?open@?$basic_filebuf at DU?$char_traits at D@s
td@@@std@@QAEPAV12 at PBDH@Z) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_filebuf<char,struct std::char_traits<char>
>::basic_filebuf<char,struct std::char_traits<char> >(struct _iobuf *)"
(??0?$basic_filebuf at DU?$char_traits at D@std@@@std@@QAE at PAU_iobu
f@@@Z) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: void __thiscall
std::basic_ios<char,struct std::char_traits<char> >::init(class
std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
(?init@?$basic_ios at DU?$char_traits at D@std@@@std@@
IAEXPAV?$basic_streambuf at DU?$char_traits at D@std@@@2 at _N@Z) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: __thiscall
std::ios_base::ios_base(void)" (??0ios_base at std@@IAE at XZ) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,char const *)" (??6std@@YAAAV?$basic_ostream at DU?$char_
traits at D@std@@@0 at AAV10@PBD at Z) bereits in library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)"
(??6?$basic_ostream at DU?$char_traits at D@std@@@std@@
QAEAAV01 at H@Z) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::operator<<(double)"
(??6?$basic_ostream at DU?$char_traits at D@std@@@st
d@@QAEAAV01 at N@Z) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf<char,struct std::char_traits<char> >::_Init(void)"
(?_Init@?$basic_streambuf at DU?$char_traits at D@std@@@std@@IAEXXZ) bereits in
library.lib(GAParameter.obj) defi
niert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit at std@@QAE at XZ) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::locale::facet::_Incref(void)" (?_Incref at facet@locale at std@@QAEXXZ)
bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(void)" (??0_Lockit at std@@QAE at XZ) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::~basic_ostream<char,struct std::char_traits<char> >(void)"
(??1?$basic_ostream at DU?$char_traits at D@std@@@std@@UAE at XZ) bereit
s in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall
std::basic_filebuf<char,struct std::char_traits<char> >::close(void)"
(?close@?$basic_filebuf at DU?$char_traits at D@std@@@std@@
QAEPAV12 at XZ) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_istream<char,struct std::char_traits<char>
>::basic_istream<char,struct std::char_traits<char> >(class
basic_istream<char,struct std::char_traits<char> >::basic_streambuf<char,
struct std::char_traits<char> > *,bool)"
(??0?$basic_istream at DU?$char_traits at D@std@@@std@@QAE at PAV?$basic_streambuf at DU
?$char_traits at D@std@@@1 at _N@Z) bereits in library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: __thiscall
std::basic_streambuf<char,struct std::char_traits<char>
>::basic_streambuf<char,struct std::char_traits<char> >(void)"
(??0?$basic_streambuf at DU?$char_traits at D@std@@@std@@IAE at XZ) bereit
s in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::basic_ostream<char,struct std::char_traits<char> >(class
basic_ostream<char,struct std::char_traits<char> >::basic_streambuf<char,
struct std::char_traits<char> > *,bool,bool)"
(??0?$basic_ostream at DU?$char_traits at D@std@@@std@@QAE at PAV?$basic_streambuf at DU
?$char_traits at D@std@@@1 at _N1@Z) bereits in library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: void __thiscall
std::basic_filebuf<char,struct std::char_traits<char> >::_Initcvt(void)"
(?_Initcvt@?$basic_filebuf at DU?$char_traits at D@std@@@std@@IAEXXZ) bereits in
library.lib(GAParameter.obj) de
finiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ofstream<char,struct std::char_traits<char>
>::~basic_ofstream<char,struct std::char_traits<char> >(void)"
(??1?$basic_ofstream at DU?$char_traits at D@std@@@std@@UAE at XZ) ber
eits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,char)" (??6std@@YAAAV?$basic_ostream at DU?$char_traits at D
@std@@@0 at AAV10@D at Z) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned
int)" (??6?$basic_ostream at DU?$char_traits at D@st
d@@@std@@QAEAAV01 at I@Z) bereits in library.lib(GAStatistics.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::basic_ios<char,struct std::char_traits<char> >::clear(int,bool)"
(?clear@?$basic_ios at DU?$char_traits at D@std@@@std@@QAEXH_N at Z) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::locale::locale(void)" (??0locale at std@@QAE at XZ) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: __thiscall
std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct
std::char_traits<char> >(void)"
(??0?$basic_ios at DU?$char_traits at D@std@@@std@@IAE at XZ) bereits in
library.lib(G
AParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::basic_ofstream<char,struct std::char_traits<char> >::`vbase
destructor'(void)"
(??_D?$basic_ofstream at DU?$char_traits at D@std@@@std@@QAEXXZ) bereits in
library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class std::locale::facet
* __thiscall std::locale::facet::_Decref(void)"
(?_Decref at facet@locale at std@@QAEPAV123 at XZ) bereits in
library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ifstream<char,struct std::char_traits<char>
>::~basic_ifstream<char,struct std::char_traits<char> >(void)"
(??1?$basic_ifstream at DU?$char_traits at D@std@@@std@@UAE at XZ) ber
eits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.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
basic_string<char,str
uct std::char_traits<char>,class std::allocator<char> >::allocator<char>
const &)"
(??0?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at ABV?$al
locator at D@1@@Z) bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class std::locale &
__thiscall std::locale::operator=(class std::locale const &)"
(??4locale at std@@QAEAAV01 at ABV01@@Z) bereits in library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::locale::locale(class locale::locale const &)"
(??0locale at std@@QAE at ABV01@@Z) bereits in library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class std::locale
__thiscall std::basic_streambuf<char,struct std::char_traits<char>
>::getloc(void)"
(?getloc@?$basic_streambuf at DU?$char_traits at D@std@@@std@@QAE?AVlocale at 2@XZ)
bereits in library.l
ib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::codecvt_base::~codecvt_base(void)" (??1codecvt_base at std@@UAE at XZ)
bereits in library.lib(GAParameter.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::codecvt<char,char,int>::~codecvt<char,char,int>(void)"
(??1?$codecvt at DDH@std@@UAE at XZ) bereits in library.lib(GAParameter.obj)
definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned
long)" (??6?$basic_ostream at DU?$char_traits at D@s
td@@@std@@QAEAAV01 at K@Z) bereits in library.lib(GAStatistics.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_ofstream<char,struct std::char_traits<char>
>::basic_ofstream<char,struct std::char_traits<char> >(char const *,int)"
(??0?$basic_ofstream at DU?$char_traits at D@std@@@std@@QAE at PBDH
@Z) bereits in library.lib(GAParameter.obj) definiert
libcpd.lib(ios.obj) : error LNK2005: "public: void __thiscall
std::ios_base::clear(int,bool)" (?clear at ios_base@std@@QAEXH_N at Z) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(ios.obj) : error LNK2005: "public: virtual __thiscall
std::ios_base::~ios_base(void)" (??1ios_base at std@@UAE at XZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(ios.obj) : error LNK2005: "protected: void __thiscall
std::ios_base::_Addstd(void)" (?_Addstd at ios_base@std@@IAEXXZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(ios.obj) : error LNK2005: "protected: void __thiscall
std::ios_base::_Init(void)" (?_Init at ios_base@std@@IAEXXZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(locale0.obj) : error LNK2005: "public: class std::locale::facet
const * __thiscall std::locale::_Getfacet(unsigned int,bool)const "
(?_Getfacet at locale@std@@QBEPBVfacet at 12@I_N at Z) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(locale0.obj) : error LNK2005: "public: bool __thiscall
std::locale::_Iscloc(void)const " (?_Iscloc at locale@std@@QBE_NXZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(locale0.obj) : error LNK2005: "private: static class
std::locale::_Locimp * __cdecl std::locale::_Init(void)"
(?_Init at locale@std@@CAPAV_Locimp at 12@XZ) bereits in msvcprt.lib(MSVCP60.dll)
definiert
libcpd.lib(locale.obj) : error LNK2005: "public: class std::locale &
__thiscall std::locale::_Addfac(class std::locale::facet *,unsigned
int,unsigned int)" (?_Addfac at locale@std@@QAEAAV12 at PAVfacet@12 at II@Z) bereits
in msvcprt.lib(MSVCP60.dll) definier
t
libcpd.lib(locale.obj) : error LNK2005: "public: __thiscall
std::_Locinfo::_Locinfo(char const *)" (??0_Locinfo at std@@QAE at PBD@Z) bereits
in msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(locale.obj) : error LNK2005: "public: __thiscall
std::_Locinfo::~_Locinfo(void)" (??1_Locinfo at std@@QAE at XZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(iostream.obj) : error LNK2005: "public: __thiscall
std::ios_base::Init::Init(void)" (??0Init at ios_base@std@@QAE at XZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(iostream.obj) : error LNK2005: "public: __thiscall
std::ios_base::Init::~Init(void)" (??1Init at ios_base@std@@QAE at XZ) bereits in
msvcprt.lib(MSVCP60.dll) definiert
libcpd.lib(xwctomb.obj) : error LNK2005: __Getcvt bereits in
msvcprt.lib(MSVCP60.dll) definiert
LIBCD.lib(dbgheap.obj) : error LNK2005: _malloc bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LIBCD.lib(dbgheap.obj) : error LNK2005: _calloc bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LIBCD.lib(dbgheap.obj) : error LNK2005: _free bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LIBCD.lib(crt0dat.obj) : error LNK2005: _exit bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LIBCD.lib(crt0dat.obj) : error LNK2005: __exit bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LIBCD.lib(crt0init.obj) : error LNK2005: ___xc_z bereits in
MSVCRT.lib(cinitexe.obj) definiert
LIBCD.lib(crt0init.obj) : error LNK2005: ___xc_a bereits in
MSVCRT.lib(cinitexe.obj) definiert
LIBCD.lib(crt0init.obj) : error LNK2005: ___xi_z bereits in
MSVCRT.lib(cinitexe.obj) definiert
LIBCD.lib(crt0init.obj) : error LNK2005: ___xi_a bereits in
MSVCRT.lib(cinitexe.obj) definiert
LIBCD.lib(winxfltr.obj) : error LNK2005: __XcptFilter bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LIBCD.lib(crt0.obj) : error LNK2005: _mainCRTStartup bereits in
MSVCRT.lib(crtexe.obj) definiert
LIBCD.lib(fflush.obj) : error LNK2005: _fflush bereits in
MSVCRT.lib(MSVCRT.dll) definiert
LINK : warning LNK4098: Standardbibliothek "MSVCRT" steht in Konflikt mit
anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden
LINK : warning LNK4098: Standardbibliothek "LIBCMT" steht in Konflikt mit
anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden
LINK : warning LNK4098: Standardbibliothek "LIBCD" steht in Konflikt mit
anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden
Release/babaGaOpl.exe : fatal error LNK1169: Ein oder mehrere mehrfach
definierte Symbole gefunden
Fehler beim Ausführen von link.exe.
babaGaOpl.exe - 70 Fehler, 3 Warnung(en)
Mit freundlichen Grüßen
Akhauri Prakash Kumar
____________________________________________________________
Fraunhofer Institut Produktionstechnik und Automatisierung (Fraunhofer IPA)
Department Cleanroom Manufacturing
Dipl.-Ing B. Sc. (Eng.) Sambalpur University Akhauri Prakash Kumar
Nobelstrasse 12; 70569 Stuttgart
Tel.: +49 (0) 711-970-1392
Fax: +49 (0) 711-970-1007
e-mail: AUK at ipa.fhg.de
http://www.fhg.de <http://www.fhg.de/>
http://www.mikroproduktion.de <http://www.mikroproduktion.de/>
____________________________________________________________
text3
____________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20000831/e9c2c715/attachment.htm
More information about the galib
mailing list