Interfacing C

From: Ravi Chamarty (ravi@ittc.ukans.edu)
Date: Mon Mar 06 2000 - 00:30:39 MET

  • Next message: Zino Benaissa: "MetaML announcement"

    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



    This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 14:24:11 MET