OBSGRID compilation error [Invalid character]

Topics related to the OBSGRID utility
Post Reply
Posts: 127
Joined: Sun Oct 28, 2018 3:35 am

OBSGRID compilation error [Invalid character]

Post by lslrsgis » Fri Mar 22, 2019 9:28 am

Dear Wrf Community,

I have got a compilation problem when trying to install OBSGRID. After ./configuration, selecting LINUX gfortran, I typed ./compile. It prompted as:

/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
Error: Invalid character in name at (1)

This file is part of the GNU C Library.

Full log file is attached. Any one can offer help? Thanks.
(232.83 KiB) Downloaded 31 times

Posts: 3
Joined: Wed Mar 27, 2019 2:19 am

Re: OBSGRID compilation error [Invalid character]

Post by jstzysq » Wed Mar 27, 2019 2:28 am

After configuration, it will generate a "configure.oa" file. In "configure.oa", you can find a line start with "CPPFLAGS=.....". Just deleting a "-C" option in this line, and then compiling. The "-C" option can yield these invalid characters in codes.

Post Reply

Return to “OBSGRID”