[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cannot find -lf2c compilation error



On Tue, 2009-05-19 at 18:30 +0100, Paul Smith wrote:
> On Tue, May 19, 2009 at 6:24 PM, Joe Smith <jes 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 fedoraproject org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]