I have gcc 9.4.0 installed on my system and it has passed all "System Environment Tests" mentioned here: Compiling WRF
when I build the NetCdf library (the one for c) I get the following error message:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/bohan/Build_WRF/LIBRARIES/netcdf-c-4.7.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
I have attached the config.log file for reference. I do not understand why it is not compiling although my compilers have passed all your system tests
when I build the NetCdf library (the one for c) I get the following error message:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/bohan/Build_WRF/LIBRARIES/netcdf-c-4.7.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
I have attached the config.log file for reference. I do not understand why it is not compiling although my compilers have passed all your system tests