This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: =?shift_jis?B?lZ+TY4FAl0aLSY5x?= <address@hidden> >Organization: ? >Keywords: 200207220758.g6M7wL919307 netCDF Hello, > >I can't install well. >I have problems with the installation. >Could you tell me to find a key to solve ? > >It is written in 'config.log'. The output you included in your email does not contain enough information for us to help you troubleshoot your problem. Please review: http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html for information on building the netCDF. In particular, please follow the steps for reporting build problems in: http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html#ReportingProblems After we have the information requested in this section, we can help you build the netCDF on your system. >-------------------------------------------------------------configure:2743: >cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 2735: In this declaration, the type of "atexit" >is not compatible with the type of a previous declaration of "atexit" at >line number 204 in file /usr/include/stdlib.h. (notcompat) > extern struct {int a; int b;} *atexit(); >---------------------------------------------------^ >configure:2856: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 2848: In this declaration, the type of "getenv" >is not compatible with the type of a previous declaration of "getenv" at >line number 206 in file /usr/include/stdlib.h. (notcompat) > extern struct {int a; int b;} *getenv(); >---------------------------------------------------^ >configure:3115: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3107: In this declaration, the type of "strerror" >is not compatible with the type of a previous declaration of "strerror" at >line number 113 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strerror(); >---------------------------------------------------^ >configure:3180: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3172: In this declaration, the type of "strchr" >is not compatible with the type of a previous declaration of "strchr" at >line number 108 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strchr(); >---------------------------------------------------^ >configure:3245: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3237: In this declaration, the type of "strcpy" >is not compatible with the type of a previous declaration of "strcpy" at >line number 99 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strcpy(); >---------------------------------------------------^ >configure:3310: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3302: In this declaration, the type of "strrchr" >is not compatible with the type of a previous declaration of "strrchr" at >line number 110 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strrchr(); >---------------------------------------------------^ >configure:3375: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3367: In this declaration, the type of "strncpy" >is not compatible with the type of a previous declaration of "strncpy" at >line number 100 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strncpy(); >---------------------------------------------------^ >configure:3440: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3432: In this declaration, the type of "strtok" >is not compatible with the type of a previous declaration of "strtok" at >line number 112 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strtok(); >---------------------------------------------------^ >configure:3553: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3545: In this declaration, the type of "strstr" >is not compatible with the type of a previous declaration of "strstr" at >line number 111 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *strstr(); >---------------------------------------------------^ >configure:3666: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3658: In this declaration, the type of "memmove" >is not compatible with the type of a previous declaration of "memmove" at >line number 98 in file /usr/include/string.h. (notcompat) > extern struct {int a; int b;} *memmove(); >---------------------------------------------------^ >configure:3982: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 3974: In this declaration, the type of "difftime" >is not compatible with the type of a previous declaration of "difftime" at >line number 120 in file /usr/include/time.h. (notcompat) > extern struct {int a; int b;} *difftime(); >---------------------------------------------------^ >configure:4095: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 4087: In this declaration, the type of "strftime" >is not compatible with the type of a previous declaration of "strftime" at >line number 132 in file /usr/include/time.h. (notcompat) > extern struct {int a; int b;} *strftime(); >---------------------------------------------------^ >configure:4568: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 4560: In this declaration, the type of "tsearch" >is not compatible with the type of a previous declaration of "tsearch" at >line number 75 in file /usr/include/search.h. (notcompat) > extern struct {int a; int b;} *tsearch(); >---------------------------------------------------^ >configure:4681: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 4673: In this declaration, the type of "tfind" is >not compatible with the type of a previous declaration of "tfind" at line >number 76 in file /usr/include/search.h. (notcompat) > extern struct {int a; int b;} *tfind(); >---------------------------------------------------^ >configure:4794: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 4786: In this declaration, the type of "tdelete" >is not compatible with the type of a previous declaration of "tdelete" at >line number 77 in file /usr/include/search.h. (notcompat) > extern struct {int a; int b;} *tdelete(); >---------------------------------------------------^ >configure:4907: cc -c -O -std conftest.c 1>&5 >cc: Error: configure, line 4899: In this declaration, the type of "twalk" is >not compatible with the type of a previous declaration of "twalk" at line >number 85 in file /usr/include/search.h. (notcompat) > extern struct {int a; int b;} *twalk(); >---------------------------------------------------^ Tom Yoksas