|
From: Scott W. <or...@gm...> - 2004-04-09 02:37:39
|
Fresh CVS produces this during build: ;; Loading file /home/scottw/src/clisp/build-vanilla/condition.lisp ... *** - Exporting ABORT from #<PACKAGE COMMON-LISP> produces a name conflict with SYSTEM::ABORT from #<PACKAGE SYSTEM>. You may choose which symbol should be accessible in #<PACKAGE SYSTEM>. Bye. mv lispimag.mem interpreted.mem mv: cannot stat `lispimag.mem': No such file or directory make: *** [interpreted.mem] Error 1 |
|
From: Blake M. <bl...@mc...> - 2017-03-11 01:34:49
|
Hi, Checked out the latest version and having a build problem. Thought I'd
share:
blake@blake-sony ~/Backup $ uname -a
Linux blake-sony 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
blake@blake-sony ~/Backup $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 17.1 Rebecca
Release: 17.1
Codename: rebecca
blake@blake-sony ~/Backup $ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
blake@blake-sony ~/Backup $ cd copy
blake@blake-sony ~/Backup/copy $ ls -al
total 16
drwxr-xr-x 2 blake blake 4096 Mar 10 19:28 .
drwxr-xr-x 175 blake blake 12288 Mar 10 19:21 ..
blake@blake-sony ~/Backup/copy $ cp -rp ../clisp.hg .
blake@blake-sony ~/Backup/copy $ cd clisp.hg/
blake@blake-sony ~/Backup/copy/clisp.hg $ ./configure
.
.
.
config.status: creating ../Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configure findings:
FFI: yes (user requested: default)
readline: yes (user requested: default)
libsigsegv: yes
./makemake --with-dynamic-ffi > Makefile
make: `config.lisp' is up to date.
To continue building CLISP, the following commands are recommended
(cf. unix/INSTALL step 4 ff):
cd src
vi config.lisp
make
make check
blake@blake-sony ~/Backup/copy/clisp.hg $ cd src
blake@blake-sony ~/Backup/copy/clisp.hg/src $ make
.
.
.
configure: ** System Calls (output)
configure: updating cache config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating link.sh
config.status: creating config.h
config.status: executing depfiles commands
configure: ** System Calls (done)
make[1]: Entering directory `/home/blake/Backup/copy/clisp.hg/src/syscalls'
gcc -I/home/blake/Backup/copy/clisp.hg/src/gllib
-I/home/blake/Backup/copy/clisp.hg/src/gllib -g -O2 -W -Wswitch -Wcomment
-Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit
-Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O
-fno-strict-aliasing -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES
-fPIC -DPIC -I/home/blake/Backup/clisp.hg/src/linkkit \
-c calls.m.c -o calls.o
In file included from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:25:0:
/home/blake/Backup/copy/clisp.hg/src/gllib/unistd.h:139:3: error: #error
"Please include config.h first."
#error "Please include config.h first."
^
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:0,
from
/home/blake/Backup/copy/clisp.hg/src/gllib/sys/types.h:28,
from /usr/include/stdlib.h:314,
from
/home/blake/Backup/copy/clisp.hg/src/gllib/stdlib.h:36,
from /home/blake/Backup/clisp.hg/src/linkkit/clisp.h:2070,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:20:
/home/blake/Backup/copy/clisp.hg/src/gllib/unistd.h:669:1: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
_GL_CXXALIAS_SYS (close, int, (int fd));
^
In file included from /usr/include/errno.h:35:0,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:29:
/usr/include/x86_64-linux-gnu/bits/errno.h:50:1: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix_stream_lock’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:287:7: warning:
implicit declaration of function ‘__errno_location’
[-Wimplicit-function-declaration]
&& lock_p && (cmd == F_SETLK) && (errno == EACCES || errno ==
EAGAIN))
^
In file included from /usr/include/errno.h:35:0,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:29:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:287:41: error: invalid
type argument of unary ‘*’ (have ‘int’)
&& lock_p && (cmd == F_SETLK) && (errno == EACCES || errno ==
EAGAIN))
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:287:60: error: invalid
type argument of unary ‘*’ (have ‘int’)
&& lock_p && (cmd == F_SETLK) && (errno == EACCES || errno ==
EAGAIN))
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_os_priority’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:906:3: error: invalid
type argument of unary ‘*’ (have ‘int’)
errno = 0;
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:908:15: error: invalid
type argument of unary ‘*’ (have ‘int’)
failed_p = (errno != 0);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix_encrypt’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1103:3: error: invalid
type argument of unary ‘*’ (have ‘int’)
errno = 0; encrypt(block,flag); failed_p = (errno != 0);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1103:47: error:
invalid type argument of unary ‘*’ (have ‘int’)
errno = 0; encrypt(block,flag); failed_p = (errno != 0);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix_setkey’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1116:3: error: invalid
type argument of unary ‘*’ (have ‘int’)
errno = 0; setkey(block); failed_p = (errno != 0);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1116:41: error:
invalid type argument of unary ‘*’ (have ‘int’)
errno = 0; setkey(block); failed_p = (errno != 0);
^
In file included from /usr/include/netinet/in.h:23:0,
from /usr/include/netdb.h:27,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1525:
/home/blake/Backup/copy/clisp.hg/src/gllib/sys/socket.h: At top level:
/home/blake/Backup/copy/clisp.hg/src/gllib/sys/socket.h:68:3: error: #error
"Please include config.h first."
#error "Please include config.h first."
^
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:0,
from
/home/blake/Backup/copy/clisp.hg/src/gllib/sys/types.h:28,
from /usr/include/stdlib.h:314,
from
/home/blake/Backup/copy/clisp.hg/src/gllib/stdlib.h:36,
from /home/blake/Backup/clisp.hg/src/linkkit/clisp.h:2070,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:20:
/home/blake/Backup/copy/clisp.hg/src/gllib/sys/socket.h:637:1: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
_GL_CXXALIAS_SYS (socket, int, (int domain, int type, int protocol));
^
In file included from /usr/include/netdb.h:27:0,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1525:
/usr/include/netinet/in.h:30:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘typedef’
typedef uint32_t in_addr_t;
^
/usr/include/netinet/in.h:33:5: error: unknown type name ‘in_addr_t’
in_addr_t s_addr;
^
In file included from
/home/blake/Backup/copy/clisp.hg/src/gllib/arpa/inet.h:46:0,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1528:
/usr/include/arpa/inet.h:34:1: error: unknown type name ‘in_addr_t’
extern in_addr_t inet_addr (const char *__cp) __THROW;
^
/usr/include/arpa/inet.h:37:1: error: unknown type name ‘in_addr_t’
extern in_addr_t inet_lnaof (struct in_addr __in) __THROW;
^
/usr/include/arpa/inet.h:41:38: error: unknown type name ‘in_addr_t’
extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host)
^
/usr/include/arpa/inet.h:41:55: error: unknown type name ‘in_addr_t’
extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host)
^
/usr/include/arpa/inet.h:45:1: error: unknown type name ‘in_addr_t’
extern in_addr_t inet_netof (struct in_addr __in) __THROW;
^
/usr/include/arpa/inet.h:49:1: error: unknown type name ‘in_addr_t’
extern in_addr_t inet_network (const char *__cp) __THROW;
^
/usr/include/arpa/inet.h:77:25: error: unknown type name ‘in_addr_t’
extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len)
__THROW;
^
In file included from /usr/include/errno.h:35:0,
from
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:29:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix_group_info’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1725:3: error: invalid
type argument of unary ‘*’ (have ‘int’)
errno = 0;
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1736:15: error:
invalid type argument of unary ‘*’ (have ‘int’)
failed_p = (errno != 0);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix_user_info’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1800:3: error: invalid
type argument of unary ‘*’ (have ‘int’)
errno = 0;
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1816:15: error:
invalid type argument of unary ‘*’ (have ‘int’)
failed_p = (errno != 0);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix__25sethostid’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1920:24: error:
invalid type argument of unary ‘*’ (have ‘int’)
begin_system_call(); errno = 0; sethostid(hid); e = errno;
end_system_call();
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1920:55: error:
invalid type argument of unary ‘*’ (have ‘int’)
begin_system_call(); errno = 0; sethostid(hid); e = errno;
end_system_call();
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘hardlink_file’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:2889:15: error:
invalid type argument of unary ‘*’ (have ‘int’)
failed = (errno==ENOENT ? &STACK_3 : &STACK_1);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘symlink_file’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:2917:15: error:
invalid type argument of unary ‘*’ (have ‘int’)
failed = (errno==ENOENT ? &STACK_3 : &STACK_1);
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix_errno’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:5800:20: error:
invalid type argument of unary ‘*’ (have ‘int’)
error_code = errno;
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:5812:7: error: invalid
type argument of unary ‘*’ (have ‘int’)
errno = error_code;
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_sys_strerror’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:5823:18: error:
invalid type argument of unary ‘*’ (have ‘int’)
error_code = errno;
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: In function
‘C_subr_posix__25sethostid’:
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c:1920:44: warning:
ignoring return value of ‘sethostid’, declared with attribute
warn_unused_result [-Wunused-result]
begin_system_call(); errno = 0; sethostid(hid); e = errno;
end_system_call();
^
/home/blake/Backup/clisp.hg/modules/syscalls/calls.c: At top level:
cc1: warning: unrecognized command line option "-Wno-shift-negative-value"
[enabled by default]
make[1]: *** [calls.o] Error 1
make[1]: Leaving directory `/home/blake/Backup/copy/clisp.hg/src/syscalls'
make: *** [syscalls] Error 2
blake@blake-sony ~/Backup/copy/clisp.hg/src $
|
|
From: Bruno H. <br...@cl...> - 2017-03-11 02:09:08
|
Blake McBride wrote: > blake@blake-sony ~/Backup/copy/clisp.hg $ ./configure Always do "make distclean" before "./configure". (Or if your copy of clisp was older than 2017-02-19, you need to do: "cd src; make distclean".) Bruno |
|
From: Blake M. <bl...@mc...> - 2017-03-12 00:48:10
|
Thanks. The winning sequence, when the status of the repo is unclear is: hg pull hg update ./configure make distclean ./configure cd src make make check However, my make check returned: ... EQL-OK: ERROR (LET ((V '(A B C)) (VAL '(3 2 1))) (PROGV V VAL (MAPCAR #'EVAL V))) EQUAL-OK: (3 2 1) (DEFUN PLUS (&REST ARGS) (APPLY #'+ ARGS)) EQL-OK: PLUS (FLET ((PLUS (A B) (+ A B)) (MINUS (A B) (- A B))) (LIST (PLUS 1 2) (MINUS 1 2))) EQUAL-OK: (3 -1) (LIST (FLET ((PLUS (A B) (- A B))) (PLUS 3 2)) (+ 3 2)) EQUAL-OK: (1 5) (FLET ((PLUS (A B) (PLUS (PLUS A B A) B))) (PLUS 3 2)) EQL-OK: 10 (LABELS ((QUEUE (L) (IF (CAR L) (QUEUE (CDR L)) 'ENDE))) (QUEUE '(1 2 3))) EQL-OK: ENDE (LABELS ((PLUS (A B) (* A (PLUS A A B)))) (PLUS 1 2 3)) [SIMPLE-PROGRAM-ERROR]: EVAL/APPLY: too many arguments given to PLUS EQL-OK: ERROR (LET ((A T) (B NIL)) (LIST (IF A 1 2) (IF B 1 2) (IF A 1) (IF B 1))) EQUAL-OK: (1 2 1 NIL) (LET ((A T) (B NIL)) (LIST (WHEN A 1 2) (WHEN B 1 2) (WHEN A 1))) EQUAL-OK: (2 NIL 1) (LET ((A T) (B NIL)) (LIST (UNLESS A 1 2) (UNLESS B 1 2) (UNLESS A 1))) EQUAL-OK: (NIL 2 NIL) (LET ((A T) (B 10) (C NIL)) (LIST (COND (A 1) (T 'END)) (COND (B) (T 'END)) (COND (C 1) (T 'END)))) EQUAL-OK: (1 10 END) (CASE (+ 1 2) (1 -1) (2 -2) (3 -3)) EQL-OK: -3 (CASE (+ 1 2) (1 -1) (2 -2)) EQL-OK: NIL (CASE (+ 1 2) ((1 3) -1) (2 -2) (OTHERWISE 100)) EQL-OK: -1 (TYPECASE (+ 1 2) (LIST -2) (NULL -3) (INTEGER -1)) EQL-OK: -1 (BLOCK BLOCKTEST (IF T (RETURN 0)) 1) [SIMPLE-SOURCE-PROGRAM-ERROR]: *** - handle_fault error2 ! address = 0xb00000050b0 not in [0xb0000000000,0xb0000001098) ! SIGSEGV cannot be cured. Fault address = 0xb00000050b0. GC count: 643 Space collected by GC: 937261960 Run time: 29 716024 Real time: 32 441382 GC time: 4 267826 Permanently allocated: 158648 bytes. Currently in use: 7982920 bytes. Free space: 27152 bytes. make[1]: *** [tests] Segmentation fault make[1]: Leaving directory `/home/blake/Backup/clisp.hg/src/tests' make: *** [check-tests] Error 2 Thanks! Blake On Fri, Mar 10, 2017 at 8:08 PM, Bruno Haible <br...@cl...> wrote: > Blake McBride wrote: > > blake@blake-sony ~/Backup/copy/clisp.hg $ ./configure > > Always do "make distclean" before "./configure". > > (Or if your copy of clisp was older than 2017-02-19, you need > to do: "cd src; make distclean".) > > Bruno > > |
|
From: Sam S. <sd...@gn...> - 2017-03-12 17:19:27
|
> * Blake McBride <oy...@zp...> [2017-03-11 18:48:03 -0600]: > > Thanks. The winning sequence, when the status of the repo is unclear is: > > hg pull > hg update > ./configure I suggest that you always pass a build directory to configure: ./configure build-no-options this way you do `rm -rf build-no-options` instead of `make distclean`. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.10 (yakkety) X 11.0.11804000 http://www.childpsy.net/ http://www.dhimmitude.org http://iris.org.il http://ffii.org http://palestinefacts.org http://americancensorship.org Growing Old is Inevitable; Growing Up is Optional. |
|
From: Blake M. <bl...@mc...> - 2017-03-12 17:29:43
|
Thanks! But what about the make check error. Is that normal? On Sun, Mar 12, 2017 at 12:17 PM, Sam Steingold <sd...@gn...> wrote: > > * Blake McBride <oy...@zp...> [2017-03-11 18:48:03 -0600]: > > > > Thanks. The winning sequence, when the status of the repo is unclear is: > > > > hg pull > > hg update > > ./configure > > I suggest that you always pass a build directory to configure: > > ./configure build-no-options > > this way you do `rm -rf build-no-options` instead of `make distclean`. > > -- > Sam Steingold (http://sds.podval.org/) on Ubuntu 16.10 (yakkety) X > 11.0.11804000 > http://www.childpsy.net/ http://www.dhimmitude.org http://iris.org.il > http://ffii.org http://palestinefacts.org http://americancensorship.org > Growing Old is Inevitable; Growing Up is Optional. > |
|
From: Sam S. <sd...@gn...> - 2004-04-09 13:12:37
|
fixed in the cvs yesterday. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> When you talk to God, it's prayer; when He talks to you, it's schizophrenia. |