Cannot find -lf2c compilation error

Jussi Lehtola jussi.lehtola at iki.fi
Tue May 19 21:01:03 UTC 2009


On Tue, 2009-05-19 at 21:29 +0100, Paul Smith wrote:
> Thanks, Jussi. Your suggestion solve the problem, but now I am getting
> a another one. Please, see below.
> 
> Any ideas?
> 
> Paul
> 
> --------------------------------
> 
> /usr/bin/ld: i386:x86-64 architecture of input file `bpmain.o' is
> incompatible with i386 output

Okay. It seems that the tarball already contains some compiled object
files. You are probably running a 32-bit distribution.

Try this:

$ cd bpmpd_c/src
$ \rm *.o
$ sed -i "s|CLK_TCK|CLOCKS_PER_SEC|g" timer.c 
(One file uses an obsolete constant that needs to be replaced)
$ make
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org




More information about the fedora-list mailing list