Re: Cannot find -lf2c compilation error

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

 



Paul Smith wrote:
On Tue, May 19, 2009 at 9:54 PM, Kevin J. Cummings
<cummings@xxxxxxxxxxxxxxxxxx> 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.
Thanks, Jussi. Your suggestion solve the problem, but now I am getting
a another one. Please, see below.

Any ideas?
Paul,
       I'm not sure what you are doing wrong, I just downloaded the .tar.gz
file, untar-ed it, went to the f2c directory and ran "make", changed back to
the src directory, and ran "make" again.  It built for me with no problems
(F9-x86_64).  You have something wrong with your development environment.

Your errors below seem to be a problem between x86 and x86_64.  Did you do
both builds on the same computer?

None, actually. My architecture is i386.

That's not what your make run says.... it says you are trying to link in some x86_64 object files....

Paul



--
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)

--
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux