From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29536 invoked by alias); 4 Oct 2013 08:57:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 29521 invoked by uid 89); 4 Oct 2013 08:57:09 -0000 Received: from mail-bk0-f52.google.com (HELO mail-bk0-f52.google.com) (209.85.214.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 04 Oct 2013 08:57:09 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50,FREEMAIL_FROM autolearn=ham version=3.3.2 X-HELO: mail-bk0-f52.google.com Received: by mail-bk0-f52.google.com with SMTP id e11so1371811bkh.25 for ; Fri, 04 Oct 2013 01:57:05 -0700 (PDT) X-Received: by 10.205.65.208 with SMTP id xn16mr764094bkb.31.1380877025293; Fri, 04 Oct 2013 01:57:05 -0700 (PDT) Received: from [172.21.188.143] ([62.154.173.198]) by mx.google.com with ESMTPSA id w9sm7345539bkn.12.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 01:57:04 -0700 (PDT) Message-ID: <524E82DC.6080103@gmail.com> Date: Fri, 04 Oct 2013 08:57:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Incorrect module file format in Fortran netCDF package References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00030.txt.bz2 Il 10/4/2013 6:32 AM, Mark Hadfield ha scritto: > There's a second issue. In the output of "/usr/bin/nf-config --all" (below) a -no-undefined option is printed. This is not a valid option for gfortran. > > With these two issues fixed I can compile and link Fortran 90 programs that use the netCDF Fortran interface. > > --------------------------------------------- > $ /usr/bin/nf-config --all > > This netCDF-Fortran 4.2 has been built with the following features: > > --cc -> gcc > --cflags -> -I/usr/include > --libs -> -L/usr/lib -no-undefined -lnetcdf -lnetcdf > > --fc -> gfortran > --fflags -> -g -O2 -pipe -I/usr/include > --flibs -> -L/usr/lib -lnetcdff -no-undefined -lnetcdf -lnetcdf > --has-f90 -> yes > > --has-nc2 -> yes > --has-nc4 -> yes > > --prefix -> /usr > --includedir-> /usr/include > --version -> netCDF-Fortran 4.2 > > > > > Dr Mark Hadfield Noted. I will rebuild the package reusing the configuration used on cygwin 64 bit package. $ /usr/bin/nf-config --all This netCDF-Fortran 4.2 has been built with the following features: --cc -> gcc --cflags -> -I/usr/include --libs -> -L/usr/lib -lnetcdf -lnetcdf --fc -> gfortran --fflags -> -ggdb -O2 -pipe -fdebug-prefix-map=/pub/devel/netcdf/netcdf-fortran-4.2-2/build=/usr/src/debug/netcdf-fortran-4.2-2 -fdebug-prefix-map=/pub/devel/netcdf/netcdf-fortran-4.2-2/src/netcdf-fortran-4.2=/usr/src/debug/netcdf-fortran-4.2-2 -I/usr/include --flibs -> -L/usr/lib -lnetcdff -lnetcdf -lnetcdf --has-f90 -> yes --has-nc2 -> yes --has-nc4 -> yes --prefix -> /usr --includedir-> /usr/include --version -> netCDF-Fortran 4.2 Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple