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 $ |