Portál AbcLinuxu, 13. května 2024 02:01


Dotaz: configure: error: unable to find set_terminate in std or global namesp

29.11.2009 15:52 zdenek2008 | skóre: 26
configure: error: unable to find set_terminate in std or global namesp
Přečteno: 1195×
Odpovědět | Admin
Zkousim si na Fedore 8 zkompilovat Quickfix engine ale skoncim s timto hlasenim:
[zm@localhost quickfix]$ ./configure -with-python=/usr/include/python2.5 -with-mysql=/usr/bin/mysql
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... 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 ISO C89... 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... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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 recognize 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 xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
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 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.0.0... yes (version 2.7.2)
checking for shutdown in -lc... no
checking for shutdown in -lsocket... no
checking for inet_addr in -lc... no
checking for inet_addr in -lnsl... no
checking for nanosleep in -lc... no
checking for nanosleep in -lrt... no
checking for ftime in -lcompat... no
checking which threading environment to use... -lpthread
checking for pthread_create in -lpthread... no
checking stdio.h usability... no
checking stdio.h presence... yes
configure: WARNING: stdio.h: present but cannot be compiled
configure: WARNING: stdio.h:     check for missing prerequisite headers?
configure: WARNING: stdio.h: see the Autoconf documentation
configure: WARNING: stdio.h:     section "Present But Cannot Be Compiled"
configure: WARNING: stdio.h: proceeding with the preprocessor's result
configure: WARNING: stdio.h: in the future, the compiler will take precedence
checking for stdio.h... yes
checking for STREAMS ioctl... no
checking for socklen_t... no
checking for ftime... no
checking for set_terminate in the global namespace... no
checking for set_terminate in the std namespace... no
configure: error: unable to find set_terminate in std or global namespace
Prochazim dokumentaci, ale zatim mi moc nepomohla...
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

29.11.2009 17:33 l4m4
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global namesp
Odpovědět | | Sbalit | Link | Blokovat | Admin
Máš libstdc++-devel?
29.11.2009 17:53 zdenek2008 | skóre: 26
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global namesp
Mam. Verzi 4.1.2-33. Jeste jsem to zkousel kompilovat bez tech pridavnych voleb a to se zkompilovalo. Ale chci k tomu enginu pristupovat z aplikace napsane v pythonu, takze se asi bez tech voleb neobejdu. Kdyz tu chybu zadam v google, je tam reseni kde se prepisuji zdrojaky gcc, do toho se hrabat neodvazim.
29.11.2009 21:23 l4m4
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global namesp
Tak to by asi chtělo vidět, co se o tom píše v config.log...
30.11.2009 22:38 zdenek2008 | skóre: 26
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global namesp
config.logy mam, ale jsou mezi 40 - 80 kB, to nevim jestli sem muzu zkopirovat jako text...
1.12.2009 09:37 l4m4
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global namesp
Část vztahující se k tomu set_terminate() není předpokládám 80 kB. A log se dá přiložit jako příloha...
1.12.2009 19:05 zdenek2008 | skóre: 26
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global namesp
Mezitim jsem vygooglil rpm balicek quickfixu tak tu kompilaci necham plavat. Nakonec se jeste ukazalo ze je to vlastne takovy nedodelek co s pythonskym api funguje jen castecne a na plnou funkci je treba volat ho z aplikace napsane v c++. Mozna by bylo zajimave jestli by se to povedlo zkompilovat nekomu jinemu, treba na lepsim systemu nez mam ja. Kdovi... kazdopadne diky za rady.
29.11.2009 22:02 Sinuhet | skóre: 31
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global na
A skutecne to s touto verzi kompilujete? Co vypise g++ --version?
30.11.2009 22:22 zdenek2008 | skóre: 26
Rozbalit Rozbalit vše Re: configure: error: unable to find set_terminate in std or global na
[zm@localhost ~]$ g++ --version
g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.