« Return to Thread: Ubuntu_Intrepid - Python - MySQL

Re: Ubuntu_Intrepid - Python - MySQL

by Balwinder S Dheeman-4 :: Rate this Message:

Reply to Author | View in Thread

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

On 12/15/2008 04:58 AM, Christoffer Ramsden wrote:

> Guess u've seen this qeustion a bunch of times now, been browsing
> through earlier answers but cant figure it out...
>
> ./configure # works ok now, had a libxml2 problem before...
>
> ./configure --with-mysql=/usr/bin # error: unable to find
> set_terminate in std or global namespace
>
> ./configure --with-python=/usr/include/
> python2.5/pyconfig.h # same thing
>
> make # doesnt work at all, people here usually say: broken gcc, but
> I've just done a: sudo aptitude install build-essential
>
> make  all-recursive
> make[1]: Entering directory `/home/crn/Skrivbord/quickfix'
> Making all in src
> make[2]: Entering directory `/home/crn/Skrivbord/quickfix/src'
> Making all in C++
> make[3]: Entering directory `/home/crn/Skrivbord/quickfix/src/C++'
> Making all in test
> make[4]: Entering directory `/home/crn/Skrivbord/quickfix/src/C++/test'
> if /bin/bash ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I. -I../../.. -I..    -g -O2 -Wall -ansi -Wpointer-arith
> -Wwrite-strings      -I/usr/include/libxml2  
> -I/usr/include/python2.5/p  -O0 -g -MT FieldBaseTestCase.lo -MD -MP
> -MF ".deps/FieldBaseTestCase.Tpo" \
>       -c -o FieldBaseTestCase.lo `test -f 'FieldBaseTestCase.cpp' ||
> echo './'`FieldBaseTestCase.cpp; \
>     then mv ".deps/FieldBaseTestCase.Tpo" ".deps/FieldBaseTestCase.Plo"; \
>     else rm -f ".deps/FieldBaseTestCase.Tpo"; exit 1; \
>     fi
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -g -O2 -Wall -ansi
> -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2
> -I/usr/include/python2.5/p -O0 -g -MT FieldBaseTestCase.lo -MD -MP -MF
> .deps/FieldBaseTestCase.Tpo -c FieldBaseTestCase.cpp  -fPIC -DPIC -o
> .libs/FieldBaseTestCase.o
> In file included from ../FieldTypes.h:29,
>                  from ../FieldConvertors.h:25,
>                  from ../Field.h:32,
>                  from FieldBaseTestCase.h:26,
>                  from FieldBaseTestCase.cpp:27:
> ../Utility.h:179: error: 'std::strcmp' has not been declared
> ../Utility.h:181: error: 'std::strlen' has not been declared
> ../Utility.h:184: error: 'std::memcpy' has not been declared
> ../Utility.h:185: error: 'std::memset' has not been declared
> ../Utility.h:189: error: 'std::strerror' has not been declared
> In file included from ../FieldConvertors.h:26,
>                  from ../Field.h:32,
>                  from FieldBaseTestCase.h:26,
>                  from FieldBaseTestCase.cpp:27:
> ../Exceptions.h: In member function 'std::string
> FIX::SocketException::errorToWhat()':
> ../Exceptions.h:253: error: 'strerror' was not declared in this scope
> In file included from FieldBaseTestCase.h:26,
>                  from FieldBaseTestCase.cpp:27:
> ../Field.h: In member function 'void FIX::FieldBase::calculate() const':
> ../Field.h:110: error: 'memcpy' was not declared in this scope
> make[4]: *** [FieldBaseTestCase.lo] Error 1
> make[4]: Leaving directory `/home/crn/Skrivbord/quickfix/src/C++/test'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/crn/Skrivbord/quickfix/src/C++'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/crn/Skrivbord/quickfix/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/crn/Skrivbord/quickfix'
> make: *** [all] Error 2
>
> Thankful for any help or suggestions on where to read about these
> issues, thanks!

You guessed it, it is g++/gcc issue; try reading the
http://gcc.gnu.org/gcc-4.3/porting_to.html if you are using gcc-4.3 or
something like that.

Or better have a look at
http://cto.homelinux.net/git?p=quickfix.git;a=summary
You might want give
http://cto.homelinux.net/git?p=quickfix.git;a=snapshot;h=ca13938f3d329982592d9c96854d3966e4956fbe;sf=tgz 
also a whirl.

Hope that helps :)

--
Dr Balwinder S "bsd" Dheeman          Registered Linux User: #229709
Anu'z Linux@HOME (Unix Shoppe)        Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India         Gentoo, Fedora, Debian/FreeBSD/XP
Home: http://cto.homelinux.net/~bsd/  Visit: http://counter.li.org/


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Quickfix-developers mailing list
Quickfix-developers@...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers

 « Return to Thread: Ubuntu_Intrepid - Python - MySQL