This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: problem linking F90 symbols
Steve Kargl Wed, Sep 21, 2011 at 11:04:46AM -0700
>>> Are you sure that you are building everthing with gfortran and its
>>> [companion] gcc?
Tom Roche Wed, 21 Sep 2011 14:27:56 -0400
>> I'm pretty sure there are no other fortran or C compilers on this box.
... but, it turns out that precompiled objects ship with the package :-(
$ rm -fr /tmp/ioapi-3.1-beta1
$ rm -fr /tmp/install/ioapi-3.1-beta1
$ mkdir -p /tmp/ioapi-3.1-beta1
$ mkdir -p /tmp/install/ioapi-3.1-beta1
$ pushd /tmp/ioapi-3.1-beta1 > /dev/null
$ curl http://www.baronams.com/products/ioapi/ioapi-3.1.tar.gz | tar xfz -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8142k 100 8142k 0 0 589k 0 0:00:13 0:00:13 --:--:-- 596k
$ find -type f | wc -l
641
$ find -type f -name '*.o'
./iotests/initqux.o
./iotests/setenv_test.o
./iotests/writeprofile.o
./iotests/testqux.o
./iotests/cnttest.o
./iotests/cpltest.o
./iotests/sortictest.o
./iotests/int4.o
./iotests/readprofile.o
./iotests/testread.o
./iotests/interp_test.o
So I'm guessing this problem is solved (or unsolvable, for me). Thanks for your assistance.
Steve Kargl Wed, 21 Sep 2011 11:35:02 -0700
> -lg2c? Are you kidding?
I don't know enough fortran to know to which joke that is the punchline :-(
I got '-lg2c' from reading sparse docs and list posts: should I not use that?