Path: utzoo!attcan!uunet!cos!pae From: pae@cos.com (Paul A. Ebersman) Newsgroups: comp.mail.elm Subject: Re: frm compile error in elm make Message-ID: <12183@cos.com> Date: 15 Dec 88 14:37:38 GMT References: <276@wubios.wustl.edu> Organization: Corporation for Open Systems, McLean, VA Lines: 24 From article <276@wubios.wustl.edu>, by david@wubios.wustl.edu (David J. Camp): > cd utils; make 'DEFINE=-DBSD' 'LIBS=-lcurses' all > /bin/cc -O -I../hdrs -DBSD from.c ../src/opt_utils.o \ > ../src/string2.o expand.o -o ../bin/frm > ld: Undefined symbol > _opt_index > _get_options > Everything is up to date! This is due to a problem in the makefile. You also need ../src/getopt.o in the compile command for from to include these functions. Correct line is as follows: ../bin/frm: from.c ../src/opt_utils.o ../src/string2.o\ expand.o ${CC} ${CFLAGS} ${DEFINE} from.c ../src/opt_utils.o \ ../src/getopt.o ../src/string2.o expand.o -o ../bin/frm -- Paul A. Ebersman @ Corporation for Open Systems pae@cos.COM or pae%cos.com@uunet.uu.net or {uunet, sundc, hadron}!cos!pae ( The difference between practice and theory in practice is always greater than the difference between practice and theory in theory. )