mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-devel] Error when building current MIT Scheme from Git on Li


From: Dirk Ullrich
Subject: [MIT-Scheme-devel] Error when building current MIT Scheme from Git on Linux
Date: Mon, 5 Mar 2012 15:52:16 +0100

Hello,

when trying to build current Git master of MIT Scheme I on Linux get
the following error (both on Debian 64bit and Arch Linux 64bit)

gcc -std=gnu99 -DHAVE_CONFIG_H -DMIT_SCHEME
-DDEFAULT_LIBRARY_PATH=\"/usr/local/packages/emacs-devel/lib/mit-scheme-x86-64\"
-I. -I. -O3 -Wall -Wundef -Wpointer-arith -Winline -Wstrict-prototypes
-Wnested-externs -Wredundant-decls -Wextra -Wno-sign-compare
-Wno-unused-parameter -Wold-style-definition -o tterm.o -c tterm.c
tterm.c: In function ‘Prim_termcap_goto_string’:
tterm.c:181:5: error: ‘BC’ undeclared (first use in this function)
tterm.c:181:5: note: each undeclared identifier is reported only once
for each function it appears in
tterm.c:182:5: error: ‘UP’ undeclared (first use in this function)
tterm.c: In function ‘Prim_termcap_pad_string’:
tterm.c:200:3: error: ‘ospeed’ undeclared (first use in this function)
tterm.c:201:3: error: ‘PC’ undeclared (first use in this function)
make[1]: *** [tterm.o] Fehler 1
make[1]: Leaving directory
`/common/packages/build/mitscheme/build/devel.sandbox/src/microcode'

This can easily tracked down: In Git's commit
0d5d7b56d40bcc37ae0e83495b3a0c45d0ce734f `src/microcode/tterm.c' is
changed only to include one of `term.h' or `termcap.h'. On my Linuxes
both header files are installed by Ncurses, but only `termcap.h'
contains declarations for `BC', `UP', `PC' etc. By the way, this is
Ncurses version 5.9.

Dirk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]