Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!quench.lbl.gov!mike From: mike@quench.lbl.gov (Michael Helm) Newsgroups: comp.mail.elm Subject: Re: frm compile error in elm make Summary: use the getopt package Keywords: elm frm make compile error Message-ID: <1479@helios.ee.lbl.gov> Date: 15 Dec 88 04:50:10 GMT References: <276@wubios.wustl.edu> Sender: usenet@helios.ee.lbl.gov Reply-To: mike@quench.lbl.gov (Michael Helm) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 16 In article <276@wubios.wustl.edu> david@wubios.wustl.edu (David J. Camp) writes: >I am trying to compile elm 2.1 on a Sun 3/260 running SunOS 4.0. ... >ld: Undefined symbol > _opt_index > _get_options This is also a nit on SunOS 3.x's &c. I had the benefit of also having a development version of elm 2.2 on hand, so I cribbed from from.c version 2.2. In this version, the authors are using the getopt package instead of get_options & opt_index. This routine is distributed in SunOS. If you replace get_options &c w/ getopt, things go better. Hope that's the rite thing to do. If you really feel you need get_options &c instead, they are defined in elm2.1/src/getopt.c. Michael Helm (Internet M_Helm@lbl.gov)