Cannot find -lf2c compilation error

Jussi Lehtola jussi.lehtola at iki.fi
Tue May 19 20:16:00 UTC 2009


On Tue, 2009-05-19 at 18:30 +0100, Paul Smith wrote:
> On Tue, May 19, 2009 at 6:24 PM, Joe Smith <jes at martnet.com> wrote:
> >> I am trying to compile a program which was written in C. (The Makefile
> >> is shown below.) However, when I run the command 'make', I get the
> >> following error:
> >>
> >> $ make
> >> ... -L./f2c -lf2c -lm
> >> /usr/bin/ld: cannot find -lf2c

You don't have to modify anything. Just:

$ cd bpmpd_c/src/f2c
$ make

which builds bpmpd_c's f2c library and after that you can

$ cd ..
$ make

as you tried.
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org




More information about the fedora-list mailing list