bugMIT/GNU Scheme - Bugs: bug #33933, Cannot compile --without-termcap

 
 

bug #33933: Cannot compile --without-termcap

Submitted by:  None
Submitted on:  Wed 03 Aug 2011 02:32:49 AM UTC  
 
Category: microcodeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature request
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: jrm
Originator Email: -unavailable-Open/Closed: Closed
Keywords: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 May 2013 11:20:36 PM UTC, comment #3:

I found that the console ops already have useful(?) defaults, so I implemented --without-termcap by punting the termcap primitives (all of microcode/tterm.c!) entirely. Surprisingly Edwin (on X11) still works!

Matt Birkholz <mhb>
Project Member
Tue 15 May 2012 04:49:33 PM UTC, comment #2:

I'd like to be able to build and run with the --without-termcap flag. Console ops like beep, clear, x-size and y-size should do some sort of basic default (what does a dumb terminal do?).

I want to run MIT/GNU Scheme in an environment that simply does not have the termcap library. Obviously I won't get termcap capabilities, but slime/emacs ought to work.

Anonymous
Wed 09 May 2012 01:24:53 AM UTC, comment #1:

Console port ops like beep, clear, x-size and y-size require some kind of termcap on Unix. Are you asking that --without-termcap disable them, or just that configure produce an error message?

Matt Birkholz <mhb>
Project Member
Wed 03 Aug 2011 02:32:49 AM UTC, original submission:

When configured --without-termcap, make bombs out:

tterm.o: In function `Prim_termcap_pad_string':
tterm.c:(.text+0x10): undefined reference to `ospeed'
tterm.c:(.text+0x51): undefined reference to `PC'
tterm.c:(.text+0x95): undefined reference to `tputs'
tterm.o: In function `Prim_termcap_goto_string':
tterm.c:(.text+0x149): undefined reference to `BC'
tterm.c:(.text+0x17b): undefined reference to `UP'
tterm.c:(.text+0x1d7): undefined reference to `tgoto'
tterm.o: In function `Prim_termcap_param_string':
tterm.c:(.text+0x349): undefined reference to `tparam'
tterm.o: In function `Prim_termcap_get_string':
tterm.c:(.text+0x3f2): undefined reference to `tgetstr'
tterm.o: In function `Prim_termcap_get_flag':
tterm.c:(.text+0x44d): undefined reference to `tgetflag'
tterm.o: In function `Prim_termcap_get_number':
tterm.c:(.text+0x4ad): undefined reference to `tgetnum'
tterm.o: In function `Prim_termcap_initialize':
tterm.c:(.text+0x51d): undefined reference to `tgetent'
uxtty.o: In function `UX_synchronize_tty_size_with_termcap':
uxtty.c:(.text+0x7a): undefined reference to `tgetnum'
uxtty.c:(.text+0x8a): undefined reference to `tgetnum'
uxtty.o: In function `UX_tty_with_termcap':
uxtty.c:(.text+0x116): undefined reference to `tgetent'
uxtty.o: In function `UX_initialize_tty':
uxtty.c:(.text+0x35d): undefined reference to `tputs'
uxtty.o: In function `UX_initialize_tty_with_termcap':
uxtty.c:(.text+0x3a8): undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[1]: *** [scheme] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mhb (Posted a comment)
  • -unavailable- added by mhb
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 May 2013 11:20:36 PM UTCmhbStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 09 May 2012 01:24:53 AM UTCmhbItem GroupIncorrect behavior=>Feature request
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup