Re: [Quickfix-developers] linux compilation
Brought to you by:
orenmnero
|
From: Alexey Z. <ale...@gm...> - 2006-05-24 17:07:58
|
Hi,
I removed this "extra qualification" and QuickFix continued and created
lib/libquickfix.so.
So, it looks like everything is fine.
Thank you for your help.
What kind of development environment do you use? Eclipse, KDevelop,
Emacs, Vim?
I was always interested in Linux but never had chance to write a big
project.
Could you suggest me anything?
Thanks.
Regards,
Alexey Zubko
Igor Seleznev wrote:
> Hi,
>
> I am using:
> Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
> gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
> Perhaps your problem because of the gcc 4.1 -- I "googled" and see
> such complains about this warning exactly because of gcc 4.1.
> Please, try to use 3.x.
>
> For quickfix developers: the problem is that instead of
> class Foo
> {
>
> int Foo::Foo(void);
>
> }
>
> it is better to write:
>
> class Foo
> {
>
> int Foo(void);
>
> }
> Kind regards,
> Igor
>
> ----- Original Message -----
> *From:* Alexey Zubko <mailto:ale...@gm...>
> *To:* Igor Seleznev <mailto:se...@ma...>
> *Cc:* qui...@li...
> <mailto:qui...@li...>
> *Sent:* Wednesday, May 24, 2006 8:24 PM
> *Subject:* Re: [Quickfix-developers] linux compilation
>
> Hi Igor,
>
> Thanks a lot.
> I deleted that directory and bootstrap and configure passed Ok.
> Now I crash during the compilation:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -g -O2
> -I/usr/include/libxml2 -MT DataDictionary.lo -MD -MP -MF
> ..deps/D ataDictionary.Tpo -c
> DataDictionary.cpp -fPIC -DPIC -o .libs/DataDictionary.o
> LIBXML_DOMDocument.h:45: error: extra qualification
> 'FIX::LIBXML_DOMAttributes::' on member 'toMap'
> make[4]: *** [DataDictionary.lo] Error 1
> make[4]: Leaving directory `/home/alexey/workspace/quickfix/src/C++'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/alexey/workspace/quickfix/src/C++'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/alexey/workspace/quickfix/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/alexey/workspace/quickfix'
> make: *** [all] Error 2
>
>
> Does it mean I need to use another gcc version?
> BTW, what environment do you use for your projects?
>
> Thank you.
>
> Regards,
> Alexey Zubko
>
>
>
>
> Igor Seleznev wrote:
>> Hi,
>>
>> I have experienced some of your problems too.
>>
>> To fix the first one with 'bootstrap', please delete
>> "quickfix/autom4te.cache". I noticed that one of quickfix
>> tarballs contains it. I will file a bug about this issue.
>>
>> As for second one with 'missing' script, you can ignore it.
>> Moreover, there was a case about it and it claimed to be fixed in
>> HEAD.
>> See:
>> http://www.quickfixengine.org/bugtracker/bug.php?op=show&bugid=183&pos=0
>>
>>
>> Most likely the last problem will be fixed when you fix the first
>> two. From your logs it looks like that 'automake' cached into
>> wrong location.
>> If it doesn't help, perhaps it makes sense to run configure in
>> debug mode (sh -x ./configure) and see what's wrong.
>>
>> Kind regards,
>> Igor
>>
>> ----- Original Message ----- From: "Alexey Zubko"
>> <ale...@gm...>
>> To: <qui...@li...>
>> Sent: Wednesday, May 24, 2006 7:34 PM
>> Subject: [Quickfix-developers] linux compilation
>>
>>
>>> QuickFIX Documentation:
>>> http://www.quickfixengine.org/quickfix/doc/html/index.html
>>> QuickFIX Support: http://www.quickfixengine.org/services.html
>>>
>>> Hello guys,
>>>
>>> I want to compile quickfix in Linux, but unfortunately don't
>>> have such experience now.
>>> I know I need to learn a lot, but as a start could anyone help
>>> me, please?
>>> Does anyone use Eclipse CDT?
>>> Thank you in advance.
>>>
>>> So, I have Gentoo Linux with gcc 4.1.0 and quickfix 1.11.1
>>>
>>> # ./bootstrap
>>> aclocal...
>>> autoheader...
>>> Can't locate object method "path" via package "Request" at
>>> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
>>> autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 1
>>> libtoolize...
>>> automake...
>>> Can't locate object method "path" via package "Request" at
>>> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
>>> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
>>> configure.in: You should verify that configure.in invokes
>>> AM_INIT_AUTOMAKE,
>>> configure.in: that aclocal.m4 is present in the top-level
>>> directory,
>>> configure.in: and that aclocal.m4 was recently regenerated
>>> (using aclocal).
>>> automake-1.7: no `Makefile.am' found or specified
>>> autoconf...
>>> Can't locate object method "path" via package "Request" at
>>> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
>>> Now run configure with any arguments necessary
>>>
>>> After that:
>>> # ./configure
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> /home/alexey/workspace/quickfix/missing: Unknown `--run' option
>>> Try `/home/alexey/workspace/quickfix/missing --help' for more
>>> information
>>> configure: WARNING: `missing' script is too old or missing
>>> checking for gawk... gawk
>>> checking whether make sets $(MAKE)... yes
>>> checking for g++... g++
>>> checking for C++ compiler default output... a.out
>>> checking whether the C++ compiler works... yes
>>> checking whether we are cross compiling... no
>>> checking for suffix of executables...
>>> checking for suffix of object files... o
>>> checking whether we are using the GNU C++ compiler... yes
>>> checking whether g++ accepts -g... yes
>>> checking for style of include used by make... GNU
>>> checking dependency style of g++... gcc3
>>> checking for gcc... gcc
>>> checking whether we are using the GNU C compiler... yes
>>> checking whether gcc accepts -g... yes
>>> checking for gcc option to accept ANSI C... none needed
>>> checking dependency style of gcc... gcc3
>>> checking build system type... i686-pc-linux-gnu
>>> checking host system type... i686-pc-linux-gnu
>>> checking for a sed that does not truncate output... /usr/bin/sed
>>> checking for egrep... grep -E
>>> checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
>>> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU
>>> ld... yes
>>> checking for /usr/i686-pc-linux-gnu/bin/ld option to reload
>>> object files... -r
>>> checking for BSD-compatible nm... /usr/bin/nm -B
>>> checking whether ln -s works... yes
>>> checking how to recognise dependent libraries... pass_all
>>> checking how to run the C preprocessor... gcc -E
>>> checking for ANSI C header files... yes
>>> checking for sys/types.h... yes
>>> checking for sys/stat.h... yes
>>> checking for stdlib.h... yes
>>> checking for string.h... yes
>>> checking for memory.h... yes
>>> checking for strings.h... yes
>>> checking for inttypes.h... yes
>>> checking for stdint.h... yes
>>> checking for unistd.h... yes
>>> checking dlfcn.h usability... yes
>>> checking dlfcn.h presence... yes
>>> checking for dlfcn.h... yes
>>> checking how to run the C++ preprocessor... g++ -E
>>> checking for g77... no
>>> checking for f77... no
>>> checking for xlf... no
>>> checking for frt... no
>>> checking for pgf77... no
>>> checking for fl32... no
>>> checking for af77... no
>>> checking for fort77... no
>>> checking for f90... no
>>> checking for xlf90... no
>>> checking for pgf90... no
>>> checking for epcf90... no
>>> checking for f95... no
>>> checking for fort... no
>>> checking for xlf95... no
>>> checking for lf95... no
>>> checking for g95... no
>>> checking whether we are using the GNU Fortran 77 compiler... no
>>> checking whether accepts -g... no
>>> checking the maximum length of command line arguments... 32768
>>> checking command to parse /usr/bin/nm -B output from gcc
>>> object... ok
>>> checking for objdir... .libs
>>> checking for ar... ar
>>> checking for ranlib... ranlib
>>> checking for strip... strip
>>> checking if gcc static flag works... yes
>>> checking if gcc supports -fno-rtti -fno-exceptions... no
>>> checking for gcc option to produce PIC... -fPIC
>>> checking if gcc PIC flag -fPIC works... yes
>>> checking if gcc supports -c -o file.o... yes
>>> checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld)
>>> supports shared libraries... yes
>>> checking whether -lc should be explicitly linked in... no
>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> checking whether stripping libraries is possible... yes
>>> checking if libtool supports shared libraries... yes
>>> checking whether to build shared libraries... yes
>>> checking whether to build static libraries... no
>>> configure: creating libtool
>>> appending configuration tag "CXX" to libtool
>>> checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
>>> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU
>>> ld... yes
>>> checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld)
>>> supports shared libraries... yes
>>> checking for g++ option to produce PIC... -fPIC
>>> checking if g++ PIC flag -fPIC works... yes
>>> checking if g++ supports -c -o file.o... yes
>>> checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld)
>>> supports shared libraries... yes
>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> checking whether stripping libraries is possible... yes
>>> appending configuration tag "F77" to libtool
>>> checking for flex... flex
>>> checking for yywrap in -lfl... yes
>>> checking lex output file root... lex.yy
>>> checking whether yytext is a pointer... yes
>>> .../configure: line 19059: ruby: command not found
>>> checking for xml2-config... /usr/bin/xml2-config
>>> checking for libxml - version >= 2.0.0... yes (version 2.6.23)
>>> checking for shutdown in -lc... yes
>>> checking for inet_addr in -lc... yes
>>> checking for nanosleep in -lc... yes
>>> checking for ftime in -lcompat... no
>>> checking which threading environment to use... -lpthread
>>> checking for pthread_create in -lpthread... yes
>>> checking stdio.h usability... yes
>>> checking stdio.h presence... yes
>>> checking for stdio.h... yes
>>> checking for STREAMS ioctl... no
>>> checking for socklen_t... yes
>>> checking for ftime... yes
>>> checking for set_terminate in the global namespace... no
>>> checking for set_terminate in the std namespace... yes
>>> checking for typeinfo in the global namespace... no
>>> checking for typeinfo in the std namespace... yes
>>> checking for gethostbyname_r with input result... yes
>>> checking for gethostbyname_r with return result... no
>>> checking for cplus_demangle in -liberty... yes
>>> checking if select modifies timeval parameter... yes
>>> configure: creating ./config.status
>>> config.status: creating quickfix.pc
>>> config.status: creating Makefile
>>> config.status: creating src/Makefile
>>> config.status: creating src/C++/Makefile
>>> config.status: creating src/C++/test/Makefile
>>> config.status: creating src/java/Makefile
>>> config.status: creating src/java/cfg/Makefile
>>> config.status: creating src/java/src/Makefile
>>> config.status: creating src/java/src/quickfix/Makefile
>>> config.status: creating src/java/src/quickfix/field/Makefile
>>> config.status: creating src/java/src/quickfix/fix40/Makefile
>>> config.status: creating src/java/src/quickfix/fix41/Makefile
>>> config.status: creating src/java/src/quickfix/fix42/Makefile
>>> config.status: creating src/java/src/quickfix/fix43/Makefile
>>> config.status: creating src/java/src/quickfix/fix44/Makefile
>>> config.status: creating src/python/Makefile
>>> config.status: creating bin/Makefile
>>> config.status: creating bin/cfg/Makefile
>>> config.status: creating spec/Makefile
>>> config.status: creating test/Makefile
>>> config.status: creating test/atrun/Makefile
>>> config.status: creating test/cfg/Makefile
>>> config.status: creating test/definitions/Makefile
>>> config.status: creating test/definitions/server/Makefile
>>> config.status: creating test/definitions/server/future/Makefile
>>> config.status: creating examples/Makefile
>>> config.status: creating examples/executor/Makefile
>>> config.status: creating examples/executor/C++/Makefile
>>> config.status: creating examples/executor/java/Makefile
>>> config.status: creating examples/executor/java/src/Makefile
>>> config.status: creating examples/ordermatch/Makefile
>>> config.status: creating examples/ordermatch/test/Makefile
>>> config.status: creating examples/tradeclient/Makefile
>>> config.status: creating examples/tradeclientgui/Makefile
>>> config.status: creating examples/tradeclientgui/banzai/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/test/Makefile
>>> config.status: creating examples/tradeclientgui/banzai/src/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/src/quickfix/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile
>>> config.status: creating doc/Makefile
>>> config.status: creating doc/html/Makefile
>>> config.status: creating CPPTest/Makefile
>>> config.status: creating config.h
>>> config.status: config.h is unchanged
>>> config.status: executing depfiles commands
>>>
>>> # make
>>> cd . && \
>>> --foreign Makefile
>>> /bin/sh: --foreign: command not found
>>> make: *** [Makefile.in] Error 127
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Alexey Zubko
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> All the advantages of Linux Managed Hosting--Without the Cost
>>> and Risk!
>>> Fully trained technicians. The highest number of Red Hat
>>> certifications in
>>> the hosting industry. Fanatical Support. Click to learn more
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
>>>
>>> _______________________________________________
>>> Quickfix-developers mailing list
>>> Qui...@li...
>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>>>
>>
>>
|