This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by netCDF configure 3.6.3, which was generated by GNU Autoconf 2.62. Invocation command line was $ ./configure --enable-c-only --prefix=/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2 CC=cc CPPFLAGS=-I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 FC=ftn --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## hostname = clogin04 uname -m = x86_64 uname -r = 5.3.18-24.75-default uname -s = Linux uname -v = #1 SMP Thu Jul 15 10:17:58 UTC 2021 (44308a6) /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /apps/prod/hpc-stack/intel-19.1.3.304/cray-mpich-8.1.4/hdf5/1.10.6/bin PATH: /apps/prod/hpc-stack/intel-19.1.3.304/cray-mpich-8.1.4/netcdf/4.7.4/bin PATH: /apps/ops/prod/libs/intel/19.1.3.304/cray-mpich/8.1.4/nemsio/2.5.2/bin PATH: /apps/ops/prod/libs/intel/19.1.3.304/bufr/11.5.0/bin PATH: /apps/spack/libpng/1.6.37/intel/19.1.3.304/4ohkronuhlyherusoszzrmur5ewvlwzh/bin PATH: /apps/spack/jasper/2.0.25/intel/19.1.3.304/sjib74krrorkyczqpqah4tvewmlnqdx4/bin PATH: /apps/spack/cmake/3.20.2/intel/19.1.3.304/utnbptm3hrf7gppztidueu4jogfgemut/bin PATH: /apps/ops/prod/nco/core/prod_util.v2.0.8/ush PATH: /opt/cray/pe/pals/1.0.12/bin PATH: /pe/intel/compilers_and_libraries_2020.4.304/linux/bin/intel64 PATH: /pe/intel/compilers_and_libraries_2020.4.304/linux/bin PATH: /pe/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin PATH: /pe/intel/debugger_2020/gdb/intel64/bin PATH: /opt/cray/pe/craype/2.7.8/bin PATH: /opt/cray/libfabric/1.11.0.4.75/bin PATH: /opt/clmgr/sbin PATH: /opt/clmgr/bin PATH: /opt/sgi/sbin PATH: /opt/sgi/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/lib/mit/bin PATH: /usr/lib/mit/sbin PATH: /opt/pbs/bin PATH: /sbin PATH: /u/Jun.Du/bin PATH: /lfs/h2/emc/lam/noscrub/Jun.Du/dbrowse PATH: /usrx/local/emc_rocoto/1.2.3/bin PATH: /opt/cray/pe/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2200: netCDF 3.6.3 configure:2241: checking build system type configure:2259: result: x86_64-unknown-linux-gnu configure:2281: checking host system type configure:2296: result: x86_64-unknown-linux-gnu configure:2343: checking for a BSD-compatible install configure:2411: result: /usr/bin/install -c configure:2422: checking whether build environment is sane configure:2465: result: yes configure:2490: checking for a thread-safe mkdir -p configure:2529: result: /usr/bin/mkdir -p configure:2542: checking for gawk configure:2558: found /usr/bin/gawk configure:2569: result: gawk configure:2580: checking whether make sets $(MAKE) configure:2602: result: yes configure:2794: checking user options configure:2837: checking whether CXX is set to '' configure:2841: result: no configure:2845: checking whether FC is set to '' configure:2849: result: no configure:2853: checking whether F90 is set to '' configure:2857: result: no configure:2861: checking whether this is a netCDF-4.x build configure:2869: result: no configure:2961: checking whether netCDF extra tests should be run (developers only) configure:2969: result: no configure:2988: checking whether documentation is to be installed configure:2996: result: no configure:3008: checking whether Fortran compiler(s) should be tested during configure configure:3016: result: yes configure:3021: checking whether configure should try to set compiler flags configure:3029: result: yes configure:3033: checking whether FFIO will be used configure:3041: result: no configure:3054: checking whether to skip C++, F77, or F90 APIs if compiler is broken configure:3062: result: yes configure:3066: checking whether only the C library is desired configure:3074: result: yes configure:3093: checking whether examples should be built configure:3101: result: no configure:3105: checking whether F77 API is desired configure:3114: result: no configure:3119: checking whether F90 API is desired configure:3129: result: no configure:3133: checking whether fortran type sizes should be checked configure:3141: result: yes configure:3147: checking whether C API is desired configure:3155: result: yes configure:3162: checking where to get netCDF C-only library for separate fortran libraries configure:3178: result: configure:3193: checking whether CXX API is desired configure:3202: result: no configure:3213: checking whether v2 netCDF API should be built configure:3221: result: no configure:3240: checking whether the ncgen/ncdump should be built configure:3249: result: no configure:3261: checking whether large file (> 2GB) tests should be run configure:3269: result: no configure:3288: checking whether benchmaks should be run (experimental) configure:3296: result: no configure:3308: checking whether extreme numbers should be used in tests configure:3323: result: yes configure:3337: checking where to put large temp files if large file tests are run configure:3346: result: . configure:3357: checking whether a win32 DLL is desired configure:3365: result: no configure:3389: checking whether separate fortran libs are desired configure:3398: result: no configure:3468: finding C compiler configure:3588: checking for C compiler version configure:3596: cc --version >&5 icc (ICC) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:3600: $? = 0 configure:3607: cc -v >&5 icc version 19.1.3.304 (gcc version 7.5.0 compatibility) configure:3611: $? = 0 configure:3618: cc -V >&5 Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:3622: $? = 0 configure:3645: checking for C compiler default output file name configure:3667: cc -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:3671: $? = 0 configure:3709: result: a.out configure:3726: checking whether the C compiler works configure:3736: ./a.out configure:3740: $? = 0 configure:3757: result: yes configure:3764: checking whether we are cross compiling configure:3766: result: no configure:3769: checking for suffix of executables configure:3776: cc -o conftest -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:3780: $? = 0 configure:3804: result: configure:3810: checking for suffix of object files configure:3836: cc -c -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:3840: $? = 0 configure:3863: result: o configure:3867: checking whether we are using the GNU C compiler configure:3896: cc -c -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:3903: $? = 0 configure:3920: result: yes configure:3929: checking whether cc accepts -g configure:3959: cc -c -g -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:3966: $? = 0 configure:4067: result: yes configure:4084: checking for cc option to accept ISO C89 configure:4158: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:4165: $? = 0 configure:4188: result: none needed configure:4217: checking for style of include used by make configure:4245: result: GNU configure:4270: checking dependency style of cc configure:4361: result: gcc3 configure:4380: checking whether cc understands -c and -o together configure:4412: cc -c conftest.c -o conftest2.o >&5 configure:4416: $? = 0 configure:4422: cc -c conftest.c -o conftest2.o >&5 configure:4426: $? = 0 configure:4481: result: yes configure:4508: checking for an ANSI C-conforming const configure:4583: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:4590: $? = 0 configure:4605: result: yes configure:4636: finding Fortran compiler (will not be used if Fortran API is not desired) configure:5032: checking for Fortran compiler version configure:5040: ftn --version >&5 ifort (IFORT) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:5044: $? = 0 configure:5051: ftn -v >&5 ifort version 19.1.3.304 configure:5055: $? = 0 configure:5062: ftn -V >&5 Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:5066: $? = 0 configure:5074: checking whether we are using the GNU Fortran compiler configure:5093: ftn -c conftest.F >&5 conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( : % [ . = => choke me ---------------^ conftest.F(3): error #6218: This statement is positioned incorrectly and/or has syntax errors. choke me -------^ compilation aborted for conftest.F (code 1) configure:5100: $? = 1 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:5117: result: no configure:5123: checking whether ftn accepts -g configure:5140: ftn -c -g conftest.f >&5 configure:5147: $? = 0 configure:5163: result: yes configure:5313: checking for Fortran 77 compiler version configure:5321: ftn --version >&5 ifort (IFORT) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:5325: $? = 0 configure:5332: ftn -v >&5 ifort version 19.1.3.304 configure:5336: $? = 0 configure:5343: ftn -V >&5 Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:5347: $? = 0 configure:5355: checking whether we are using the GNU Fortran 77 compiler configure:5374: ftn -c conftest.F >&5 conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( : % [ . = => choke me ---------------^ conftest.F(3): error #6218: This statement is positioned incorrectly and/or has syntax errors. choke me -------^ compilation aborted for conftest.F (code 1) configure:5381: $? = 1 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:5398: result: no configure:5404: checking whether ftn accepts -g configure:5421: ftn -c -g conftest.f >&5 configure:5428: $? = 0 configure:5444: result: yes configure:5744: finding C++ compiler (will not be used if C++ API is not desired) configure:5811: checking for cl configure:5841: result: no configure:5811: checking for KCC configure:5841: result: no configure:5811: checking for CC configure:5827: found /opt/cray/pe/craype/2.7.8/bin/CC configure:5838: result: CC configure:5869: checking for C++ compiler version configure:5877: CC --version >&5 icpc (ICC) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:5881: $? = 0 configure:5888: CC -v >&5 icpc version 19.1.3.304 (gcc version 7.5.0 compatibility) configure:5892: $? = 0 configure:5899: CC -V >&5 Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:5903: $? = 0 configure:5906: checking whether we are using the GNU C++ compiler configure:5935: CC -c -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp >&5 configure:5942: $? = 0 configure:5959: result: yes configure:5968: checking whether CC accepts -g configure:5998: CC -c -g -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp >&5 configure:6005: $? = 0 configure:6106: result: yes configure:6131: checking dependency style of CC configure:6222: result: gcc3 configure:6295: setting up libtool configure:6323: checking for a sed that does not truncate output configure:6389: result: /usr/bin/sed configure:6407: checking for grep that handles long lines and -e configure:6467: result: /usr/bin/grep configure:6472: checking for egrep configure:6536: result: /usr/bin/grep -E configure:6541: checking for fgrep configure:6605: result: /usr/bin/grep -F configure:6640: checking for ld used by cc configure:6707: result: /usr/x86_64-suse-linux/bin/ld configure:6716: checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld configure:6731: result: yes configure:6743: checking for BSD- or MS-compatible name lister (nm) configure:6792: result: /usr/bin/nm -B configure:6914: checking the name lister (/usr/bin/nm -B) interface configure:6921: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:6924: /usr/bin/nm -B "conftest.o" configure:6927: output 0000000000000000 N .debug_info_seg 0000000000000000 B some_variable configure:6934: result: BSD nm configure:6937: checking whether ln -s works configure:6941: result: yes configure:6949: checking the maximum length of command line arguments configure:7069: result: 3458764513820540925 configure:7086: checking whether the shell understands some XSI constructs configure:7094: result: yes configure:7098: checking whether the shell understands "+=" configure:7104: result: yes configure:7139: checking for /usr/x86_64-suse-linux/bin/ld option to reload object files configure:7146: result: -r configure:7173: checking how to recognize dependent libraries configure:7363: result: pass_all configure:7423: checking for ar configure:7439: found /usr/bin/ar configure:7450: result: ar configure:7532: checking for strip configure:7548: found /usr/bin/strip configure:7559: result: strip configure:7635: checking for ranlib configure:7651: found /usr/bin/ranlib configure:7662: result: ranlib configure:7756: checking command to parse /usr/bin/nm -B output from cc object configure:7874: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:7877: $? = 0 configure:7881: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:7884: $? = 0 configure:7938: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c conftstm.o >&5 configure:7941: $? = 0 configure:7979: result: ok configure:8074: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:8077: $? = 0 configure:8562: checking how to run the C preprocessor configure:8602: cc -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c configure:8609: $? = 0 configure:8640: cc -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c conftest.c(13): error #2379: cannot open source file "ac_nonexistent.h" #include ^ configure:8647: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | /* end confdefs.h. */ | #include configure:8680: result: cc -E configure:8709: cc -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c configure:8716: $? = 0 configure:8747: cc -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c conftest.c(13): error #2379: cannot open source file "ac_nonexistent.h" #include ^ configure:8754: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | /* end confdefs.h. */ | #include configure:8792: checking for ANSI C header files configure:8822: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:8829: $? = 0 configure:8928: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:8932: $? = 0 configure:8938: ./conftest configure:8942: $? = 0 configure:8960: result: yes configure:8984: checking for sys/types.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for sys/stat.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for stdlib.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for string.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for memory.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for strings.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for inttypes.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for stdint.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:8984: checking for unistd.h configure:9005: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9012: $? = 0 configure:9029: result: yes configure:9046: checking for dlfcn.h configure:9067: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:9074: $? = 0 configure:9091: result: yes configure:9221: checking for C++ compiler version configure:9229: CC --version >&5 icpc (ICC) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:9233: $? = 0 configure:9240: CC -v >&5 icpc version 19.1.3.304 (gcc version 7.5.0 compatibility) configure:9244: $? = 0 configure:9251: CC -V >&5 Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:9255: $? = 0 configure:9258: checking whether we are using the GNU C++ compiler configure:9311: result: yes configure:9320: checking whether CC accepts -g configure:9458: result: yes configure:9483: checking dependency style of CC configure:9574: result: gcc3 configure:9597: checking how to run the C++ preprocessor configure:9633: CC -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp configure:9640: $? = 0 configure:9671: CC -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp conftest.cpp(24): error #2379: cannot open source file "ac_nonexistent.h" #include ^ configure:9678: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:9711: result: CC -E configure:9740: CC -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp configure:9747: $? = 0 configure:9778: CC -E -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp conftest.cpp(24): error #2379: cannot open source file "ac_nonexistent.h" #include ^ configure:9785: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:9936: checking for Fortran 77 compiler version configure:9944: ftn --version >&5 ifort (IFORT) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:9948: $? = 0 configure:9955: ftn -v >&5 ifort version 19.1.3.304 configure:9959: $? = 0 configure:9966: ftn -V >&5 Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:9970: $? = 0 configure:9978: checking whether we are using the GNU Fortran 77 compiler configure:10021: result: no configure:10027: checking whether ftn accepts -g configure:10067: result: yes configure:10214: checking for Fortran compiler version configure:10222: ftn --version >&5 ifort (IFORT) 19.1.3.304 20200925 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:10226: $? = 0 configure:10233: ftn -v >&5 ifort version 19.1.3.304 configure:10237: $? = 0 configure:10244: ftn -V >&5 Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. configure:10248: $? = 0 configure:10256: checking whether we are using the GNU Fortran compiler configure:10299: result: no configure:10305: checking whether ftn accepts -g configure:10345: result: yes configure:10827: checking for objdir configure:10842: result: .libs configure:11134: checking if cc supports -fno-rtti -fno-exceptions configure:11152: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -fno-rtti -fno-exceptions conftest.c >&5 configure:11156: $? = 0 configure:11169: result: yes configure:11189: checking for cc option to produce PIC configure:11446: result: -fPIC -DPIC configure:11458: checking if cc PIC flag -fPIC -DPIC works configure:11476: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:11480: $? = 0 configure:11493: result: yes configure:11517: checking if cc static flag -static works configure:11545: result: no configure:11560: checking if cc supports -c -o file.o configure:11581: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -o out/conftest2.o conftest.c >&5 configure:11585: $? = 0 configure:11607: result: yes configure:11615: checking if cc supports -c -o file.o configure:11662: result: yes configure:11695: checking whether the cc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries configure:12761: result: yes configure:13000: checking dynamic linker characteristics configure:13443: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:13450: $? = 0 configure:13683: result: GNU/Linux ld.so configure:13785: checking how to hardcode library paths into programs configure:13810: result: immediate configure:14651: checking whether stripping libraries is possible configure:14656: result: yes configure:14691: checking if libtool supports shared libraries configure:14693: result: yes configure:14696: checking whether to build shared libraries configure:14717: result: no configure:14720: checking whether to build static libraries configure:14724: result: yes configure:14874: checking for ld used by CC configure:14941: result: /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 configure:14950: checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld configure:14965: result: yes configure:15020: checking whether the CC linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries configure:15990: result: yes configure:16018: CC -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.cpp >&5 configure:16021: $? = 0 configure:16203: checking for CC option to produce PIC configure:16512: result: -fPIC -DPIC configure:16521: checking if CC PIC flag -fPIC -DPIC works configure:16539: CC -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:16543: $? = 0 configure:16556: result: yes configure:16577: checking if CC static flag -static works configure:16605: result: no configure:16617: checking if CC supports -c -o file.o configure:16638: CC -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -o out/conftest2.o conftest.cpp >&5 configure:16642: $? = 0 configure:16664: result: yes configure:16669: checking if CC supports -c -o file.o configure:16716: result: yes configure:16746: checking whether the CC linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries configure:16772: result: yes configure:16909: checking dynamic linker characteristics configure:17300: CC -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 -Wl,-rpath -Wl,/foo conftest.cpp >&5 configure:17307: $? = 0 configure:17540: result: GNU/Linux ld.so configure:17591: checking how to hardcode library paths into programs configure:17616: result: immediate configure:17757: checking if libtool supports shared libraries configure:17759: result: yes configure:17762: checking whether to build shared libraries configure:17782: result: no configure:17785: checking whether to build static libraries configure:17789: result: yes configure:17803: checking for ftn option to produce PIC configure:18060: result: configure:18125: checking if ftn static flag works configure:18153: result: yes configure:18165: checking if ftn supports -c -o file.o configure:18186: ftn -c -g -o out/conftest2.o conftest.f >&5 configure:18190: $? = 0 configure:18212: result: yes configure:18217: checking if ftn supports -c -o file.o configure:18264: result: yes configure:18294: checking whether the ftn linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries configure:19340: result: yes configure:19477: checking dynamic linker characteristics configure:19858: ftn -o conftest -g -rpath /foo conftest.f >&5 ifort: command line warning #10006: ignoring unknown option '-rpath' ifort: error #10236: File not found: '/foo' configure:19865: $? = 1 configure: failed program was: | program main | | end configure:20098: result: GNU/Linux ld.so configure:20149: checking how to hardcode library paths into programs configure:20174: result: immediate configure:20310: checking if libtool supports shared libraries configure:20312: result: yes configure:20315: checking whether to build shared libraries configure:20335: result: no configure:20338: checking whether to build static libraries configure:20342: result: yes configure:20368: ftn -c -g conftest.f >&5 configure:20371: $? = 0 configure:20481: checking for ftn option to produce PIC configure:20738: result: configure:20803: checking if ftn static flag works configure:20831: result: yes configure:20843: checking if ftn supports -c -o file.o configure:20864: ftn -c -g -o out/conftest2.o conftest.f >&5 configure:20868: $? = 0 configure:20890: result: yes configure:20895: checking if ftn supports -c -o file.o configure:20942: result: yes configure:20972: checking whether the ftn linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries configure:22018: result: yes configure:22155: checking dynamic linker characteristics configure:22536: ftn -o conftest -g -rpath /foo conftest.f >&5 ifort: command line warning #10006: ignoring unknown option '-rpath' ifort: error #10236: File not found: '/foo' configure:22543: $? = 1 configure: failed program was: | program main | | end configure:22776: result: GNU/Linux ld.so configure:22827: checking how to hardcode library paths into programs configure:22852: result: immediate configure:22900: finding other utilities configure:22917: checking for a BSD-compatible install configure:22985: result: /usr/bin/install -c configure:23051: trying to set flags for this platform configure:23056: checking if _HPUX_SOURCE should be set configure:23072: result: no configure:23077: checking if Solaris -Xa option is needed configure:23090: result: CFLAGS=-g -O2 configure:23116: checking if we need to set _LARGE_FILES despite results of previous tests configure:23147: result: _LARGE_FILES= configure:23157: checking for special C compiler options needed for large files configure:23252: result: no configure:23258: checking for _FILE_OFFSET_BITS value needed for large files configure:23293: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:23300: $? = 0 configure:23369: result: no configure:23507: displaying some results configure:23513: checking CPPFLAGS configure:23515: result: -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 configure:23517: checking CC CFLAGS configure:23519: result: cc -g -O2 configure:23522: checking type cc configure:23524: result: cc is /opt/cray/pe/craype/2.7.8/bin/cc configure:23527: checking CXX configure:23530: result: CC configure:23532: checking CXXFLAGS configure:23534: result: -g -O2 configure:23537: checking type CC configure:23539: result: CC is /opt/cray/pe/craype/2.7.8/bin/CC configure:23546: checking FC configure:23549: result: ftn configure:23551: checking FFLAGS configure:23553: result: -g configure:23556: checking type ftn configure:23558: result: ftn is /opt/cray/pe/craype/2.7.8/bin/ftn configure:23565: checking F90 configure:23580: result: unset configure:23584: checking AR configure:23587: result: ar configure:23589: checking AR_FLAGS configure:23591: result: cru configure:23594: checking type ar configure:23596: result: ar is /usr/bin/ar configure:23603: checking NM configure:23606: result: /usr/bin/nm -B configure:23608: checking NMFLAGS configure:23610: result: configure:24740: checking types, headers, and functions configure:24744: checking for stdlib.h configure:24749: result: yes configure:24887: checking for sys/types.h configure:24892: result: yes configure:25031: checking for stdbool.h that conforms to C99 configure:25126: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25133: $? = 0 configure:25148: result: yes configure:25150: checking for _Bool configure:25178: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25185: $? = 0 configure:25212: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(61): error: expected an expression if (sizeof ((_Bool))) ^ compilation aborted for conftest.c (code 2) configure:25219: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((_Bool))) | return 0; | ; | return 0; | } configure:25242: result: yes configure:25268: checking for strlcat configure:25324: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/icczSpJeX.o: in function `main': /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/conftest.c:61: undefined reference to `strlcat' configure:25331: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | /* end confdefs.h. */ | /* Define strlcat to an innocuous variant, in case declares strlcat. | For example, HP-UX 11i declares gettimeofday. */ | #define strlcat innocuous_strlcat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strlcat (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strlcat | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strlcat (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strlcat || defined __stub___strlcat | choke me | #endif | | int | main () | { | return strlcat (); | ; | return 0; | } configure:25353: result: no configure:25268: checking for strerror configure:25324: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25331: $? = 0 configure:25353: result: yes configure:25366: checking for working alloca.h configure:25393: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25400: $? = 0 configure:25420: result: yes configure:25430: checking for alloca configure:25477: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25484: $? = 0 configure:25504: result: yes configure:25740: checking whether isnan is declared configure:25770: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25777: $? = 0 configure:25792: result: yes configure:25808: checking whether isinf is declared configure:25838: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25845: $? = 0 configure:25860: result: yes configure:25876: checking whether isfinite is declared configure:25906: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25913: $? = 0 configure:25928: result: yes configure:25944: checking whether signbit is declared configure:25974: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:25981: $? = 0 configure:25996: result: yes configure:26264: checking for struct stat.st_blksize configure:26292: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:26299: $? = 0 configure:26357: result: yes configure:26374: checking for IEEE floating point format configure:26422: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:26426: $? = 0 configure:26432: ./conftest configure:26436: $? = 0 configure:26452: result: yes configure:26462: checking for size_t configure:26490: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:26497: $? = 0 configure:26524: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(72): error: expected an expression if (sizeof ((size_t))) ^ compilation aborted for conftest.c (code 2) configure:26531: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:26554: result: yes configure:26566: checking for off_t configure:26594: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:26601: $? = 0 configure:26628: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(72): error: expected an expression if (sizeof ((off_t))) ^ compilation aborted for conftest.c (code 2) configure:26635: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((off_t))) | return 0; | ; | return 0; | } configure:26658: result: yes configure:26670: checking for ssize_t configure:26698: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:26705: $? = 0 configure:26732: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(72): error: expected an expression if (sizeof ((ssize_t))) ^ compilation aborted for conftest.c (code 2) configure:26739: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:26762: result: yes configure:26772: checking for ptrdiff_t configure:26800: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:26807: $? = 0 configure:26834: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(73): error: expected an expression if (sizeof ((ptrdiff_t))) ^ compilation aborted for conftest.c (code 2) configure:26841: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | #define HAVE_SSIZE_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((ptrdiff_t))) | return 0; | ; | return 0; | } configure:26864: result: yes configure:26874: checking for uchar configure:26902: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(74): error: identifier "uchar" is undefined if (sizeof (uchar)) ^ compilation aborted for conftest.c (code 2) configure:26909: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | #define HAVE_SSIZE_T 1 | #define HAVE_PTRDIFF_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof (uchar)) | return 0; | ; | return 0; | } configure:26966: result: no configure:26981: checking whether char is unsigned configure:27009: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:27016: $? = 0 configure:27031: result: no configure:27041: checking whether byte ordering is bigendian configure:27066: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(39): error: identifier "neither" is undefined neither is defined; ^ conftest.c(39): error: expected a ";" neither is defined; ^ compilation aborted for conftest.c (code 2) configure:27073: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | #define HAVE_SSIZE_T 1 | #define HAVE_PTRDIFF_T 1 | /* end confdefs.h. */ | #if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) | neither is defined; | #endif | typedef int dummy; | configure:27117: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:27124: $? = 0 configure:27156: cc -c -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 conftest.c(45): error: identifier "not" is undefined not big endian ^ conftest.c(45): error: expected a ";" not big endian ^ conftest.c(48): warning #12: parsing restarts here after previous syntax error ; ^ compilation aborted for conftest.c (code 2) configure:27163: $? = 2 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "netCDF" | #define PACKAGE_TARNAME "netcdf" | #define PACKAGE_VERSION "3.6.3" | #define PACKAGE_STRING "netCDF 3.6.3" | #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" | #define PACKAGE "netcdf" | #define VERSION "3.6.3" | #define NO_NETCDF_2 1 | #define USE_EXTREME_NUMBERS 1 | #define TEMP_LARGE "." | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_STRERROR 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_DECL_ISNAN 1 | #define HAVE_DECL_ISINF 1 | #define HAVE_DECL_ISFINITE 1 | #define HAVE_DECL_SIGNBIT 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_ST_BLKSIZE 1 | #define HAVE_SSIZE_T 1 | #define HAVE_PTRDIFF_T 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:27415: result: no configure:27439: checking size of short configure:27742: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:27746: $? = 0 configure:27752: ./conftest configure:27756: $? = 0 configure:27780: result: 2 configure:27794: checking size of int configure:28097: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:28101: $? = 0 configure:28107: ./conftest configure:28111: $? = 0 configure:28135: result: 4 configure:28149: checking size of long configure:28452: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:28456: $? = 0 configure:28462: ./conftest configure:28466: $? = 0 configure:28490: result: 8 configure:28504: checking size of float configure:28807: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:28811: $? = 0 configure:28817: ./conftest configure:28821: $? = 0 configure:28845: result: 4 configure:28859: checking size of double configure:29162: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:29166: $? = 0 configure:29172: ./conftest configure:29176: $? = 0 configure:29200: result: 8 configure:29214: checking size of off_t configure:29517: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:29521: $? = 0 configure:29527: ./conftest configure:29531: $? = 0 configure:29555: result: 8 configure:29569: checking size of size_t configure:29872: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 configure:29876: $? = 0 configure:29882: ./conftest configure:29886: $? = 0 configure:29910: result: 8 configure:30009: checking for manual-page index command configure:30011: result: configure:30022: checking what to call the output of the ftpbin target configure:30031: result: binary-netcdf-3.6.3_nc3.tar ftn CC configure:30034: checking binary distribution directory configure:30042: result: /home/ftp/pub/binary/dummy_system configure:30701: checking for gawk configure:30728: result: gawk configure:30743: checking for flex configure:30759: found /usr/bin/flex configure:30770: result: flex configure:30807: flex conftest.l configure:30811: $? = 0 configure:30813: checking lex output file root configure:30829: result: lex.yy configure:30834: checking lex library configure:30853: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c >&5 /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/iccjRmNqB.o: in function `main': /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/conftest.l:16: undefined reference to `yywrap' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/iccjRmNqB.o: in function `yylex': /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/lex.yy.c:869: undefined reference to `yywrap' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/iccjRmNqB.o: in function `input': /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/lex.yy.c:1178: undefined reference to `yywrap' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/iccjRmNqB.o: in function `yylex': /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/lex.yy.c:869: undefined reference to `yywrap' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/iccjRmNqB.o: in function `input': /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/lex.yy.c:1178: undefined reference to `yywrap' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/tmp/iccjRmNqB.o:/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/lex.yy.c:1178: more undefined references to `yywrap' follow configure:30860: $? = 1 configure: failed program was: | | #line 2 "lex.yy.c" | | #define YY_INT_ALIGNED short int | | /* A lexical scanner generated by flex */ | | #define FLEX_SCANNER | #define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MINOR_VERSION 6 | #define YY_FLEX_SUBMINOR_VERSION 4 | #if YY_FLEX_SUBMINOR_VERSION > 0 | #define FLEX_BETA | #endif | | /* First, we deal with platform-specific or compiler-specific issues. */ | | /* begin standard C headers. */ | #include | #include | #include | #include | | /* end standard C headers. */ | | /* flex integer type definitions */ | | #ifndef FLEXINT_H | #define FLEXINT_H | | /* C99 systems have . Non-C99 systems may or may not. */ | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | * if you want the limit (max/min) macros for int types. | */ | #ifndef __STDC_LIMIT_MACROS | #define __STDC_LIMIT_MACROS 1 | #endif | | #include | typedef int8_t flex_int8_t; | typedef uint8_t flex_uint8_t; | typedef int16_t flex_int16_t; | typedef uint16_t flex_uint16_t; | typedef int32_t flex_int32_t; | typedef uint32_t flex_uint32_t; | #else | typedef signed char flex_int8_t; | typedef short int flex_int16_t; | typedef int flex_int32_t; | typedef unsigned char flex_uint8_t; | typedef unsigned short int flex_uint16_t; | typedef unsigned int flex_uint32_t; | | /* Limits of integral types. */ | #ifndef INT8_MIN | #define INT8_MIN (-128) | #endif | #ifndef INT16_MIN | #define INT16_MIN (-32767-1) | #endif | #ifndef INT32_MIN | #define INT32_MIN (-2147483647-1) | #endif | #ifndef INT8_MAX | #define INT8_MAX (127) | #endif | #ifndef INT16_MAX | #define INT16_MAX (32767) | #endif | #ifndef INT32_MAX | #define INT32_MAX (2147483647) | #endif | #ifndef UINT8_MAX | #define UINT8_MAX (255U) | #endif | #ifndef UINT16_MAX | #define UINT16_MAX (65535U) | #endif | #ifndef UINT32_MAX | #define UINT32_MAX (4294967295U) | #endif | | #ifndef SIZE_MAX | #define SIZE_MAX (~(size_t)0) | #endif | | #endif /* ! C99 */ | | #endif /* ! FLEXINT_H */ | | /* begin standard C++ headers. */ | | /* TODO: this is always defined, so inline it */ | #define yyconst const | | #if defined(__GNUC__) && __GNUC__ >= 3 | #define yynoreturn __attribute__((__noreturn__)) | #else | #define yynoreturn | #endif | | /* Returned upon end-of-file. */ | #define YY_NULL 0 | | /* Promotes a possibly negative, possibly signed char to an | * integer in range [0..255] for use as an array index. | */ | #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) | | /* Enter a start condition. This macro really ought to take a parameter, | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ | #define BEGIN (yy_start) = 1 + 2 * | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ | #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | /* Special action meaning "start processing a new file". */ | #define YY_NEW_FILE yyrestart( yyin ) | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ | #ifndef YY_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | * Ditto for the __ia64__ case accordingly. | */ | #define YY_BUF_SIZE 32768 | #else | #define YY_BUF_SIZE 16384 | #endif /* __ia64__ */ | #endif | | /* The state buf must be large enough to hold one state per character in the main buffer. | */ | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; | #endif | | #ifndef YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T | typedef size_t yy_size_t; | #endif | | extern int yyleng; | | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | | #define YY_LESS_LINENO(n) | #define YY_LINENO_REWIND_TO(ptr) | | /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | #define unput(c) yyunput( c, (yytext_ptr) ) | | #ifndef YY_STRUCT_YY_BUFFER_STATE | #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; | | char *yy_ch_buf; /* input buffer */ | char *yy_buf_pos; /* current position in input buffer */ | | /* Size of input buffer in bytes, not including room for EOB | * characters. | */ | int yy_buf_size; | | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ | int yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to | * delete it. | */ | int yy_is_our_buffer; | | /* Whether this is an "interactive" input source; if so, and | * if we're using stdio for input, then we want to use getc() | * instead of fread(), to make sure we stop fetching input after | * each newline. | */ | int yy_is_interactive; | | /* Whether we're considered to be at the beginning of a line. | * If so, '^' rules will be active on the next match, otherwise | * not. | */ | int yy_at_bol; | | int yy_bs_lineno; /**< The line count. */ | int yy_bs_column; /**< The column count. */ | | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; | | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | * shouldn't try reading from the input source any more. We might | * still have a bunch of tokens to match, though, because of | * possible backing-up. | * | * When we actually see the EOF, we change the status to "new" | * (via yyrestart()), so that the user can continue scanning by | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 | | }; | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | /* Stack of input buffers. */ | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". | * | * Returns the top of the stack, or NULL. | */ | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | : NULL) | /* Same as previous macro, but useful when we know that the buffer stack is not | * NULL or when we need an lvalue. For internal use only. | */ | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | int yyleng; | | /* Points to current character in buffer. */ | static char *yy_c_buf_p = NULL; | static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches | * instead of setting up a fresh yyin. A bit of a hack ... | */ | static int yy_did_buffer_switch_on_eof; | | void yyrestart ( FILE *input_file ); | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); | void yy_delete_buffer ( YY_BUFFER_STATE b ); | void yy_flush_buffer ( YY_BUFFER_STATE b ); | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); | void yypop_buffer_state ( void ); | | static void yyensure_buffer_stack ( void ); | static void yy_load_buffer_state ( void ); | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) | | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); | YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); | | void *yyalloc ( yy_size_t ); | void *yyrealloc ( void *, yy_size_t ); | void yyfree ( void * ); | | #define yy_new_buffer yy_create_buffer | #define yy_set_interactive(is_interactive) \ | { \ | if ( ! YY_CURRENT_BUFFER ){ \ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | #define yy_set_bol(at_bol) \ | { \ | if ( ! YY_CURRENT_BUFFER ){\ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | /* Begin user sect3 */ | typedef flex_uint8_t YY_CHAR; | | FILE *yyin = NULL, *yyout = NULL; | | typedef int yy_state_type; | | extern int yylineno; | int yylineno = 1; | | extern char *yytext; | #ifdef yytext_ptr | #undef yytext_ptr | #endif | #define yytext_ptr yytext | | static yy_state_type yy_get_previous_state ( void ); | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); | static int yy_get_next_buffer ( void ); | static void yynoreturn yy_fatal_error ( const char* msg ); | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ | (yytext_ptr) = yy_bp; \ | (yytext_ptr) -= (yy_more_len); \ | yyleng = (int) (yy_cp - (yytext_ptr)); \ | (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ | (yy_c_buf_p) = yy_cp; | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 | /* This struct is not used in this scanner, | but its presence is necessary. */ | struct yy_trans_info | { | flex_int32_t yy_verify; | flex_int32_t yy_nxt; | }; | static const flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | | static const flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | | static const YY_CHAR yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1 | } ; | | static const YY_CHAR yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | | static const flex_int16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | | static const flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | | static const flex_int16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | static const flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | extern int yy_flex_debug; | int yy_flex_debug = 0; | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | ++(yy_lp); \ | goto find_rule; \ | } | | static int yy_more_flag = 0; | static int yy_more_len = 0; | #define yymore() ((yy_more_flag) = 1) | #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" | #line 459 "lex.yy.c" | | #define INITIAL 0 | | #ifndef YY_NO_UNISTD_H | /* Special case for "unistd.h", since it is non-ANSI. We include it way | * down here because we want the user's section 1 to have been scanned first. | * The user has a chance to override it with an option. | */ | #include | #endif | | #ifndef YY_EXTRA_TYPE | #define YY_EXTRA_TYPE void * | #endif | | static int yy_init_globals ( void ); | | /* Accessor methods to globals. | These are made visible to non-reentrant scanners for convenience. */ | | int yylex_destroy ( void ); | | int yyget_debug ( void ); | | void yyset_debug ( int debug_flag ); | | YY_EXTRA_TYPE yyget_extra ( void ); | | void yyset_extra ( YY_EXTRA_TYPE user_defined ); | | FILE *yyget_in ( void ); | | void yyset_in ( FILE * _in_str ); | | FILE *yyget_out ( void ); | | void yyset_out ( FILE * _out_str ); | | int yyget_leng ( void ); | | char *yyget_text ( void ); | | int yyget_lineno ( void ); | | void yyset_lineno ( int _line_number ); | | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus | extern "C" int yywrap ( void ); | #else | extern int yywrap ( void ); | #endif | #endif | | #ifndef YY_NO_UNPUT | | static void yyunput ( int c, char *buf_ptr ); | | #endif | | #ifndef yytext_ptr | static void yy_flex_strncpy ( char *, const char *, int ); | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen ( const char * ); | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput ( void ); | #else | static int input ( void ); | #endif | | #endif | | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k */ | #define YY_READ_BUF_SIZE 16384 | #else | #define YY_READ_BUF_SIZE 8192 | #endif /* __ia64__ */ | #endif | | /* Copy whatever the last rule matched to the standard output. */ | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | * is returned in "result". | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ | int c = '*'; \ | int n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ | if ( c == '\n' ) \ | buf[n++] = (char) c; \ | if ( c == EOF && ferror( yyin ) ) \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ | else \ | { \ | errno=0; \ | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ | { \ | if( errno != EINTR) \ | { \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | break; \ | } \ | errno=0; \ | clearerr(yyin); \ | } \ | }\ | \ | | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | * we don't want an extra ';' after the "return" because that will cause | * some compilers to complain about unreachable statements. | */ | #ifndef yyterminate | #define yyterminate() return YY_NULL | #endif | | /* Number of entries by which start-condition stack grows. */ | #ifndef YY_START_STACK_INCR | #define YY_START_STACK_INCR 25 | #endif | | /* Report a fatal error. */ | #ifndef YY_FATAL_ERROR | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | | /* end tables serialization structures and prototypes */ | | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL | #define YY_DECL_IS_OURS 1 | | extern int yylex (void); | | #define YY_DECL int yylex (void) | #endif /* !YY_DECL */ | | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ | #ifndef YY_USER_ACTION | #define YY_USER_ACTION | #endif | | /* Code executed at the end of each rule. */ | #ifndef YY_BREAK | #define YY_BREAK /*LINTED*/break; | #endif | | #define YY_RULE_SETUP \ | YY_USER_ACTION | | /** The main scanner function which does all the work. | */ | YY_DECL | { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; | | if ( !(yy_init) ) | { | (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | | /* Create the reject buffer large enough to save one state per allowed character. */ | if ( ! (yy_state_buf) ) | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | if ( ! (yy_state_buf) ) | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | if ( ! (yy_start) ) | (yy_start) = 1; /* first start state */ | | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | | if ( ! YY_CURRENT_BUFFER ) { | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_load_buffer_state( ); | } | | { | #line 1 "conftest.l" | | #line 684 "lex.yy.c" | | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | { | (yy_more_len) = 0; | if ( (yy_more_flag) ) | { | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); | (yy_more_flag) = 0; | } | yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ | *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | yy_match: | do | { | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | { | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { | yy_act = yy_acclist[(yy_lp)]; | { | (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | | do_action: /* This label is used only to access EOF actions. */ | | switch ( yy_act ) | { /* beginning of action switch */ | case 1: | YY_RULE_SETUP | #line 2 "conftest.l" | { ECHO; } | YY_BREAK | case 2: | YY_RULE_SETUP | #line 3 "conftest.l" | { REJECT; } | YY_BREAK | case 3: | YY_RULE_SETUP | #line 4 "conftest.l" | { yymore (); } | YY_BREAK | case 4: | YY_RULE_SETUP | #line 5 "conftest.l" | { yyless (1); } | YY_BREAK | case 5: | YY_RULE_SETUP | #line 6 "conftest.l" | { yyless (input () != 0); } | YY_BREAK | case 6: | YY_RULE_SETUP | #line 7 "conftest.l" | { unput (yytext[0]); } | YY_BREAK | case 7: | YY_RULE_SETUP | #line 8 "conftest.l" | { BEGIN INITIAL; } | YY_BREAK | case 8: | YY_RULE_SETUP | #line 9 "conftest.l" | ECHO; | YY_BREAK | #line 792 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure | * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position | * of the first EOB in the buffer, since yy_c_buf_p will | * already have been incremented past the NUL character | * (since all states make transitions on EOB to the | * end-of-buffer state). Contrast this with the test | * in input(). | */ | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have | * yy_get_previous_state() go ahead and do it | * for us because it doesn't know how to deal | * with the possibility of jamming (and we don't | * want to build jamming into it because then it | * will run more slowly). | */ | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ | yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { | yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | | else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { | (yy_did_buffer_switch_on_eof) = 0; | | if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up | * yytext, we can now set up | * yy_c_buf_p so that if some total | * hoser (like flex itself) wants to | * call the scanner after we return the | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; | } | | else | { | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = | (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: | (yy_c_buf_p) = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; | } | | default: | YY_FATAL_ERROR( | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ | } /* end of user's declarations */ | } /* end of yylex */ | | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: | * EOB_ACT_LAST_MATCH - | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ | static int yy_get_next_buffer (void) | { | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | char *source = (yytext_ptr); | int number_to_move, i; | int ret_val; | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. | */ | return EOB_ACT_END_OF_FILE; | } | | else | { | /* We matched some text prior to the EOB, first | * process it. | */ | return EOB_ACT_LAST_MATCH; | } | } | | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { | int num_to_read = | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ | | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | (yy_n_chars), num_to_read ); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; | yyrestart( yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } | | else | ret_val = EOB_ACT_CONTINUE_SCAN; | | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | /* Extend the array by 50%, plus the number we really need. */ | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | /* "- 2" to take care of EOB's */ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); | } | | (yy_n_chars) += number_to_move; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | return ret_val; | } | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | static yy_state_type yy_get_previous_state (void) | { | yy_state_type yy_current_state; | char *yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; | } | | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | { | int yy_is_jam; | | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) | *(yy_state_ptr)++ = yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; | } | | #ifndef YY_NO_UNPUT | | static void yyunput (int c, char * yy_bp ) | { | char *yy_cp; | | yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ | *yy_cp = (yy_hold_char); | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ | int number_to_move = (yy_n_chars) + 2; | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | | (yytext_ptr) = yy_bp; | (yy_hold_char) = *yy_cp; | (yy_c_buf_p) = yy_cp; | } | | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput (void) | #else | static int input (void) | #endif | | { | int c; | | *(yy_c_buf_p) = (yy_hold_char); | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ | *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ | int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); | ++(yy_c_buf_p); | | switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() | * sees that we've accumulated a | * token and flags that we need to | * try matching the token before | * proceeding. But for input(), | * there's no matching to consider. | * So convert the EOB_ACT_LAST_MATCH | * to EOB_ACT_END_OF_FILE. | */ | | /* Reset buffer status. */ | yyrestart( yyin ); | | /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { | if ( yywrap( ) ) | return 0; | | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); | #else | return input(); | #endif | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | (yy_hold_char) = *++(yy_c_buf_p); | | return c; | } | #endif /* ifndef YY_NO_INPUT */ | | /** Immediately switch to a different input stream. | * @param input_file A readable stream. | * | * @note This function does not reset the start condition to @c INITIAL . | */ | void yyrestart (FILE * input_file ) | { | | if ( ! YY_CURRENT_BUFFER ){ | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_init_buffer( YY_CURRENT_BUFFER, input_file ); | yy_load_buffer_state( ); | } | | /** Switch to a different input buffer. | * @param new_buffer The new input buffer. | * | */ | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | { | | /* TODO. We should be able to replace this entire function body | * with | * yypop_buffer_state(); | * yypush_buffer_state(new_buffer); | */ | yyensure_buffer_stack (); | if ( YY_CURRENT_BUFFER == new_buffer ) | return; | | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ | (yy_did_buffer_switch_on_eof) = 1; | } | | static void yy_load_buffer_state (void) | { | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | (yy_hold_char) = *(yy_c_buf_p); | } | | /** Allocate and initialize an input buffer state. | * @param file A readable stream. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | * | * @return the allocated buffer state. | */ | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | { | YY_BUFFER_STATE b; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_buf_size = size; | | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | | yy_init_buffer( b, file ); | | return b; | } | | /** Destroy the buffer. | * @param b a buffer created with yy_create_buffer() | * | */ | void yy_delete_buffer (YY_BUFFER_STATE b ) | { | | if ( ! b ) | return; | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) | yyfree( (void *) b->yy_ch_buf ); | | yyfree( (void *) b ); | } | | /* Initializes or reinitializes a buffer. | * This function is sometimes called more than once on the same buffer, | * such as during a yyrestart() or at EOF. | */ | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | { | int oerrno = errno; | | yy_flush_buffer( b ); | | b->yy_input_file = file; | b->yy_fill_buffer = 1; | | /* If b is the current buffer, then yy_init_buffer was _probably_ | * called from yyrestart() or through yy_get_next_buffer. | * In that case, we don't want to reset the lineno or column. | */ | if (b != YY_CURRENT_BUFFER){ | b->yy_bs_lineno = 1; | b->yy_bs_column = 0; | } | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | errno = oerrno; | } | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | * | */ | void yy_flush_buffer (YY_BUFFER_STATE b ) | { | if ( ! b ) | return; | | b->yy_n_chars = 0; | | /* We always need two end-of-buffer characters. The first causes | * a transition to the end-of-buffer state. The second causes | * a jam in that state. | */ | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | | if ( b == YY_CURRENT_BUFFER ) | yy_load_buffer_state( ); | } | | /** Pushes the new state onto the stack. The new state becomes | * the current state. This function will allocate the stack | * if necessary. | * @param new_buffer The new state. | * | */ | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | { | if (new_buffer == NULL) | return; | | yyensure_buffer_stack(); | | /* This block is copied from yy_switch_to_buffer. */ | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | /* Only push if top exists. Otherwise, replace top. */ | if (YY_CURRENT_BUFFER) | (yy_buffer_stack_top)++; | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | /* copied from yy_switch_to_buffer. */ | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | | /** Removes and deletes the top of the stack, if present. | * The next element becomes the new top. | * | */ | void yypop_buffer_state (void) | { | if (!YY_CURRENT_BUFFER) | return; | | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | if ((yy_buffer_stack_top) > 0) | --(yy_buffer_stack_top); | | if (YY_CURRENT_BUFFER) { | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | } | | /* Allocates the stack if it does not exist. | * Guarantees space for at least one push. | */ | static void yyensure_buffer_stack (void) | { | yy_size_t num_to_alloc; | | if (!(yy_buffer_stack)) { | | /* First allocation is just for 2 elements, since we don't know if this | * scanner will even need a stack. We use 2 instead of 1 to avoid an | * immediate realloc on the next call. | */ | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | (num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | (yy_buffer_stack_top) = 0; | return; | } | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | /* Increase the buffer to prepare for a possible push. */ | yy_size_t grow_size = 8 /* arbitrary grow size */; | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ((yy_buffer_stack), | num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | /* zero only the new slots.*/ | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | (yy_buffer_stack_max) = num_to_alloc; | } | } | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | * @param base the character buffer | * @param size the size in bytes of the character buffer | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | { | YY_BUFFER_STATE b; | | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return NULL; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | b->yy_buf_pos = b->yy_ch_buf = base; | b->yy_is_our_buffer = 0; | b->yy_input_file = NULL; | b->yy_n_chars = b->yy_buf_size; | b->yy_is_interactive = 0; | b->yy_at_bol = 1; | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | | yy_switch_to_buffer( b ); | | return b; | } | | /** Setup the input buffer state to scan a string. The next call to yylex() will | * scan from a @e copy of @a str. | * @param yystr a NUL-terminated string to scan | * | * @return the newly allocated buffer state object. | * @note If you want to scan bytes that may contain NUL values, then use | * yy_scan_bytes() instead. | */ | YY_BUFFER_STATE yy_scan_string (const char * yystr ) | { | | return yy_scan_bytes( yystr, (int) strlen(yystr) ); | } | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | * scan from a @e copy of @a bytes. | * @param yybytes the byte buffer to scan | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) | { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; | int i; | | /* Get memory for full buffer, including space for trailing EOB's. */ | n = (yy_size_t) (_yybytes_len + 2); | buf = (char *) yyalloc( n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | for ( i = 0; i < _yybytes_len; ++i ) | buf[i] = yybytes[i]; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | b = yy_scan_buffer( buf, n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | /* It's okay to grow etc. this buffer, and we should throw it | * away when we're done. | */ | b->yy_is_our_buffer = 1; | | return b; | } | | #ifndef YY_EXIT_FAILURE | #define YY_EXIT_FAILURE 2 | #endif | | static void yynoreturn yy_fatal_error (const char* msg ) | { | fprintf( stderr, "%s\n", msg ); | exit( YY_EXIT_FAILURE ); | } | | /* Redefine yyless() so it works in section 3 code. */ | | #undef yyless | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | yytext[yyleng] = (yy_hold_char); \ | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | (yy_hold_char) = *(yy_c_buf_p); \ | *(yy_c_buf_p) = '\0'; \ | yyleng = yyless_macro_arg; \ | } \ | while ( 0 ) | | /* Accessor methods (get/set functions) to struct members. */ | | /** Get the current line number. | * | */ | int yyget_lineno (void) | { | | return yylineno; | } | | /** Get the input stream. | * | */ | FILE *yyget_in (void) | { | return yyin; | } | | /** Get the output stream. | * | */ | FILE *yyget_out (void) | { | return yyout; | } | | /** Get the length of the current token. | * | */ | int yyget_leng (void) | { | return yyleng; | } | | /** Get the current token. | * | */ | | char *yyget_text (void) | { | return yytext; | } | | /** Set the current line number. | * @param _line_number line number | * | */ | void yyset_lineno (int _line_number ) | { | | yylineno = _line_number; | } | | /** Set the input stream. This does not discard the current | * input buffer. | * @param _in_str A readable stream. | * | * @see yy_switch_to_buffer | */ | void yyset_in (FILE * _in_str ) | { | yyin = _in_str ; | } | | void yyset_out (FILE * _out_str ) | { | yyout = _out_str ; | } | | int yyget_debug (void) | { | return yy_flex_debug; | } | | void yyset_debug (int _bdebug ) | { | yy_flex_debug = _bdebug ; | } | | static int yy_init_globals (void) | { | /* Initialization is the same as for the non-reentrant scanner. | * This function is called from yylex_destroy(), so don't allocate here. | */ | | (yy_buffer_stack) = NULL; | (yy_buffer_stack_top) = 0; | (yy_buffer_stack_max) = 0; | (yy_c_buf_p) = NULL; | (yy_init) = 0; | (yy_start) = 0; | | (yy_state_buf) = 0; | (yy_state_ptr) = 0; | (yy_full_match) = 0; | (yy_lp) = 0; | | /* Defined in main.c */ | #ifdef YY_STDINIT | yyin = stdin; | yyout = stdout; | #else | yyin = NULL; | yyout = NULL; | #endif | | /* For future reference: Set errno on error, since we are called by | * yylex_init() | */ | return 0; | } | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | int yylex_destroy (void) | { | | /* Pop the buffer stack, destroying each element. */ | while(YY_CURRENT_BUFFER){ | yy_delete_buffer( YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | yypop_buffer_state(); | } | | /* Destroy the stack itself. */ | yyfree((yy_buffer_stack) ); | (yy_buffer_stack) = NULL; | | yyfree ( (yy_state_buf) ); | (yy_state_buf) = NULL; | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | * yylex() is called, initialization will occur. */ | yy_init_globals( ); | | return 0; | } | | /* | * Internal utility routines. | */ | | #ifndef yytext_ptr | static void yy_flex_strncpy (char* s1, const char * s2, int n ) | { | | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; | } | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (const char * s ) | { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; | } | #endif | | void *yyalloc (yy_size_t size ) | { | return malloc(size); | } | | void *yyrealloc (void * ptr, yy_size_t size ) | { | | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter | * because both ANSI C and C++ allow castless assignment from | * any pointer type to void*, and deal with argument conversions | * as though doing an assignment. | */ | return realloc(ptr, size); | } | | void yyfree (void * ptr ) | { | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | } | | #define YYTABLES_NAME "yytables" | | #line 9 "conftest.l" | | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif | int | main (void) | { | return ! yylex () + ! yywrap (); | } configure:30853: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c -lfl >&5 configure:30860: $? = 0 configure:30884: result: -lfl configure:30890: checking whether yytext is a pointer configure:30911: cc -o conftest -g -O2 -I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2 conftest.c -lfl >&5 configure:30918: $? = 0 configure:30940: result: yes configure:30952: checking whether ln -s works configure:30956: result: yes configure:30963: checking whether make sets $(MAKE) configure:30985: result: yes configure:31009: generating header files and makefiles configure:31348: creating ./config.status ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_bigendian=no ac_cv_c_char_unsigned=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_ieeefloat=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FCFLAGS_set= ac_cv_env_FCFLAGS_value= ac_cv_env_FC_set=set ac_cv_env_FC_value=ftn ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_f77_compiler_gnu=no ac_cv_fc_compiler_gnu=no ac_cv_func_alloca_works=yes ac_cv_func_strerror=yes ac_cv_func_strlcat=no ac_cv_have_decl_isfinite=yes ac_cv_have_decl_isinf=yes ac_cv_have_decl_isnan=yes ac_cv_have_decl_signbit=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_lib_lex=-lfl ac_cv_member_struct_stat_st_blksize=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='cc -E' ac_cv_prog_CXXCPP='CC -E' ac_cv_prog_LEX=flex ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CXX=CC ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_cc_c_o=yes ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_f77_g=yes ac_cv_prog_f90_uppercase_mod=no ac_cv_prog_fc_g=yes ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=yes ac_cv_prog_make_make_set=yes ac_cv_sizeof_double=8 ac_cv_sizeof_float=4 ac_cv_sizeof_int=4 ac_cv_sizeof_long=8 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=8 ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_type__Bool=yes ac_cv_type_off_t=yes ac_cv_type_ptrdiff_t=yes ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_uchar=no ac_cv_working_alloca_h=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/x86_64-suse-linux/bin/ld lt_cv_path_LDCXX='/usr/x86_64-suse-linux/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_c_o_F77=yes lt_cv_prog_compiler_c_o_FC=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=yes lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_compiler_static_works_F77=yes lt_cv_prog_compiler_static_works_FC=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=3458764513820540925 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/missing --run aclocal-1.10' ALLOCA='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/missing --run tar' AR='ar' AS='as' AUTOCONF='${SHELL} /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/missing --run autoconf' AUTOHEADER='${SHELL} /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/missing --run autoheader' AUTOMAKE='${SHELL} /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/missing --run automake-1.10' AWK='gawk' BINFILE_NAME='binary-netcdf-3.6.3_nc3.tar' BUILD_BENCHMARKS_FALSE='' BUILD_BENCHMARKS_TRUE='#' BUILD_CXX4_FALSE='' BUILD_CXX4_TRUE='#' BUILD_CXX_FALSE='' BUILD_CXX_TRUE='#' BUILD_C_FALSE='#' BUILD_C_TRUE='' BUILD_DAP_FALSE='' BUILD_DAP_TRUE='#' BUILD_DLL_FALSE='' BUILD_DLL_TRUE='#' BUILD_EXAMPLES_FALSE='' BUILD_EXAMPLES_TRUE='#' BUILD_F77_FALSE='' BUILD_F77_TRUE='#' BUILD_F90_FALSE='' BUILD_F90_TRUE='#' BUILD_SEPARATE_FORTRAN_FALSE='' BUILD_SEPARATE_FORTRAN_TRUE='#' BUILD_SHARED_FALSE='' BUILD_SHARED_TRUE='#' BUILD_UTILITIES_FALSE='' BUILD_UTILITIES_TRUE='#' BUILD_V2_FALSE='' BUILD_V2_TRUE='#' CC='cc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='cc -E' CPPFLAGS='-I/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/include -O2' CXX='CC' CXXCPP='CC -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='dlltool' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' EXTRA_EXAMPLE_TESTS_FALSE='' EXTRA_EXAMPLE_TESTS_TRUE='#' EXTRA_TESTS_FALSE='' EXTRA_TESTS_TRUE='#' F77='ftn' FC='ftn' FCFLAGS='-g' FCFLAGS_f90='' FFLAGS='-g' FGREP='/usr/bin/grep -F' FTPBINDIR='/home/ftp/pub/binary/dummy_system' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_DOCS_FALSE='' INSTALL_DOCS_TRUE='#' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LARGE_FILE_TESTS_FALSE='' LARGE_FILE_TESTS_TRUE='#' LD='/usr/x86_64-suse-linux/bin/ld -m elf_x86_64' LDFLAGS='' LEX='flex' LEXLIB='-lfl' LEX_OUTPUT_ROOT='lex.yy' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/missing --run makeinfo' MAKEWHATIS_CMD='' MKDIR_P='/usr/bin/mkdir -p' MOD_FLAG='' NETCDF_C_LIB='' NM='/usr/bin/nm -B' NMEDIT='' NMFLAGS='' OBJDUMP='objdump' OBJEXT='o' PACKAGE='netcdf' PACKAGE_BUGREPORT='support@unidata.ucar.edu' PACKAGE_NAME='netCDF' PACKAGE_STRING='netCDF 3.6.3' PACKAGE_TARNAME='netcdf' PACKAGE_VERSION='3.6.3' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHAREEXT='so' SHELL='/bin/sh' STRIP='strip' TEST_F77_FALSE='' TEST_F77_TRUE='#' TEST_PARALLEL_FALSE='' TEST_PARALLEL_TRUE='#' UPPER_CASE_MOD_FALSE='' UPPER_CASE_MOD_TRUE='#' USE_C99_TYPES_FALSE='#' USE_C99_TYPES_TRUE='' USE_FFIO_FALSE='' USE_FFIO_TRUE='#' USE_HDF5_DIR_FALSE='' USE_HDF5_DIR_TRUE='#' USE_LOGGING_FALSE='' USE_LOGGING_TRUE='#' USE_NETCDF4_FALSE='' USE_NETCDF4_TRUE='#' USE_NETCDF_C_LIB_DIR_FALSE='' USE_NETCDF_C_LIB_DIR_TRUE='#' USE_RENAMEV3_FALSE='' USE_RENAMEV3_TRUE='#' USE_SZLIB_DIR_FALSE='' USE_SZLIB_DIR_TRUE='#' USE_ZLIB_DIR_FALSE='' USE_ZLIB_DIR_TRUE='#' VERSION='3.6.3' WHATIS='whatis' ac_ct_CC='' ac_ct_CXX='CC' ac_ct_DUMPBIN='' ac_ct_F77='' ac_ct_FC='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2/netcdf-3.6.3/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='/usr/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/lfs/h2/emc/vpppg/noscrub/Jun.Du/pcpanl/urma.v2.9.0/lib/grib2' prog='' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "netCDF" #define PACKAGE_TARNAME "netcdf" #define PACKAGE_VERSION "3.6.3" #define PACKAGE_STRING "netCDF 3.6.3" #define PACKAGE_BUGREPORT "support@unidata.ucar.edu" #define PACKAGE "netcdf" #define VERSION "3.6.3" #define NO_NETCDF_2 1 #define USE_EXTREME_NUMBERS 1 #define TEMP_LARGE "." #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE__BOOL 1 #define HAVE_STDBOOL_H 1 #define HAVE_STRERROR 1 #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define HAVE_DECL_ISNAN 1 #define HAVE_DECL_ISINF 1 #define HAVE_DECL_ISFINITE 1 #define HAVE_DECL_SIGNBIT 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_SSIZE_T 1 #define HAVE_PTRDIFF_T 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define SIZEOF_FLOAT 4 #define SIZEOF_DOUBLE 8 #define SIZEOF_OFF_T 8 #define SIZEOF_SIZE_T 8 #define YYTEXT_POINTER 1 configure: exit 0 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by netCDF config.status 3.6.3, which was generated by GNU Autoconf 2.62. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on clogin04 config.status:1276: creating Makefile config.status:1276: creating man/Makefile config.status:1276: creating man4/Makefile config.status:1276: creating fortran/Makefile config.status:1276: creating libsrc/Makefile config.status:1276: creating libsrc4/Makefile config.status:1276: creating nctest/Makefile config.status:1276: creating nc_test4/Makefile config.status:1276: creating nc_test/Makefile config.status:1276: creating ncdump/Makefile config.status:1276: creating ncgen/Makefile config.status:1276: creating nf_test/Makefile config.status:1276: creating cxx/Makefile config.status:1276: creating cxx4/Makefile config.status:1276: creating f90/Makefile config.status:1276: creating examples/Makefile config.status:1276: creating examples/C/Makefile config.status:1276: creating examples/CDL/Makefile config.status:1276: creating examples/CXX/Makefile config.status:1276: creating examples/CXX4/Makefile config.status:1276: creating examples/F90/Makefile config.status:1276: creating examples/F77/Makefile config.status:1276: creating win32/Makefile config.status:1276: creating win32/NET/Makefile config.status:1276: creating win32/NET/libsrc/Makefile config.status:1276: creating win32/NET/ncdump/Makefile config.status:1276: creating win32/NET/ncgen/Makefile config.status:1276: creating win32/NET/examples/Makefile config.status:1276: creating win32/NET/nctest/Makefile config.status:1276: creating win32/NET/nc_test/Makefile config.status:1276: creating config.h config.status:1498: config.h is unchanged config.status:1276: creating fortran/nfconfig1.inc config.status:1498: fortran/nfconfig1.inc is unchanged config.status:1549: executing depfiles commands config.status:1549: executing libtool commands ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by netCDF config.status 3.6.3, which was generated by GNU Autoconf 2.62. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status config.h on clogin04 config.status:1276: creating config.h config.status:1498: config.h is unchanged