|
我的软件包里有 Makefile 文件,我就直接运行make,提示
/usr/bin/ld: cannot find -llapack_LINUX
怎么解决呢?
这是maikefile文件内容
*********************************
include ../make.inc.gcc
LIBS = -ltime -lcats $(LAPACKLIB) $(BLASLIB) $(I77LIB) $(F77LIB) -lm
#LIBS = -lcats -ltime -lm
INCLUDEDIRS = -I$(ATLAS)/inc -I$(CLAPACK) -I$(CLAPACK)/F2CLIBS -I. -I../lib -I../time
#INCLUDEDIRS = -I. -I../lib -I../time
LIBDIRS = -L$(ATLAS)/lib -L$(CLAPACK) -L$(CLAPACK)/F2CLIBS -L. -L../lib -L../time
#LIBDIRS = -L. -L../lib -L../time
CC = $(COMPILER) $(INCLUDEDIRS)
LINK = $(CC) $(LIBDIRS) $(LIBS)
PROGS = cats
all: $(PROGS)
install: all
for i in $(PROGS); do \
$(INSTALL) $$i $(BINDIR); \
done
*************************************** |
|