Re: Cannot find -lf2c compilation error

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

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux