Alan Pae <[EMAIL PROTECTED]> writes: >> >> with 1.8.2, if I hide complex.h (mv complex.h complex.h.temp) then it >> compiles find,
>You may also be able to pretend complex double doesn't exist with > ./configure ac_cv_type_complex_double=no ./configure -C --with-threads gcc --version gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. gmake --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-solaris2.10 using bash 3.00 as the shell checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes grep complex config.log configure:33237: checking complex.h usability configure:33278: checking complex.h presence configure:33346: checking for complex.h configure:33370: checking for complex double | #include <complex.h> | volatile complex double z = - _Complex_I; ac_cv_header_complex_h=yes ac_cv_type_complex_double=yes gmake results in: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/opt/local/include -O2 -D_REENTRANT -pthreads -Wall -MT libguile_la-numbers.lo -MD -MP -MF .deps/libguile_la-numbers.Tpo -c numbers.c -fPIC -DPIC -o .libs/libguile_la-numbers.o numbers.c: In function `scm_log': numbers.c:6015: error: `_Complex_I' undeclared (first use in this function) numbers.c:6015: error: (Each undeclared identifier is reported only once numbers.c:6015: error: for each function it appears in.) numbers.c: In function `scm_exp': numbers.c:6081: error: `_Complex_I' undeclared (first use in this function) gmake[3]: *** [libguile_la-numbers.lo] Error 1 gmake distclean ./configure ac_cv_type_complex_double=no checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes grep complex config.log $ ./configure ac_cv_type_complex_double=no configure:33237: checking complex.h usability configure:33278: checking complex.h presence configure:33346: checking for complex.h configure:33370: checking for complex double configure:44363: running /bin/bash ./configure '--prefix=/opt/local' 'ac_cv_type_complex_double=no' 'CFLAGS=-I/opt/local/include -O2' 'LDFLAGS=-L/opt/local/lib -R/opt/local/lib' 'CPPFLAGS=-I/opt/local/include -O2' --cache-file=/dev/null --srcdir=. ac_cv_header_complex_h=yes ac_cv_type_complex_double=no compile warnings makeinfo --force -o guile-procedures.txt guile-procedures.texi || test -f guile-procedures.txt /tmp/guile-1.8.2/libguile//guile-procedures.texi:10308: Cross reference to nonexistent node `Backslash Escapes' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:10008: Cross reference to nonexistent node `Network Address Conversion' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:9957: Cross reference to nonexistent node `Network Databases' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:9907: Cross reference to nonexistent node `Network Databases' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:8767: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:8755: Cross reference to nonexistent node `Closing' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:8075: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:8068: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:8061: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:7975: Cross reference to nonexistent node `File Ports' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:7319: Cross reference to nonexistent node `Vtables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:5924: Cross reference to nonexistent node `Character Sets' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:5902: Cross reference to nonexistent node `Character Sets' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:4892: Cross reference to nonexistent node `Locales' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:3912: Cross reference to nonexistent node `File Ports' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:3690: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:3679: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:3668: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:2514: Cross reference to nonexistent node `File Ports' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:2096: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:2089: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:2082: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:1634: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /tmp/guile-1.8.2/libguile//guile-procedures.texi:1620: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). gmake check =================== All 10 tests passed =================== Running srfi-14.test UNRESOLVED: srfi-14.test: Latin-1 (8-bit charset): char-set:letter (membership) UNRESOLVED: srfi-14.test: Latin-1 (8-bit charset): char-set:letter (size) UNRESOLVED: srfi-14.test: Latin-1 (8-bit charset): char-set:lower-case (size) UNRESOLVED: srfi-14.test: Latin-1 (8-bit charset): char-set:upper-case (size) UNRESOLVED: srfi-14.test: Latin-1 (8-bit charset): char-set:punctuation (membership) Running srfi-19.test Running syntax.test UNRESOLVED: syntax.test: while: in empty environment: empty body UNRESOLVED: syntax.test: while: in empty environment: initially false UNRESOLVED: syntax.test: while: in empty environment: iterating Running threads.test Running time.test FAIL: time.test: strftime: C99 %z format: EST+5 Running unif.test Running version.test Running weaks.test Totals for this test run: passes: 11785 failures: 1 unexpected passes: 0 expected failures: 25 unresolved test cases: 8 untested test cases: 0 unsupported test cases: 11 errors: 0 FAIL: check-guile ================================== 1 of 1 tests failed Please report to bug-guile@gnu.org gmake distclean ./configure -C --with-threads ac_cv_type_complex_double=no ac_cv_header_complex_h=no configure:33227: checking for complex.h configure:33370: checking for complex double configure:44363: running /bin/bash ./configure '--prefix=/opt/local' '--with-threads' 'ac_cv_type_complex_double=no' 'ac_cv_header_complex_h=no' 'CFLAGS=-I/opt/local/include -O2' 'LDFLAGS=-L/opt/local/lib -R/opt/local/lib' 'CPPFLAGS=-I/opt/local/include -O2' --cache-file=../config.cache --srcdir=. ac_cv_header_complex_h=no ac_cv_type_complex_double=no same warnings as above. same test results >> How do I test for cexp() and friends? >Configure checks for clog10, which is supposed to be representative of >all the complex funcs, you can look in config.log or in config.h to see >if it was noticed. grep clog10 config.log configure:34931: checking for clog10 clog10 /var/tmp//cc5Tt5ui.o | /* Define clog10 to an innocuous variant, in case <limits.h> declares clog10. | #define clog10 innocuous_clog10 | which can conflict with char clog10 (); below. | #undef clog10 | char clog10 (); | #if defined __stub_clog10 || defined __stub___clog10 | return clog10 (); ac_cv_func_clog10=no configure says no thanks Kevin, alan _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile