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

Re: Cannot find -lf2c compilation error



On Tue, May 19, 2009 at 10:01 PM, Jussi Lehtola <jussi lehtola iki fi> 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

Thanks again, Jussi. The above suggestion solved the problem, completely.

Paul


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