Thread: [Quickfix-developers] Compiling libxml under Windows
Brought to you by:
orenmnero
From: Vishnu M. <vma...@ra...> - 2003-05-29 14:29:58
|
Sorry to post this again, but I thought this is very simple and common problem. I want to make QuickFix use libxml and compile it using GCC version 3.2-3 under CYGWIN. I am running into compilation problems like: usr/include/c++/3.2/i686-pc-mingw32/bits/ctype_base.h:44: `_UPPER' was not declared in this scope usr/include/c++/3.2/i686-pc-mingw32/bits/ctype_base.h:45: `_LOWER' was not declared in this scope ... Did any one tried this before. Please post your experiences. Any suggestions greatly appreciated. Thanks ______________________________________________________________________________ Vishnu Mavuram Random Walk Computing Inc. vma...@ra... 16th Floor, 11 Broad way, (212)480-5820 Ext. 228 New York City, NY 10004 |
From: Oren M. <ore...@ya...> - 2003-05-29 17:23:50
|
Well I can't say I see your compilation isssues. I did a clean install of cygwin and downloaded 1.5.0. I ran ./configure --enable-static --disable-shared and the compilation went smoothly. The unit tests are a different story, I've posted the results below. Looks like some work needs to go into it: <ut> <output> ...........F...F........................................FFFFF...FFFFFFFFFFFFF.. .F............F................................ </output> <results total="127" failures="23"> <failure line= "0" file= "unknown"> <test> <![CDATA[ unknown]]> </test> <text> <![CDATA[ assert(Could not convert field)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ unknown]]> </test> <text> <![CDATA[ assert(Could not convert field)]]> </text> </failure> <failure line= "161" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextLogon]]> </test> <text> <![CDATA[ assert(m_toLogon == 1)]]> </text> </failure> <failure line= "192" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextLogonNoEncryptMethod]]> </test> <text> <![CDATA[ assert(m_toLogon == 1)]]> </text> </failure> <failure line= "217" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::notifyResendRequest]]> </test> <text> <![CDATA[ assert(m_toResendRequest == 1)]]> </text> </failure> <failure line= "226" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::incrMsgSeqNum]]> </test> <text> <![CDATA[ assert(object.getExpectedSenderNum() == 2)]]> </text> </failure> <failure line= "242" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::callDisconnect]]> </test> <text> <![CDATA[ assert(m_disconnect == 0)]]> </text> </failure> <failure line= "434" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextTestRequest]]> </test> <text> <![CDATA[ assert(m_fromTestRequest == 1)]]> </text> </failure> <failure line= "448" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::outOfOrder]]> </test> <text> <![CDATA[ assert(object.getExpectedSenderNum() == 2)]]> </text> </failure> <failure line= "470" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::logout]]> </test> <text> <![CDATA[ assert(m_toLogout == 1)]]> </text> </failure> <failure line= "493" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::badOrigSendingTime]]> </test> <text> <![CDATA[ assert(m_toReject == 1)]]> </text> </failure> <failure line= "518" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::noOrigSendingTime]]> </test> <text> <![CDATA[ assert(m_toReject == 1)]]> </text> </failure> <failure line= "533" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::badCompID]]> </test> <text> <![CDATA[ assert(m_toReject == 1)]]> </text> </failure> <failure line= "548" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextReject]]> </test> <text> <![CDATA[ assert(m_fromReject == 1)]]> </text> </failure> <failure line= "583" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::badMsgType]]> </test> <text> <![CDATA[ assert(m_toReject == 1)]]> </text> </failure> <failure line= "598" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextSequenceReset]]> </test> <text> <![CDATA[ assert(m_fromSequenceReset == 1)]]> </text> </failure> <failure line= "624" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextGapFill]]> </test> <text> <![CDATA[ assert(m_fromSequenceReset == 1)]]> </text> </failure> <failure line= "665" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::nextResendRequest]]> </test> <text> <![CDATA[ assert(m_toSequenceReset == 1)]]> </text> </failure> <failure line= "700" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::badBeginString]]> </test> <text> <![CDATA[ assert(m_disconnect == 0)]]> </text> </failure> <failure line= "717" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::unsupportedMsgType]]> </test> <text> <![CDATA[ assert(m_toBusinessMessageReject == 1)]]> </text> </failure> <failure line= "824" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::resetOnEndTime]]> </test> <text> <![CDATA[ assert(m_disconnect == 0)]]> </text> </failure> <failure line= "864" file= "SessionTestCase.cpp"> <test> <![CDATA[ FIX::SessionTestCase::resetOnNewSession]]> </test> <text> <![CDATA[ assert(m_disconnect == 0)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ unknown]]> </test> <text> <![CDATA[ assert(Could not convert field)]]> </text> </failure> </results> </ut> Vishnu Mavuram <vma...@ra...> wrote: Sorry to post this again, but I thought this is very simple and common problem. I want to make QuickFix use libxml and compile it using GCC version 3.2-3 under CYGWIN. I am running into compilation problems like: usr/include/c++/3.2/i686-pc-mingw32/bits/ctype_base.h:44: `_UPPER' was not declared in this scope usr/include/c++/3.2/i686-pc-mingw32/bits/ctype_base.h:45: `_LOWER' was not declared in this scope ... Did any one tried this before. Please post your experiences. Any suggestions greatly appreciated. Thanks ______________________________________________________________________________ Vishnu Mavuram Random Walk Computing Inc. vma...@ra... 16th Floor, 11 Broad way, (212)480-5820 Ext. 228 New York City, NY 10004 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM). |
From: Vishnu M. <vma...@ra...> - 2003-05-30 16:08:45
|
Now I could compile and link all C++ code but I am having problems with JNI code. Did you compile JNI code also? The problems I am seeing now are: src/JNI/JavaApplication.cpp: In member function `virtual void JavaApplication::toAdmin(FIX::Message&, const FIX::SessionID&)': src/JNI/JavaApplication.cpp:119: no matching function for call to `JVMObject:: JVMObject(JVMObject)' src/JNI/JVM.h:159: candidates are: JVMObject::JVMObject(JVMObject&) src/JNI/JVM.h:154: JVMObject::JVMObject(__jobject*) src/JNI/JavaApplication.cpp:119: initializing temporary from result of ` JVMObject::JVMObject(__jobject*)' There are more errors like this nature. It seems like a bug in compiler. I am using gcc version 3.2 20020927 (prerelease) BTW, Oren, will it be too much to ask for a copy of your make file? Thanks for all your help. ______________________________________________________________________________ Vishnu Mavuram Random Walk Computing Inc. vma...@ra... 16th Floor, 11 Broad way, (212)480-5820 Ext. 228 New York City, NY 10004 |
From: Oren M. <ore...@ya...> - 2003-05-30 16:49:24
|
Well, you won't be able to build a jni linbrary anyway since to do so would require building a DLL, which I don't know how to do under cygwin just yet. So the answer is no, I did not compile the jni library. You don't need it unless you intend on accessing QF through the java API. The only way to build the java library right now is with visual studio. I'm not using any special makefile, just the one that comes with 1.5.0. I didn't make any changes. All I did was pass in the --disable-shared --enable-static parameters to configure. --- Vishnu Mavuram <vma...@ra...> wrote: > Now I could compile and link all C++ code but I am > having problems with JNI > code. Did you compile JNI code also? > > The problems I am seeing now are: > > src/JNI/JavaApplication.cpp: In member function > `virtual void > JavaApplication::toAdmin(FIX::Message&, const > FIX::SessionID&)': > src/JNI/JavaApplication.cpp:119: no matching > function for call to `JVMObject:: > JVMObject(JVMObject)' > src/JNI/JVM.h:159: candidates are: > JVMObject::JVMObject(JVMObject&) > src/JNI/JVM.h:154: > JVMObject::JVMObject(__jobject*) > src/JNI/JavaApplication.cpp:119: initializing > temporary from result of ` > JVMObject::JVMObject(__jobject*)' > > There are more errors like this nature. It seems > like a bug in compiler. > I am using gcc version 3.2 20020927 (prerelease) > > BTW, Oren, will it be too much to ask for a copy of > your make file? > > Thanks for all your help. > ______________________________________________________________________________ > Vishnu Mavuram Random > Walk Computing Inc. > vma...@ra... 16th > Floor, 11 Broad way, > (212)480-5820 Ext. 228 New > York City, NY 10004 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com |
From: Vamsi K. <Vam...@ib...> - 2003-06-02 00:37:01
|
Hi Oren /all I am sending MarketDataRequest from Tradeclient to executor . The latter handles the MarketDataRequest message and composes a MarketDataSnapShotFullRefresh message ( as it should be ) and sends back the message. As soon as I receive the response from executor , tradeclient sends a "resendrequest" message and executor sends the MarketDataSnapshotFullRefresh message again. Am I missing something here ( in Tradeclient). Any help is appreciated.. Thanks Vamsi |
From: Vamsi K. <Vam...@ib...> - 2003-06-02 13:53:58
|
Hi There was no problem at all now. The problem solves by itself automatically when I invoked/reinvoked the Tradeclient after stopping and starting again and again. Puzzling. I wonder where I went wrong in my earlier attempts. May be due to Message sequence number mismatch or something like that. ( Inadvertantly I have increase the heartbeat interval to 45... from 30 seconds). Can somebody confirm this... Tradeclient has received the response from executor ( FIXServer).. Vamsi /-----Original Message----- /From: qui...@li... [mailto:quickfix- /dev...@li...] On Behalf Of Vamsi Krishna /Sent: Sunday, June 01, 2003 8:37 PM /To: 'Oren Miller'; qui...@li... /Subject: [Quickfix-developers] tradeclient / /Hi Oren /all / /I am sending MarketDataRequest from Tradeclient to executor . The latter /handles the MarketDataRequest message and composes a /MarketDataSnapShotFullRefresh message ( as it should be ) and sends back /the message. / /As soon as I receive the response from executor , tradeclient sends a /"resendrequest" message and executor sends the /MarketDataSnapshotFullRefresh message again. / / /Am I missing something here ( in Tradeclient). / /Any help is appreciated.. / /Thanks /Vamsi / / / /------------------------------------------------------- /This SF.net email is sponsored by: eBay /Get office equipment for less on eBay! /http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 /_______________________________________________ /Quickfix-developers mailing list /Qui...@li... /https://lists.sourceforge.net/lists/listinfo/quickfix-developers |