Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!amdcad!sun!pitstop!sundc!seismo!uunet!inco!mack From: mack@inco.UUCP (Dave Mack) Newsgroups: comp.mail.elm Subject: Re: frm compile error in elm make Summary: patch included for Configure Message-ID: <4118@inco.UUCP> Date: 19 Dec 88 16:15:12 GMT References: <276@wubios.wustl.edu> <12183@cos.com> <472@hocpa.UUCP> Reply-To: mack@inco.UUCP (Dave Mack) Organization: McDonnell Douglas-INCO, McLean, VA Lines: 57 In article <472@hocpa.UUCP> rusty@hocpa.UUCP (91341-M.W.HADDOCK) writes: >In article <12183@cos.com> pae@cos.com (Paul A. Ebersman) writes: > >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 > >i.e. The Configure script ``really'' needs the fix. Correct. Here's a Sun-specific patch to the Configure file. If you have the same problem on some other system, make the analogous changes: *** Configure~ Sat Dec 17 16:01:59 1988 --- Configure Mon Dec 19 11:09:40 1988 *************** *** 148,154 **** vaxen) NAME="BSD"; OS_FLAG="BSD"; ;; bsd) NAME="BSD"; OS_FLAG="BSD"; ;; uts) NAME="UTS"; OS_FLAG="UTS"; ;; ! sun) NAME="Sun"; OS_FLAG="BSD"; ;; pyramid|osx*)NAME="Pyramid BSD"; OS_FLAG="PYRAMID"; ;; amdahl) NAME="UTS"; OS_FLAG="UTS"; ;; sv_*) NAME="System V"; OS_FLAG=""; ;; --- 148,154 ---- vaxen) NAME="BSD"; OS_FLAG="BSD"; ;; bsd) NAME="BSD"; OS_FLAG="BSD"; ;; uts) NAME="UTS"; OS_FLAG="UTS"; ;; ! sun) NAME="Sun"; OS_FLAG="BSD"; sun=1; ;; pyramid|osx*)NAME="Pyramid BSD"; OS_FLAG="PYRAMID"; ;; amdahl) NAME="UTS"; OS_FLAG="UTS"; ;; sv_*) NAME="System V"; OS_FLAG=""; ;; *************** *** 853,859 **** BSD) osdefine="-DBSD" lib2="-lcurses" ! if [ "$sequent" != 1 ] ; then getopt="" fi ;; --- 853,859 ---- BSD) osdefine="-DBSD" lib2="-lcurses" ! if [ "$sequent" != 1 -a "$sun" != 1 ] ; then getopt="" fi ;; -- Dave Mack