[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110517] MIT/GNU Scheme 11.1 fails to build on Debian 10 (x64)
From: |
Joseph Turco |
Subject: |
[sr #110517] MIT/GNU Scheme 11.1 fails to build on Debian 10 (x64) |
Date: |
Sat, 10 Jul 2021 14:48:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 |
URL:
<https://savannah.gnu.org/support/?110517>
Summary: MIT/GNU Scheme 11.1 fails to build on Debian 10
(x64)
Project: MIT/GNU Scheme
Submitted by: jturk90
Submitted on: Sat 10 Jul 2021 06:48:02 PM UTC
Category: None
Priority: 5 - Normal
Severity: 4 - Important
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110517>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sr #110517] MIT/GNU Scheme 11.1 fails to build on Debian 10 (x64),
Joseph Turco <=