Trying clang on Linux, after make distclean fails in giac but I'm not sure if my installation is the reason. TLDR: ./index.h:571:11: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'?
giac compile log is attached -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
Found local metadata for giac-1.4.9.45.p1 Using cached file /home/ralf/sage/upstream/giac-1.4.9.45.tar.bz2 giac-1.4.9.45.p1 ==================================================== Setting up build directory for giac-1.4.9.45.p1 Finished extraction Applying patches from ../patches... Applying ../patches/alloca.patch patching file src/gen.cc patching file src/gen.h Applying ../patches/dirent.patch patching file src/help.cc Applying ../patches/macos-ifactor.patch patching file src/ifactor.cc Hunk #1 succeeded at 3746 (offset 9 lines). Applying ../patches/nofltk-check.patch patching file check/testgeo patching file check/TP00-sol.cas patching file check/TP00-sol.cas.out1 patching file check/TP02-sol.cas patching file check/TP09-sol.cas patching file check/TP19-sol.cas Applying ../patches/sunos_abs.patch patching file src/rpn.h **************************************************** Host system: Linux ark 4.4.104-39-default #1 SMP Thu Jan 4 08:11:03 UTC 2018 (7db1912) x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: clang C compiler version: clang version 3.8.0 (tags/RELEASE_380/final 262553) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8 Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/5 Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/6 Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8 Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/5 Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/6 Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8 Candidate multilib: .;@m64 Selected multilib: .;@m64 **************************************************** Configuring giac... Configuring giac-1.4.9.45.p1 configure: WARNING: you should use --build, --host, --target configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of clang... gcc3 checking whether ln -s works... yes checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... gcc3 checking how to run the C++ preprocessor... clang++ -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking how to run the C preprocessor... clang -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 for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (cached) gcc3 checking how to run the C++ preprocessor... clang++ -E checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (ld -m elf_x86_64) 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... yes checking for ld used by clang++... ld -m elf_x86_64 checking if the linker (ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... no checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for standard C++ header files... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for main in -lgmp... yes checking mpfr.h usability... yes checking mpfr.h presence... yes checking for mpfr.h... yes checking for main in -lmpfr... yes checking for mpfr_set_str_raw... no checking mpfi.h usability... yes checking mpfi.h presence... yes checking for mpfi.h... yes checking for main in -lmpfi... yes checking for main in -lm... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for main in -lpng... yes checking for dlopen in -ldl... yes checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking gsl/gsl_blas.h usability... yes checking gsl/gsl_blas.h presence... yes checking for gsl/gsl_blas.h... yes checking gsl/gsl_eigen.h usability... yes checking gsl/gsl_eigen.h presence... yes checking for gsl/gsl_eigen.h... yes checking for main in -lgslcblas... yes checking for gsl_sf_gamma in -lgsl... yes checking pari/pari.h usability... yes checking pari/pari.h presence... yes checking for pari/pari.h... yes checking for main in -lpari... yes checking NTL/ZZ.h usability... yes checking NTL/ZZ.h presence... yes checking for NTL/ZZ.h... yes checking for main in -lntl... yes checking gmpxx.h usability... yes checking gmpxx.h presence... yes checking for gmpxx.h... yes checking for main in -lgmpxx... yes checking CoCoA/io.H usability... no checking CoCoA/io.H presence... no checking for CoCoA/io.H... no checking glpk.h usability... yes checking glpk.h presence... yes checking for glpk.h... yes checking for main in -lglpk... yes checking for tgetent... no checking for tgetent in -lncurses... no checking for tgetent in -ltermcap... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for version of libreadline... yes checking for readline in -lreadline... yes checking for main in -lpthread... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for sysconf... yes checking for clock_gettime in -lrt... yes checking unordered_map usability... no checking unordered_map presence... no checking for unordered_map... no checking ext/hash_map usability... yes checking ext/hash_map presence... yes checking for ext/hash_map... yes checking tr1/unordered_map usability... yes checking tr1/unordered_map presence... yes checking for tr1/unordered_map... yes checking hash_map usability... yes checking hash_map presence... yes checking for hash_map... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/types.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for getpid... yes checking for getcwd... yes checking for getpwuid... yes checking for system... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether we are using the GNU C Library 2 or newer... yes checking for ranlib... (cached) ranlib checking for strerror in -lcposix... no checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ld used by GCC... ld -m elf_x86_64 checking if the linker (ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for ptrdiff_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking for malloc.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for getcwd... (cached) yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.7, ok checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for main in -lintl... no checking for egrep... (cached) /usr/bin/grep -E checking for latex... no ./configure: line 22362: CONFIG_DOC_PROGS: command not found checking for makeindex... no ./configure: line 22406: CONFIG_DOC_PROGS: command not found checking for pdflatex... no ./configure: line 22451: CONFIG_DOC_PROGS: command not found checking for dvips... no ./configure: line 22495: CONFIG_DOC_PROGS: command not found checking sstream usability... yes checking sstream presence... yes checking for sstream... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating check/Makefile config.status: creating doc/Makefile config.status: creating doc/en/Makefile config.status: creating doc/es/Makefile config.status: creating doc/fr/Makefile config.status: creating doc/el/Makefile config.status: creating doc/el/tutoriel/Makefile config.status: creating doc/el/casinter/Makefile config.status: creating doc/local/Makefile config.status: creating doc/pt/Makefile config.status: creating doc/zh/Makefile config.status: creating doc/de/Makefile config.status: creating intl/Makefile config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating examples/Makefile config.status: creating debianold/Makefile config.status: creating debian/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Adding link . to giac in src Building giac-1.4.9.45.p1 make[3]: Entering directory '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1/src' make all-recursive make[4]: Entering directory '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1/src' Making all in src make[5]: Entering directory '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1/src/src' /bin/bash ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -I/home/ralf/sage/local/include -g -O2 -I/home/ralf/sage/local/include -I/home/ralf/sage/local/include -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -MT input_lexer.lo -MD -MP -MF .deps/input_lexer.Tpo -c -o input_lexer.lo input_lexer.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -I/home/ralf/sage/local/include -g -O2 -I/home/ralf/sage/local/include -I/home/ralf/sage/local/include -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -MT input_lexer.lo -MD -MP -MF .deps/input_lexer.Tpo -c input_lexer.cc -fPIC -DPIC -o .libs/input_lexer.o In file included from input_lexer.ll:48: In file included from ./giacPCH.h:8: In file included from ./index.h:57: In file included from /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:60: /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/backward_warning.h:32:2: warning: This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-W#warnings] #warning \ ^ 1 warning generated. In file included from input_lexer.ll:48: In file included from ./giacPCH.h:7: In file included from ./first.h:328: ../../../../../../../include/gmp.h:2356:345: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_add_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x + 1) & ((~ (static_cast<mp_limb_t> (0))) >> 0)) == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../../../../../../../include/gmp.h:2356:345: note: remove extraneous parentheses around the comparison to silence this warning do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_add_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x + 1) & ((~ (static_cast<mp_limb_t> (0))) >> 0)) == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0); ~ ^ ~ ../../../../../../../include/gmp.h:2356:345: note: use '=' to turn this equality comparison into an assignment do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_add_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x + 1) & ((~ (static_cast<mp_limb_t> (0))) >> 0)) == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0); ^~ = In file included from input_lexer.ll:48: In file included from ./giacPCH.h:8: ./index.h:571:11: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'? typedef std::hash_map< index_t,index_m,hash_function_object > hash_index ; ^~~~~~~~~~~~~ __gnu_cxx::hash_map /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:83:11: note: '__gnu_cxx::hash_map' declared here class hash_map ^ In file included from input_lexer.ll:48: In file included from ./giacPCH.h:32: In file included from ./gen.h:64: In file included from ./poly.h:26: ./monomial.h:674:13: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'? typedef std::hash_map< index_t,T,hash_function_object > hash_prod ; ^~~~~~~~~~~~~ __gnu_cxx::hash_map /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:83:11: note: '__gnu_cxx::hash_map' declared here class hash_map ^ In file included from input_lexer.ll:48: In file included from ./giacPCH.h:32: In file included from ./gen.h:64: In file included from ./poly.h:27: ./threaded.h:1462:15: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'? typedef std::hash_map< U,T,hash_function_unsigned_object > hash_prod ; ^~~~~~~~~~~~~ __gnu_cxx::hash_map /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:83:11: note: '__gnu_cxx::hash_map' declared here class hash_map ^ In file included from input_lexer.ll:48: In file included from ./giacPCH.h:32: In file included from ./gen.h:64: In file included from ./poly.h:27: ./threaded.h:1883:13: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'? typedef std::hash_map< U,T,hash_function_unsigned_object > hash_prod ; ^~~~~~~~~~~~~ __gnu_cxx::hash_map /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:83:11: note: '__gnu_cxx::hash_map' declared here class hash_map ^ In file included from input_lexer.ll:48: In file included from ./giacPCH.h:32: In file included from ./gen.h:64: In file included from ./poly.h:27: ./threaded.h:2893:13: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'? typedef std::hash_map< U,T,hash_function_unsigned_object> hash_prod ; ^~~~~~~~~~~~~ __gnu_cxx::hash_map /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:83:11: note: '__gnu_cxx::hash_map' declared here class hash_map ^ In file included from input_lexer.ll:48: In file included from ./giacPCH.h:32: In file included from ./gen.h:64: In file included from ./poly.h:27: ./threaded.h:3031:13: error: no template named 'hash_map' in namespace 'std'; did you mean '__gnu_cxx::hash_map'? typedef std::hash_map< U,T,hash_function_unsigned_object > hash_prod ; ^~~~~~~~~~~~~ __gnu_cxx::hash_map /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward/hash_map:83:11: note: '__gnu_cxx::hash_map' declared here class hash_map ^ input_lexer.cc:1849:84: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if ( ! ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null) ) { ~ ^~~~~~ false input_lexer.cc:4558:83: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if ( ! ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null) ){ ~ ^~~~~~ false input_lexer.cc:4585:81: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if ( ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null) ) ~~ ^~~~~~ false input_lexer.cc:4739:81: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if ( ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null) ) ~~ ^~~~~~ false input_lexer.cc:4748:80: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null)) ~~ ^~~~~~ false input_lexer.cc:4764:81: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (!( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null)) ~ ^~~~~~ false input_lexer.cc:4772:80: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null)) { ~~ ^~~~~~ false input_lexer.cc:4956:89: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (! ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null)) ~ ^~~~~~ false input_lexer.cc:4969:89: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (! ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null)) ~ ^~~~~~ false input_lexer.cc:5031:89: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (! ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null) ) ~ ^~~~~~ false input_lexer.cc:5046:89: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] if (! ( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null) ) ~ ^~~~~~ false input_lexer.cc:5199:82: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] while(( yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : __null)){ ~~~~~ ^~~~~~ false 13 warnings and 6 errors generated. Makefile:759: recipe for target 'input_lexer.lo' failed make[5]: *** [input_lexer.lo] Error 1 make[5]: Leaving directory '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1/src/src' Makefile:404: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1/src' Makefile:333: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1/src' ******************************************************************************** Error building giac-1.4.9.45.p1 ******************************************************************************** real 0m25.496s user 0m20.321s sys 0m4.621s ************************************************************************ Error installing package giac-1.4.9.45.p1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/ralf/sage/logs/pkgs/giac-1.4.9.45.p1.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/ralf/sage/local/var/tmp/sage/build/giac-1.4.9.45.p1' && '/home/ralf/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************