Thread: [Quickfix-developers] Problem implementing Email Message in 4.2
Brought to you by:
orenmnero
From: <loi...@ya...> - 2004-07-30 03:34:44
|
Hi, This may sound silly, but I have been trying to handle the Email message with FIX 4.2 on linux using gcc.2.95.3 and quickfix 1.8 ( I also tried on a version of qf.1.6 and gcc 3.x that I had lying around) and I can't seem to link: I keep on getting: Application.o(.gnu.linkonce.t.__thunk_12_onMessage__11ApplicationRCQ25FIX425EmailRCQ23FIX 9SessionID+0x6): In function `virtual function thunk (delta:-12) for Application::onMessa ge(FIX42::Email const &, FIX::SessionID const &)': : undefined reference to `Application::onMessage(FIX42::Email const &, FIX::SessionID con st &)' Now my question is: has anyone implemented Email messages ( ie is it just me or is there something wrong), I have no problem with other message types, so I think there may be something up. I don't know nm well enough to understand what happens, but as far as I can see the symbols are there. Any pointers will be appreciated :) ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com |
From: Oren M. <or...@qu...> - 2004-07-30 04:05:51
|
It would appear that you declared, void onMessage( const FIX42::Email&, const FIX::SessionID& ); in your header without providing a proper definition for it in your source file. Double check that you have a definition and that it matches the declaration. --oren On Jul 29, 2004, at 10:34 PM, loic guezennec wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi, > > This may sound silly, but I have been trying to handle > the Email message with FIX 4.2 on linux using > gcc.2.95.3 and quickfix 1.8 ( I also tried on a > version of qf.1.6 and gcc 3.x that I had lying around) > and I can't seem to link: I keep on getting: > Application.o(.gnu.linkonce.t.__thunk_12_onMessage__11ApplicationRCQ25F > IX425EmailRCQ23FIX > 9SessionID+0x6): In function `virtual function thunk > (delta:-12) for Application::onMessa > ge(FIX42::Email const &, FIX::SessionID const &)': > : undefined reference to > `Application::onMessage(FIX42::Email const &, > FIX::SessionID con > st &)' > > > Now my question is: has anyone implemented Email > messages ( ie is it just me or is there something > wrong), I have no problem with other message types, so > I think there may be something up. > > I don't know nm well enough to understand what > happens, but as far as I can see the symbols are > there. > Any pointers will be appreciated :) > > > > > > ___________________________________________________________ALL-NEW > Yahoo! Messenger - all new features - even more fun! > http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source > Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: <loi...@ya...> - 2004-08-02 12:08:47
|
Hmm, sorry about the spam: code gets fuzzy in the early hours. I just want to mention the following as well ( i hope this time it's not just spam :) : on SUN solaris 2.8, gcc-2.95.3 and using STLPort, I had to add manually the library -lrt to the generated Makefiles for the compilation of at, executor, ordermatch_ut etc... This was for the function nanosleep which couldn't be found --- Oren Miller <or...@qu...> wrote: > It would appear that you declared, > > void onMessage( const FIX42::Email&, const > FIX::SessionID& ); > > in your header without providing a proper definition > for it in your > source file. Double check that you have a > definition and that it > matches the declaration. > > --oren > > On Jul 29, 2004, at 10:34 PM, loic guezennec wrote: > > > QuickFIX Documentation: > > > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX FAQ: > http://www.quickfixengine.org/quickfix/doc/html/FAQ.html > > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > > Hi, > > > > This may sound silly, but I have been trying to > handle > > the Email message with FIX 4.2 on linux using > > gcc.2.95.3 and quickfix 1.8 ( I also tried on a > > version of qf.1.6 and gcc 3.x that I had lying > around) > > and I can't seem to link: I keep on getting: > > > Application.o(.gnu.linkonce.t.__thunk_12_onMessage__11ApplicationRCQ25F > > > IX425EmailRCQ23FIX > > 9SessionID+0x6): In function `virtual function > thunk > > (delta:-12) for Application::onMessa > > ge(FIX42::Email const &, FIX::SessionID const &)': > > : undefined reference to > > `Application::onMessage(FIX42::Email const &, > > FIX::SessionID con > > st &)' > > > > > > Now my question is: has anyone implemented Email > > messages ( ie is it just me or is there something > > wrong), I have no problem with other message > types, so > > I think there may be something up. > > > > I don't know nm well enough to understand what > > happens, but as far as I can see the symbols are > > there. > > Any pointers will be appreciated :) > > > > > > > > > > > > > ___________________________________________________________ALL-NEW > > > Yahoo! Messenger - all new features - even more > fun! > > http://uk.messenger.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you > noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the > past few weeks? Now, > > one more big change to announce. We are now OSTG- > Open Source > > Technology > > Group. Come see the changes on the new OSTG site. > www.ostg.com > > _______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > > ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com |
From: Oren M. <or...@qu...> - 2004-08-02 15:04:03
|
Adding an AC_CHECK_LIB(c,nanosleep,true,AC_CHECK_LIB(rt,nanosleep)) to configure.in should fix this. --oren On Aug 2, 2004, at 7:08 AM, loic guezennec wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hmm, sorry about the spam: code gets fuzzy in the > early hours. > > I just want to mention the following as well ( i hope > this time it's not just spam :) : > on SUN solaris 2.8, gcc-2.95.3 and using STLPort, I > had to add manually the library -lrt to the generated > Makefiles for the compilation of at, executor, > ordermatch_ut etc... > This was for the function nanosleep which couldn't be > found > > > > > > --- Oren Miller <or...@qu...> wrote: >> It would appear that you declared, >> >> void onMessage( const FIX42::Email&, const >> FIX::SessionID& ); >> >> in your header without providing a proper definition >> for it in your >> source file. Double check that you have a >> definition and that it >> matches the declaration. >> >> --oren >> >> On Jul 29, 2004, at 10:34 PM, loic guezennec wrote: >> >>> QuickFIX Documentation: >>> >> > http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX FAQ: >> > http://www.quickfixengine.org/quickfix/doc/html/FAQ.html >>> QuickFIX Support: >> http://www.quickfixengine.org/services.html >>> >>> Hi, >>> >>> This may sound silly, but I have been trying to >> handle >>> the Email message with FIX 4.2 on linux using >>> gcc.2.95.3 and quickfix 1.8 ( I also tried on a >>> version of qf.1.6 and gcc 3.x that I had lying >> around) >>> and I can't seem to link: I keep on getting: >>> >> > Application.o(.gnu.linkonce.t.__thunk_12_onMessage__11ApplicationRCQ25F >> >>> IX425EmailRCQ23FIX >>> 9SessionID+0x6): In function `virtual function >> thunk >>> (delta:-12) for Application::onMessa >>> ge(FIX42::Email const &, FIX::SessionID const &)': >>> : undefined reference to >>> `Application::onMessage(FIX42::Email const &, >>> FIX::SessionID con >>> st &)' >>> >>> >>> Now my question is: has anyone implemented Email >>> messages ( ie is it just me or is there something >>> wrong), I have no problem with other message >> types, so >>> I think there may be something up. >>> >>> I don't know nm well enough to understand what >>> happens, but as far as I can see the symbols are >>> there. >>> Any pointers will be appreciated :) >>> >>> >>> >>> >>> >>> >> > ___________________________________________________________ALL-NEW >> >>> Yahoo! Messenger - all new features - even more >> fun! >>> http://uk.messenger.yahoo.com >>> >>> >>> >> > ------------------------------------------------------- >>> This SF.Net email is sponsored by OSTG. Have you >> noticed the changes on >>> Linux.com, ITManagersJournal and NewsForge in the >> past few weeks? Now, >>> one more big change to announce. We are now OSTG- >> Open Source >>> Technology >>> Group. Come see the changes on the new OSTG site. >> www.ostg.com >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> >> > https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >> >> > > > > > > ___________________________________________________________ALL-NEW > Yahoo! Messenger - all new features - even more fun! > http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source > Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |