From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA00655 for caml-redistribution@pauillac.inria.fr; Mon, 6 Mar 2000 14:22:02 +0100 (MET) Resent-Message-Id: <200003061322.OAA00655@pauillac.inria.fr> Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA14788 for ; Mon, 6 Mar 2000 00:30:42 +0100 (MET) Received: from stephens.ittc.ukans.edu (stephens.ittc.ukans.edu [129.237.125.220]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id AAA06223 for ; Mon, 6 Mar 2000 00:30:40 +0100 (MET) Received: from elroy.ittc.ukans.edu (elroy.ittc.ukans.edu [129.237.126.120]) by stephens.ittc.ukans.edu (8.9.3/8.9.3/ITTC-NOSPAM-1.0) with ESMTP id RAA16542 for ; Sun, 5 Mar 2000 17:30:39 -0600 (CST) Received: from localhost by elroy.ittc.ukans.edu (8.9.3/KU-4.0-client) id RAA10631; Sun, 5 Mar 2000 17:30:39 -0600 Date: Sun, 5 Mar 2000 17:30:39 -0600 (CST) From: Ravi Chamarty To: caml-list@inria.fr Subject: Interfacing C Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-From: weis@pauillac.inria.fr Resent-Date: Mon, 6 Mar 2000 14:22:02 +0100 Resent-To: caml-redistribution@pauillac.inria.fr HI, When I implement the Advanced example with callbacks given in the OCaml manual (Pg 184-185), I am getting the following errors while building the final executable. $cc -o prog main.c mod.a mod.a(terminfo.o): In function `terminfo_setup': terminfo.o(.text+0x22): undefined reference to `tgetent' mod.a(terminfo.o)(.text+0xcf): more undefined references to `tgetstr' follow mod.a(terminfo.o): In function `terminfo_backup': terminfo.o(.text+0x186): undefined reference to `tputs' mod.a(terminfo.o): In function `terminfo_standout': Can anyone please help me out?? Thanks, Ravi ---------------------------------------------------------- Ravi S Chamarty E-mail: ravi@ittc.ukans.edu Graduate Research Assistant, Voice :785-864-7799 ITTC,2291 Irving Hill Road, University of Kansas, Lawrence KS 66044-7541