clang: error: no such file or directory: '_REENTRANT'












0















I am trying to install UDUNITS-2 package for the graphical visual browser: ncview.



Can anyone help me understand the following error message:



clang: error: no such file or directory: '_REENTRANT'


A similar question was given here ---> Xcode 7.2 - clang: error: no such file or directory:



My ./configure output:



brendan-darrer:Downloads brendandarrer$ cd src/
brendan-darrer:src brendandarrer$ ls
COPYRIGHT INSTALL NOTEBOOK README VERSION admin configure.in perl udunits
CUSTOMIZE Makefile.in ORIGIN RELEASE_NOTES aclocal.m4 configure lib port
brendan-darrer:src brendandarrer$ ./configure
creating cache ./config.cache
configure: warning: reading configuration customizations
checking type of operating system... darwin
checking for c89... c89
checking for dependency generation mechanism... c89 -M
checking how to run the C preprocessor... c89 -E
checking the C preprocessor... works
checking for C const... yes
checking for C volatile... yes
checking for C signed... yes
checking for C function prototypes... yes
checking for standard C variadic functions... yes
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
[-o outfile] [-O optlevel] [-U name]... operand ...
checking for standard C string generation... yes
checking for standard C token pasting... yes
checking C void pointer... yes
checking type of machine... x86_64
checking for ar... ar
checking for tar flags... -chof
checking for ranlib... ranlib
checking binary distribution directory... /home/ftp/pub/binary/x86_64-darwin
checking the installation prefix... /Users/brendandarrer/Downloads
checking the installation exec-prefix... /Users/brendandarrer/Downloads/bin
checking for neqn... neqn
checking for tbl... tbl
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
[-o outfile] [-O optlevel] [-U name]... operand ...
checking C header file <stddef.h> for typedef size_t... declared
checking for ar... (cached) ar
checking for float.h... yes
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
[-o outfile] [-O optlevel] [-U name]... operand ...
checking C header file <stdlib.h> for typedef size_t... declared
checking for atexit... yes
checking C header file <stdlib.h> for function atexit()... declared
checking for getenv... yes
checking C header file <stdlib.h> for function getenv()... declared
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
[-o outfile] [-O optlevel] [-U name]... operand ...
checking C header file <string.h> for typedef size_t... declared
checking for strerror... yes
checking C header file <string.h> for function strerror()... declared
checking for strstr... yes
checking C header file <string.h> for function strstr()... declared
checking for memmove... yes
checking C header file <string.h> for function memmove()... declared
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
[-o outfile] [-O optlevel] [-U name]... operand ...
checking C header file <time.h> for typedef time_t... declared
checking C header file <time.h> for typedef size_t... declared
checking for difftime... yes
checking C header file <time.h> for function difftime()... declared
checking for strftime... yes
checking C header file <time.h> for function strftime()... declared
checking for perl... perl
checking for type of perl executable to create... dynamic
checking for position-independent compilation flags... ''
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating udunits/Makefile
creating perl/Makefile.PL
creating port/master.mk
creating port/Makefile
creating port/misc/Makefile
creating port/fortc/Makefile
creating port/misc/udposix.h
creating port/misc/stdarg.h
creating port/misc/stddef.h
creating port/misc/stdlib.h
creating port/misc/string.h
creating port/misc/time.h
expanding `include's in file `Makefile'
expanding `include's in file `lib/Makefile'
expanding `include's in file `udunits/Makefile'
expanding `include's in file `perl/Makefile.PL'
expanding `include's in file `port/master.mk'
expanding `include's in file `port/Makefile'
expanding `include's in file `port/misc/Makefile'
expanding `include's in file `port/fortc/Makefile'
brendan-darrer:src brendandarrer$ make
Makefile:279: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:276: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:384: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:381: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:418: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
Makefile:415: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
Makefile:448: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:445: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:503: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
Makefile:491: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
Makefile:541: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
Makefile:538: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

making `all' in directory /Users/brendandarrer/Downloads/src/port

Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

making `all' in directory /Users/brendandarrer/Downloads/src/port/misc

Makefile:285: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:282: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
Makefile:390: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:387: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
Makefile:424: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
Makefile:421: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
Makefile:454: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:451: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
Makefile:509: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
Makefile:497: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
Makefile:547: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
Makefile:544: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
c89 -c -g -I. -D_REENTRANT uddummy.c
clang: error: no such file or directory: '_REENTRANT'
make[3]: *** [uddummy.o] Error 1
make[2]: *** [misc/all] Error 1
make[1]: *** [subdirs/all] Error 2
make: *** [port/all] Error 1
brendan-darrer:src brendandarrer$









share|improve this question





























    0















    I am trying to install UDUNITS-2 package for the graphical visual browser: ncview.



    Can anyone help me understand the following error message:



    clang: error: no such file or directory: '_REENTRANT'


    A similar question was given here ---> Xcode 7.2 - clang: error: no such file or directory:



    My ./configure output:



    brendan-darrer:Downloads brendandarrer$ cd src/
    brendan-darrer:src brendandarrer$ ls
    COPYRIGHT INSTALL NOTEBOOK README VERSION admin configure.in perl udunits
    CUSTOMIZE Makefile.in ORIGIN RELEASE_NOTES aclocal.m4 configure lib port
    brendan-darrer:src brendandarrer$ ./configure
    creating cache ./config.cache
    configure: warning: reading configuration customizations
    checking type of operating system... darwin
    checking for c89... c89
    checking for dependency generation mechanism... c89 -M
    checking how to run the C preprocessor... c89 -E
    checking the C preprocessor... works
    checking for C const... yes
    checking for C volatile... yes
    checking for C signed... yes
    checking for C function prototypes... yes
    checking for standard C variadic functions... yes
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
    usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
    [-o outfile] [-O optlevel] [-U name]... operand ...
    checking for standard C string generation... yes
    checking for standard C token pasting... yes
    checking C void pointer... yes
    checking type of machine... x86_64
    checking for ar... ar
    checking for tar flags... -chof
    checking for ranlib... ranlib
    checking binary distribution directory... /home/ftp/pub/binary/x86_64-darwin
    checking the installation prefix... /Users/brendandarrer/Downloads
    checking the installation exec-prefix... /Users/brendandarrer/Downloads/bin
    checking for neqn... neqn
    checking for tbl... tbl
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
    usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
    [-o outfile] [-O optlevel] [-U name]... operand ...
    checking C header file <stddef.h> for typedef size_t... declared
    checking for ar... (cached) ar
    checking for float.h... yes
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
    usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
    [-o outfile] [-O optlevel] [-U name]... operand ...
    checking C header file <stdlib.h> for typedef size_t... declared
    checking for atexit... yes
    checking C header file <stdlib.h> for function atexit()... declared
    checking for getenv... yes
    checking C header file <stdlib.h> for function getenv()... declared
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
    usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
    [-o outfile] [-O optlevel] [-U name]... operand ...
    checking C header file <string.h> for typedef size_t... declared
    checking for strerror... yes
    checking C header file <string.h> for function strerror()... declared
    checking for strstr... yes
    checking C header file <string.h> for function strstr()... declared
    checking for memmove... yes
    checking C header file <string.h> for function memmove()... declared
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
    usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
    [-o outfile] [-O optlevel] [-U name]... operand ...
    checking C header file <time.h> for typedef time_t... declared
    checking C header file <time.h> for typedef size_t... declared
    checking for difftime... yes
    checking C header file <time.h> for function difftime()... declared
    checking for strftime... yes
    checking C header file <time.h> for function strftime()... declared
    checking for perl... perl
    checking for type of perl executable to create... dynamic
    checking for position-independent compilation flags... ''
    updating cache ./config.cache
    creating ./config.status
    creating Makefile
    creating lib/Makefile
    creating udunits/Makefile
    creating perl/Makefile.PL
    creating port/master.mk
    creating port/Makefile
    creating port/misc/Makefile
    creating port/fortc/Makefile
    creating port/misc/udposix.h
    creating port/misc/stdarg.h
    creating port/misc/stddef.h
    creating port/misc/stdlib.h
    creating port/misc/string.h
    creating port/misc/time.h
    expanding `include's in file `Makefile'
    expanding `include's in file `lib/Makefile'
    expanding `include's in file `udunits/Makefile'
    expanding `include's in file `perl/Makefile.PL'
    expanding `include's in file `port/master.mk'
    expanding `include's in file `port/Makefile'
    expanding `include's in file `port/misc/Makefile'
    expanding `include's in file `port/fortc/Makefile'
    brendan-darrer:src brendandarrer$ make
    Makefile:279: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:276: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:384: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:381: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:418: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:415: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:448: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:445: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:503: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:491: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:541: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
    Makefile:538: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

    making `all' in directory /Users/brendandarrer/Downloads/src/port

    Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
    Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
    Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
    Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

    making `all' in directory /Users/brendandarrer/Downloads/src/port/misc

    Makefile:285: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:282: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
    Makefile:390: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:387: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
    Makefile:424: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:421: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
    Makefile:454: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:451: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
    Makefile:509: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:497: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
    Makefile:547: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
    Makefile:544: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
    c89 -c -g -I. -D_REENTRANT uddummy.c
    clang: error: no such file or directory: '_REENTRANT'
    make[3]: *** [uddummy.o] Error 1
    make[2]: *** [misc/all] Error 1
    make[1]: *** [subdirs/all] Error 2
    make: *** [port/all] Error 1
    brendan-darrer:src brendandarrer$









    share|improve this question



























      0












      0








      0








      I am trying to install UDUNITS-2 package for the graphical visual browser: ncview.



      Can anyone help me understand the following error message:



      clang: error: no such file or directory: '_REENTRANT'


      A similar question was given here ---> Xcode 7.2 - clang: error: no such file or directory:



      My ./configure output:



      brendan-darrer:Downloads brendandarrer$ cd src/
      brendan-darrer:src brendandarrer$ ls
      COPYRIGHT INSTALL NOTEBOOK README VERSION admin configure.in perl udunits
      CUSTOMIZE Makefile.in ORIGIN RELEASE_NOTES aclocal.m4 configure lib port
      brendan-darrer:src brendandarrer$ ./configure
      creating cache ./config.cache
      configure: warning: reading configuration customizations
      checking type of operating system... darwin
      checking for c89... c89
      checking for dependency generation mechanism... c89 -M
      checking how to run the C preprocessor... c89 -E
      checking the C preprocessor... works
      checking for C const... yes
      checking for C volatile... yes
      checking for C signed... yes
      checking for C function prototypes... yes
      checking for standard C variadic functions... yes
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking for standard C string generation... yes
      checking for standard C token pasting... yes
      checking C void pointer... yes
      checking type of machine... x86_64
      checking for ar... ar
      checking for tar flags... -chof
      checking for ranlib... ranlib
      checking binary distribution directory... /home/ftp/pub/binary/x86_64-darwin
      checking the installation prefix... /Users/brendandarrer/Downloads
      checking the installation exec-prefix... /Users/brendandarrer/Downloads/bin
      checking for neqn... neqn
      checking for tbl... tbl
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <stddef.h> for typedef size_t... declared
      checking for ar... (cached) ar
      checking for float.h... yes
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <stdlib.h> for typedef size_t... declared
      checking for atexit... yes
      checking C header file <stdlib.h> for function atexit()... declared
      checking for getenv... yes
      checking C header file <stdlib.h> for function getenv()... declared
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <string.h> for typedef size_t... declared
      checking for strerror... yes
      checking C header file <string.h> for function strerror()... declared
      checking for strstr... yes
      checking C header file <string.h> for function strstr()... declared
      checking for memmove... yes
      checking C header file <string.h> for function memmove()... declared
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <time.h> for typedef time_t... declared
      checking C header file <time.h> for typedef size_t... declared
      checking for difftime... yes
      checking C header file <time.h> for function difftime()... declared
      checking for strftime... yes
      checking C header file <time.h> for function strftime()... declared
      checking for perl... perl
      checking for type of perl executable to create... dynamic
      checking for position-independent compilation flags... ''
      updating cache ./config.cache
      creating ./config.status
      creating Makefile
      creating lib/Makefile
      creating udunits/Makefile
      creating perl/Makefile.PL
      creating port/master.mk
      creating port/Makefile
      creating port/misc/Makefile
      creating port/fortc/Makefile
      creating port/misc/udposix.h
      creating port/misc/stdarg.h
      creating port/misc/stddef.h
      creating port/misc/stdlib.h
      creating port/misc/string.h
      creating port/misc/time.h
      expanding `include's in file `Makefile'
      expanding `include's in file `lib/Makefile'
      expanding `include's in file `udunits/Makefile'
      expanding `include's in file `perl/Makefile.PL'
      expanding `include's in file `port/master.mk'
      expanding `include's in file `port/Makefile'
      expanding `include's in file `port/misc/Makefile'
      expanding `include's in file `port/fortc/Makefile'
      brendan-darrer:src brendandarrer$ make
      Makefile:279: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:276: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:384: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:381: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:418: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:415: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:448: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:445: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:503: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:491: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:541: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:538: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

      making `all' in directory /Users/brendandarrer/Downloads/src/port

      Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

      making `all' in directory /Users/brendandarrer/Downloads/src/port/misc

      Makefile:285: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:282: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:390: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:387: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:424: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:421: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:454: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:451: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:509: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:497: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:547: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:544: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
      c89 -c -g -I. -D_REENTRANT uddummy.c
      clang: error: no such file or directory: '_REENTRANT'
      make[3]: *** [uddummy.o] Error 1
      make[2]: *** [misc/all] Error 1
      make[1]: *** [subdirs/all] Error 2
      make: *** [port/all] Error 1
      brendan-darrer:src brendandarrer$









      share|improve this question
















      I am trying to install UDUNITS-2 package for the graphical visual browser: ncview.



      Can anyone help me understand the following error message:



      clang: error: no such file or directory: '_REENTRANT'


      A similar question was given here ---> Xcode 7.2 - clang: error: no such file or directory:



      My ./configure output:



      brendan-darrer:Downloads brendandarrer$ cd src/
      brendan-darrer:src brendandarrer$ ls
      COPYRIGHT INSTALL NOTEBOOK README VERSION admin configure.in perl udunits
      CUSTOMIZE Makefile.in ORIGIN RELEASE_NOTES aclocal.m4 configure lib port
      brendan-darrer:src brendandarrer$ ./configure
      creating cache ./config.cache
      configure: warning: reading configuration customizations
      checking type of operating system... darwin
      checking for c89... c89
      checking for dependency generation mechanism... c89 -M
      checking how to run the C preprocessor... c89 -E
      checking the C preprocessor... works
      checking for C const... yes
      checking for C volatile... yes
      checking for C signed... yes
      checking for C function prototypes... yes
      checking for standard C variadic functions... yes
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking for standard C string generation... yes
      checking for standard C token pasting... yes
      checking C void pointer... yes
      checking type of machine... x86_64
      checking for ar... ar
      checking for tar flags... -chof
      checking for ranlib... ranlib
      checking binary distribution directory... /home/ftp/pub/binary/x86_64-darwin
      checking the installation prefix... /Users/brendandarrer/Downloads
      checking the installation exec-prefix... /Users/brendandarrer/Downloads/bin
      checking for neqn... neqn
      checking for tbl... tbl
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <stddef.h> for typedef size_t... declared
      checking for ar... (cached) ar
      checking for float.h... yes
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <stdlib.h> for typedef size_t... declared
      checking for atexit... yes
      checking C header file <stdlib.h> for function atexit()... declared
      checking for getenv... yes
      checking C header file <stdlib.h> for function getenv()... declared
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <string.h> for typedef size_t... declared
      checking for strerror... yes
      checking C header file <string.h> for function strerror()... declared
      checking for strstr... yes
      checking C header file <string.h> for function strstr()... declared
      checking for memmove... yes
      checking C header file <string.h> for function memmove()... declared
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c89: illegal option -- M
      usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
      [-o outfile] [-O optlevel] [-U name]... operand ...
      checking C header file <time.h> for typedef time_t... declared
      checking C header file <time.h> for typedef size_t... declared
      checking for difftime... yes
      checking C header file <time.h> for function difftime()... declared
      checking for strftime... yes
      checking C header file <time.h> for function strftime()... declared
      checking for perl... perl
      checking for type of perl executable to create... dynamic
      checking for position-independent compilation flags... ''
      updating cache ./config.cache
      creating ./config.status
      creating Makefile
      creating lib/Makefile
      creating udunits/Makefile
      creating perl/Makefile.PL
      creating port/master.mk
      creating port/Makefile
      creating port/misc/Makefile
      creating port/fortc/Makefile
      creating port/misc/udposix.h
      creating port/misc/stdarg.h
      creating port/misc/stddef.h
      creating port/misc/stdlib.h
      creating port/misc/string.h
      creating port/misc/time.h
      expanding `include's in file `Makefile'
      expanding `include's in file `lib/Makefile'
      expanding `include's in file `udunits/Makefile'
      expanding `include's in file `perl/Makefile.PL'
      expanding `include's in file `port/master.mk'
      expanding `include's in file `port/Makefile'
      expanding `include's in file `port/misc/Makefile'
      expanding `include's in file `port/fortc/Makefile'
      brendan-darrer:src brendandarrer$ make
      Makefile:279: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:276: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:384: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:381: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:418: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:415: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:448: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:445: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:503: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:491: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:541: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:538: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

      making `all' in directory /Users/brendandarrer/Downloads/src/port

      Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:263: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:260: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:368: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:365: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:402: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:399: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:432: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:429: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:487: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:475: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:525: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:522: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'

      making `all' in directory /Users/brendandarrer/Downloads/src/port/misc

      Makefile:285: warning: overriding commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:282: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/lib'
      Makefile:390: warning: overriding commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:387: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/bin'
      Makefile:424: warning: overriding commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:421: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/include'
      Makefile:454: warning: overriding commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:451: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/etc'
      Makefile:509: warning: overriding commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:497: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/man'
      Makefile:547: warning: overriding commands for target `/Users/brendandarrer/Downloads/info'
      Makefile:544: warning: ignoring old commands for target `/Users/brendandarrer/Downloads/info'
      c89 -c -g -I. -D_REENTRANT uddummy.c
      clang: error: no such file or directory: '_REENTRANT'
      make[3]: *** [uddummy.o] Error 1
      make[2]: *** [misc/all] Error 1
      make[1]: *** [subdirs/all] Error 2
      make: *** [port/all] Error 1
      brendan-darrer:src brendandarrer$






      mac xcode error-logging configure clang






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 5 at 16:00







      Brendan Darrer

















      asked Jan 25 at 12:53









      Brendan DarrerBrendan Darrer

      2617




      2617






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The problem was solved by implementing the code:



          brew install -s ncview


          Using homebrew, that installed the whole ncview package automatically for Apple Mac, including it's dependencies.



          See:
          katbormann commented on 13 Jul 2016 on GitHub post.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398343%2fclang-error-no-such-file-or-directory-reentrant%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The problem was solved by implementing the code:



            brew install -s ncview


            Using homebrew, that installed the whole ncview package automatically for Apple Mac, including it's dependencies.



            See:
            katbormann commented on 13 Jul 2016 on GitHub post.






            share|improve this answer




























              0














              The problem was solved by implementing the code:



              brew install -s ncview


              Using homebrew, that installed the whole ncview package automatically for Apple Mac, including it's dependencies.



              See:
              katbormann commented on 13 Jul 2016 on GitHub post.






              share|improve this answer


























                0












                0








                0







                The problem was solved by implementing the code:



                brew install -s ncview


                Using homebrew, that installed the whole ncview package automatically for Apple Mac, including it's dependencies.



                See:
                katbormann commented on 13 Jul 2016 on GitHub post.






                share|improve this answer













                The problem was solved by implementing the code:



                brew install -s ncview


                Using homebrew, that installed the whole ncview package automatically for Apple Mac, including it's dependencies.



                See:
                katbormann commented on 13 Jul 2016 on GitHub post.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 5 at 15:59









                Brendan DarrerBrendan Darrer

                2617




                2617






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398343%2fclang-error-no-such-file-or-directory-reentrant%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Brian Clough

                    Cáceres