Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!purdue!bu-cs!xylogics!world!madd From: madd@world.std.com (jim frost) Newsgroups: comp.unix.questions Subject: Re: how is tgetent defined? Message-ID: <1989Oct24.183717.21885@world.std.com> Date: 24 Oct 89 18:37:17 GMT References: <948@wubios.wustl.edu> Reply-To: madd@world.UUCP (jim frost) Organization: Software Tool & Die Lines: 13 In article <948@wubios.wustl.edu> david@wubios.UUCP (David J. Camp) writes: |cc -ltermcap -o gdc -O gdc.c -lcurses |ld: Undefined symbol | _tgetent [etc] Order of the libraries on the command line is important. Use: cc -o gdc -O gdc.c -lcurses -ltermcap jim frost software tool & die madd@std.com