helpMIT/GNU Scheme - Support: sr #110517, MIT/GNU Scheme 11.1 fails to build...

 
 

sr #110517: MIT/GNU Scheme 11.1 fails to build on Debian 10 (x64)

Submitter:  Joseph Turco <jturk90>
Submitted:  Sat 10 Jul 2021 06:48:02 PM UTC
 
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Sat 10 Jul 2021 06:48:02 PM UTC, original submission:  

Hello,

i was trying to build the latest version of MIT/GNU Scheme, and i got the following error after invoking 'make':

gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.1\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o termcap.o -c termcap.c
termcap.c:147:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
 memory_out ()
 ^~~~~~~~~~
termcap.c: In function ‘convert_ospeed’:
termcap.c:181:24: error: implicit declaration of function ‘OS_baud_index_to_rate’ [-Werror=implicit-function-declaration]
   unsigned int rate = (OS_baud_index_to_rate (os));
                        ^~~~~~~~~~~~~~~~~~~~~
termcap.c:181:24: error: nested extern declaration of ‘OS_baud_index_to_rate’ [-Werror=nested-externs]
termcap.c: At top level:
termcap.c:330:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
 tputs (string, nlines, outfun)
 ^~~~~
termcap.c: In function ‘tputs’:
termcap.c:338:5: error: ‘return’ with no value, in function returning non-void [-Werror]
     return;
     ^~~~~~
termcap.c:330:1: note: declared here
 tputs (string, nlines, outfun)
 ^~~~~
termcap.c: In function ‘tgetent’:
termcap.c:457:49: error: passing argument 2 of ‘find_capability’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
       indirect = tgetst1 (find_capability (tem, "tc"), 0);
                                                 ^~~~
termcap.c:203:36: note: expected ‘char ’ but argument is of type ‘const char
 find_capability (char * bp, char * cap)
                             ~~~~~~~^~~
termcap.c:479:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
     tem = "/etc/termcap";
         ^
termcap.c:540:45: error: passing argument 2 of ‘find_capability’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
       term = tgetst1 (find_capability (bp2, "tc"), 0);
                                             ^~~~
termcap.c:203:36: note: expected ‘char ’ but argument is of type ‘const char
 find_capability (char * bp, char * cap)
                             ~~~~~~~^~~
termcap.c:554:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
     return (int) bp;
            ^
termcap.c: In function ‘scan_file’:
termcap.c:570:9: error: unused variable ‘tem’ [-Werror=unused-variable]
   char *tem;
         ^~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:182: termcap.o] Error 1
rm cmpauxmd.s
make[1]: Leaving directory '/home/joseph/Downloads/mit-scheme-11.1/src/microcode'
make: *** [Makefile:796: microcode/scheme] Error 2

Joseph Turco <jturk90>

 

(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 jturk90 (Submitted the item)
  • -email is unavailable- added by jturk90
  •  

    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.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-07-10 jturk90 Carbon-Copy- Added jturk32

    Back to the top


    Powered by Savane 3.9