Thread: [Quickfix-developers] Problem with 1.9.0
Brought to you by:
orenmnero
From: Franco S. <f.s...@fi...> - 2004-09-10 08:04:36
|
Hi all, I have a problem with the latest quickfix version. I'm using solaris 8 with g++ 3.4.0. I have compiled the library and the tradeclient example: ./tradeclient cfg/tradeclient.cfg (from quickfix_home/bin) program core when the cfg file is read. This is the what gdb report: (gdb) where #0 0xff31c454 in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&) const (this=0xffbef27c, __k=@0xff369bd8) at stl_tree.h:496 #1 0xff2ddacc in FIX::Dictionary::getString(std::string const&, bool) const (this=0xffbef278, key=@0xff369bd8, capitalize=false) at stl_map.h:513 #2 0xff2e8be8 in FIX::operator>>(std::istream&, FIX::SessionSettings&) (stream=@0xffbef278, s=@0xff369bd8) at Fields.h:40 Thanks for your help. Franco Sabini |
From: Kiran K. <kk...@ty...> - 2004-09-10 11:03:54
|
Hi I'm trying to build quickfix 1.9.0 using quickfix.sln under visual studio.net and am getting the following error during compilation. quickfix_net error LNK2005: "char * __cdecl FIX::integer_to_string_padded<int>(char *,unsigned int,int,unsigned int,char)" (??$integer_to_string_padded@H@FIX@@$$FYAPADPADIHID@Z) already defined in Group.obj quickfix_net error LNK2005: "char * __cdecl FIX::integer_to_string_padded<int>(char *,unsigned int,int,unsigned int,char)" (??$integer_to_string_padded@H@FIX@@$$FYAPADPADIHID@Z) already defined in Group.obj quickfix_net error LNK2005: "char * __cdecl FIX::integer_to_string<int>(char *,unsigned int,int)" (??$integer_to_string@H@FIX@@$$FYAPADPADIH@Z) already defined in Group.obj quickfix_net error LNK2005: "char * __cdecl FIX::integer_to_string<int>(char *,unsigned int,int)" (??$integer_to_string@H@FIX@@$$FYAPADPADIH@Z) already defined in Group.obj quickfix_net error LNK2005: "char * __cdecl FIX::integer_to_string<long>(char *,unsigned int,long)" (??$integer_to_string@J@FIX@@$$FYAPADPADIJ@Z) already defined in Group.obj quickfix_net fatal error LNK1169: one or more multiply defined symbols found Metadata file 'C:\QuickFixSln\quickfix\lib\quickfix_net.dll' could not be found Has anyone seen this or does anyone know how to resolve this? |
From: Oren M. <or...@qu...> - 2004-09-11 16:17:39
|
I think the problem may be that integer_to_string and integer_to_string_padded are declared with the static modifier. Try removing that and see if it helps. --oren On Sep 10, 2004, at 6:00 AM, Kiran Khatra wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi > I'm trying to build quickfix 1.9.0 using quickfix.sln under visual > studio.net and am getting the following error during compilation. > > quickfix_net error LNK2005: "char * __cdecl > FIX::integer_to_string_padded<int>(char *,unsigned int,int,unsigned > int,char)" (??$integer_to_string_padded@H@FIX@@$$FYAPADPADIHID@Z) > already defined in Group.obj > quickfix_net error LNK2005: "char * __cdecl > FIX::integer_to_string_padded<int>(char *,unsigned int,int,unsigned > int,char)" (??$integer_to_string_padded@H@FIX@@$$FYAPADPADIHID@Z) > already defined in Group.obj > quickfix_net error LNK2005: "char * __cdecl > FIX::integer_to_string<int>(char *,unsigned int,int)" > (??$integer_to_string@H@FIX@@$$FYAPADPADIH@Z) already defined in > Group.obj > quickfix_net error LNK2005: "char * __cdecl > FIX::integer_to_string<int>(char *,unsigned int,int)" > (??$integer_to_string@H@FIX@@$$FYAPADPADIH@Z) already defined in > Group.obj > quickfix_net error LNK2005: "char * __cdecl > FIX::integer_to_string<long>(char *,unsigned int,long)" > (??$integer_to_string@J@FIX@@$$FYAPADPADIJ@Z) already defined in > Group.obj > quickfix_net fatal error LNK1169: one or more multiply defined symbols > found > Metadata file 'C:\QuickFixSln\quickfix\lib\quickfix_net.dll' could not > be found > > Has anyone seen this or does anyone know how to resolve this? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Caleb E. <cal...@gm...> - 2004-09-13 12:42:17
|
On Sat, 11 Sep 2004 11:17:04 -0500, Oren Miller <or...@qu...> wrote: > I think the problem may be that integer_to_string and > integer_to_string_padded are declared with the static modifier. Try > removing that and see if it helps. Indeed. They are "static inline", which makes almost no sense at all. -- Caleb Epstein cal...@gm... |