Cannot find -lf2c compilation error

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

 



Dear All,

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
cc bpmain.o minput.o mpsinp.o convert.o mpsout.o mprnt.o timer.o
readpar.o bpmpd.o pddrv.o scale.o setlam.o symmfo.o mfillin.o
symfact.o symfact1.o refactm.o findpivs.o nfactsb3.o factsnb3.o
rngchk.o fbtran.o itrefsol.o supn6.o supn6_.o supnode.o supupdat.o
cstart.o cinf.o cstpcrt.o cstplen.o cnewpd.o cfixvar.o pdmodi.o
cdiag.o cdirpc.o cdircc.o preslv.o rowsng.o colsng.o rowact.o chepdu.o
duchek.o bndchk.o coldbl.o aggreg.o sparsr.o elimin.o pstslv.o -o
bpmpd -O -L./f2c -lf2c -lm
/usr/bin/ld: cannot find -lf2c
collect2: ld returned 1 exit status
make: *** [bpmpd] Error 1
$

Any ideas?

Thanks in advance,

Paul

-------------------------------------------------------
CC              = cc
CFLAGS1         = -O -L./f2c -lf2c -lm
CFLAGS2         = -O -c $<
PROGRAM   = bpmpd
OBJS      = bpmain.o \
    minput.o \
    mpsinp.o \
    convert.o \
    mpsout.o \
    mprnt.o \
    timer.o \
    readpar.o \
    bpmpd.o \
    pddrv.o \
    scale.o \
    setlam.o \
    symmfo.o \
    mfillin.o \
    symfact.o \
    symfact1.o \
    refactm.o \
    findpivs.o \
    nfactsb3.o \
    factsnb3.o \
    rngchk.o \
    fbtran.o \
    itrefsol.o \
    supn6.o \
    supn6_.o \
    supnode.o \
    supupdat.o \
    cstart.o \
    cinf.o \
    cstpcrt.o \
    cstplen.o \
    cnewpd.o \
    cfixvar.o \
    pdmodi.o \
    cdiag.o \
    cdirpc.o \
    cdircc.o \
    preslv.o \
    rowsng.o \
    colsng.o \
    rowact.o \
    chepdu.o \
    duchek.o \
    bndchk.o \
    coldbl.o \
    aggreg.o \
    sparsr.o \
    elimin.o \
    pstslv.o

$(PROGRAM): $(OBJS)
	$(CC) $(OBJS) -o $(PROGRAM) $(CFLAGS1)
.c.o:
	$(CC) $(CFLAGS2)

-- 
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