We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last login: Sun Mar 25 12:36:31 on ttys001 Kirans-MacBook-Pro:~ KiranDigavalli$ git clone https://github.com/nusgart/XNS-LISP.git Cloning into 'XNS-LISP'... remote: Counting objects: 177, done. remote: Compressing objects: 100% (89/89), done. remote: Total 177 (delta 115), reused 146 (delta 84), pack-reused 0 Receiving objects: 100% (177/177), 52.97 KiB | 0 bytes/s, done. Resolving deltas: 100% (115/115), done. Checking connectivity... done. Kirans-MacBook-Pro:~ KiranDigavalli$ ls 0413 Applications Downloads Music README.md 2242 Desktop Library Pictures VirtualBox VMs Adlm Documents Movies Public XNS-LISP Kirans-MacBook-Pro:~ KiranDigavalli$ make make: *** No targets specified and no makefile found. Stop. Kirans-MacBook-Pro:~ KiranDigavalli$ cd XNS-LISP Kirans-MacBook-Pro:XNS-LISP KiranDigavalli$ ls COPYING README.MD src Makefile include xns.code-workspace Kirans-MacBook-Pro:XNS-LISP KiranDigavalli$ make cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/main.o src/main.c cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_heap.o src/xns_heap.c cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_ops.o src/xns_ops.c cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_vm.o src/xns_vm.c cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_io.o src/xns_io.c src/xns_io.c:167:18: warning: implicit declaration of function 'fmemopen' is invalid in C99 [-Wimplicit-function-declaration] FILE *file = fmemopen(memory, length, "r"); ^ src/xns_io.c:167:11: warning: incompatible integer to pointer conversion initializing 'FILE *' (aka 'struct __sFILE *') with an expression of type 'int' [-Wint-conversion] FILE *file = fmemopen(memory, length, "r"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xns_io.c:294:11: warning: incompatible integer to pointer conversion initializing 'FILE *' (aka 'struct __sFILE *') with an expression of type 'int' [-Wint-conversion] FILE *file = fmemopen(memory, length, "r"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. for i in grep xns_object include/xns_prims.h | cut -d ' ' -f 2 | tr -d '*' ;do echo " "rp(vm, "echo -n $i | sed s/xns_prim_//g", $i); ; done > src/primops.inc cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_prims.o src/xns_prims.c cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_math_prims.o src/xns_math_prims.c src/xns_math_prims.c:77:3: warning: 'gamma' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] M(gamma); ^ src/xns_math_prims.c:68:18: note: expanded from macro 'M' double res = x (arg->dval); ^ /usr/include/math.h:720:15: note: 'gamma' has been explicitly marked deprecated here extern double gamma(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, _... ^ 1 warning generated. cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_prims_io.o src/xns_prims_io.c cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_eval.o src/xns_eval.c cc -o xns_lisp src/main.o src/xns_heap.o src/xns_ops.o src/xns_vm.o src/xns_io.o src/xns_prims.o src/xns_math_prims.o src/xns_prims_io.o src/xns_eval.o -g -lm Undefined symbols for architecture x86_64: "_fmemopen", referenced from: _xns_read_memory in xns_io.o _xns_read_whole_buffer in xns_io.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [xns_lisp] Error 1 Kirans-MacBook-Pro:XNS-LISP KiranDigavalli$
grep xns_object include/xns_prims.h | cut -d ' ' -f 2 | tr -d '*'
echo -n $i | sed s/xns_prim_//g
The text was updated successfully, but these errors were encountered:
It would appear that fmemopen(2) is not present on Mac OS X, even though it is part of POSIX.
Sorry, something went wrong.
No branches or pull requests
Last login: Sun Mar 25 12:36:31 on ttys001
Kirans-MacBook-Pro:~ KiranDigavalli$ git clone https://github.com/nusgart/XNS-LISP.git
Cloning into 'XNS-LISP'...
remote: Counting objects: 177, done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 177 (delta 115), reused 146 (delta 84), pack-reused 0
Receiving objects: 100% (177/177), 52.97 KiB | 0 bytes/s, done.
Resolving deltas: 100% (115/115), done.
Checking connectivity... done.
Kirans-MacBook-Pro:~ KiranDigavalli$ ls
0413 Applications Downloads Music README.md
2242 Desktop Library Pictures VirtualBox VMs
Adlm Documents Movies Public XNS-LISP
Kirans-MacBook-Pro:~ KiranDigavalli$ make
make: *** No targets specified and no makefile found. Stop.
Kirans-MacBook-Pro:~ KiranDigavalli$ cd XNS-LISP
Kirans-MacBook-Pro:XNS-LISP KiranDigavalli$ ls
COPYING README.MD src
Makefile include xns.code-workspace
Kirans-MacBook-Pro:XNS-LISP KiranDigavalli$ make
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/main.o src/main.c
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_heap.o src/xns_heap.c
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_ops.o src/xns_ops.c
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_vm.o src/xns_vm.c
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_io.o src/xns_io.c
src/xns_io.c:167:18: warning: implicit declaration of function 'fmemopen' is
invalid in C99 [-Wimplicit-function-declaration]
FILE *file = fmemopen(memory, length, "r");
^
src/xns_io.c:167:11: warning: incompatible integer to pointer conversion
initializing 'FILE *' (aka 'struct __sFILE *') with an expression of type
'int' [-Wint-conversion]
FILE *file = fmemopen(memory, length, "r");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xns_io.c:294:11: warning: incompatible integer to pointer conversion
initializing 'FILE *' (aka 'struct __sFILE *') with an expression of type
'int' [-Wint-conversion]
FILE *file = fmemopen(memory, length, "r");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
for i in
grep xns_object include/xns_prims.h | cut -d ' ' -f 2 | tr -d '*'
;doecho " "rp(vm, "
echo -n $i | sed s/xns_prim_//g
", $i); ;done > src/primops.inc
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_prims.o src/xns_prims.c
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_math_prims.o src/xns_math_prims.c
src/xns_math_prims.c:77:3: warning: 'gamma' is deprecated: first deprecated in
OS X 10.9 [-Wdeprecated-declarations]
M(gamma);
^
src/xns_math_prims.c:68:18: note: expanded from macro 'M'
double res = x (arg->dval);
^
/usr/include/math.h:720:15: note: 'gamma' has been explicitly marked deprecated
here
extern double gamma(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, _...
^
1 warning generated.
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_prims_io.o src/xns_prims_io.c
cc -std=gnu11 -O0 -g -Iinclude -Wall -Wextra -c -o src/xns_eval.o src/xns_eval.c
cc -o xns_lisp src/main.o src/xns_heap.o src/xns_ops.o src/xns_vm.o src/xns_io.o src/xns_prims.o src/xns_math_prims.o src/xns_prims_io.o src/xns_eval.o -g -lm
Undefined symbols for architecture x86_64:
"_fmemopen", referenced from:
_xns_read_memory in xns_io.o
_xns_read_whole_buffer in xns_io.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xns_lisp] Error 1
Kirans-MacBook-Pro:XNS-LISP KiranDigavalli$
The text was updated successfully, but these errors were encountered: