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

 
 

bug #33933: Cannot compile --without-termcap

Submitter:  None
Submitted:  Wed 03 Aug 2011 02:32:49 AM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature request
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  jrm
Originator Email:  -email is unavailable- Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-29 mhb StatusNone Fixed
        Open/ClosedOpen Closed
    2012-05-09 mhb Item GroupIncorrect behavior Feature request
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code