From: David L. <dav...@mc...> - 2001-02-21 18:42:17
|
The Make file for the CVS version does not work in my GNU environment, the error follows. I was able to compile the CVS version using MS VC++ by moving all the files to a single directory. $ make make -C src all make[1]: Entering directory `/rwb/cpropep/src' gcc -g -Wall -O3 cpropep.o -L../../libnum/lib -L../../libthermo/lib -L../../lib cpropep/lib -lcpropep -lthermo -lnum -lm -o cpropep /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/ld: cann ot find -lcpropep collect2: ld returned 1 exit status make[1]: *** [cpropep] Error 1 make[1]: Leaving directory `/rwb/cpropep/src' make: *** [all] Error 2 In the make file in the cpropep directory is the following rule: $(PROG): $(OBJS) $(LIBNAME) $(CC) $(COPT) $(OBJS) $(LIBDIR) $(LIB) -o $@ But LIBNAME is not defined anywhere. Do you have any environment variables set, or a special directory structure different from the CVS version? Also, it would be convienient if there was a single CVS module to check out that included all the files needed to compile cpropep, instead of having to check out each directory individually. $ make make -C src all make[1]: Entering directory `/rwb/cpropep/src' gcc -g -Wall -O3 cpropep.o -L../../libnum/lib -L../../libthermo/lib -L../../lib cpropep/lib -lcpropep -lthermo -lnum -lm -o cpropep /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/ld: cann ot find -lcpropep collect2: ld returned 1 exit status make[1]: *** [cpropep] Error 1 make[1]: Leaving directory `/rwb/cpropep/src' make: *** [all] Error 2 |