MAGIC Magic Mailing List
 
 

From: Jie Chen (xichen AT ece DOT arizona.edu)
Date: Fri Sep 20 2002 - 15:01:16 EDT

  • Next message: Spaceborne Calin: "Re: more on compiling magic 7.1 on redhat 7.3"

    On Fri, 20 Sep 2002, [iso-8859-1] Spaceborne Calin wrote:
    
    >  --- Jie Chen <xichen AT ece DOT arizona.edu> a écrit : > Hi,
    > >
    > > I installed some Xfree86 libs that i forgot to install and I no
    > > longer
    > > recieve error messages concerning X11.  But, I still couln't build
    > > magic
    > > and here is the error message:
    > >
    > > --- making modules
    > > --- making libraries
    > > --- making main programs
    > > --- building main magic
    > > make[2]: *** [magic] Error 1
    > >
    > > and I looked in the make.log file and found bunch of errors
    > > concerning
    > > "undefined reference to ...".  I thought this has something to do
    > > with
    > > some of the optional modules I didn't pick during the configuration,
    > > so I
    > > went back to make config again and answered yes to all the optional
    > > modules but still no luck!
    > >
    > > I've attached the make.log file as well.
    > >
    >
    > maybe you forgot to include -lreadline to LDFLAGS
    >
    Well, in my defs.mak file, there is no LDFLAGS at all,  so I added
    LDFLAGS to it but still give me bunch of errors like this:
    
    /root/cad-try/src/magic-7.1/readline/readline/display.c:691: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o): In function `update_line':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:948: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o): In function
    `_rl_move_cursor_relative':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1171: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o): In function
    `_rl_move_vert':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1221: undefined
    reference to `tputs'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1229: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o):/root/cad-try/src/magic-7.1/readline/readline/display.c:1440:
    more undefined references to `tputs' follow
    ../readline/readline/libreadline.a(display.o): In function
    `insert_some_chars':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1478: undefined
    reference to `tgoto'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1479: undefined
    reference to `tputs'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1488: undefined
    reference to `tputs'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1495: undefined
    reference to `tputs'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1504: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o): In function `delete_chars':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1519: undefined
    reference to `tgoto'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1520: undefined
    reference to `tputs'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1526: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o): In function `cr':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1573: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o): In function
    `_rl_redisplay_after_sigwinch':
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1623: undefined
    reference to `tputs'
    /root/cad-try/src/magic-7.1/readline/readline/display.c:1631: undefined
    reference to `tputs'
    ../readline/readline/libreadline.a(display.o):/root/cad-try/src/magic-7.1/readline/readline/display.c:1635:
    more undefined references to `tputs' follow
    ../readline/readline/libreadline.a(terminal.o): In function
    `_rl_get_screen_size':
    /root/cad-try/src/magic-7.1/readline/readline/terminal.c:190: undefined
    reference to `tgetnum'
    /root/cad-try/src/magic-7.1/readline/readline/terminal.c:203: undefined
    reference to `tgetnum'
    ../readline/readline/libreadline.a(terminal.o): In function
    `get_term_capabilities':
    /root/cad-try/src/magic-7.1/readline/readline/terminal.c:297: undefined
    reference to `tgetstr'
    
    
    Please Help!
    Thank you very much!
    Jie Chen
    >
    >
    > > Please help!
    > >
    > > Thank you very much!
    > > Jie Chen
    > >
    >
    > > ATTACHMENT part 2 application/octet-stream name=make.log.gz
    >
    >
    > ___________________________________________________________
    > Do You Yahoo!? -- Une adresse  AT yahoo DOT fr gratuite et en français !
    > Yahoo! Mail : http://fr.mail.yahoo.com
    >
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo