This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
newLISP v.10.3.0 on BSD IPv4/6 UTF-8, execute 'newlisp -h' for more info.
> (numbers (set 'numbers (sequence 1 100)) 5)
ERR: invalid function : (numbers (set 'numbers (sequence 1 100)) 5)
> (set 'numbers (sequence 1 100))
(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100)
> (numbers 5)
6
> (numbers (set 'numbers (sequence 1 100)) 5)
Memory fault
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 gmake -f makefile_bsd
gcc -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD newlisp.c
newlisp.c:855: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PARAMS'
newlisp.c: In function 'getToken':
newlisp.c:3287: warning: array subscript has type 'char'
newlisp.c:3303: warning: array subscript has type 'char'
newlisp.c:3309: warning: array subscript has type 'char'
gmake: *** [newlisp.o] Error 1
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 gmake clean
rm -f *~ *.bak *.o *.obj *.map *.core core *.tgz guiserver/java/._* TEST newlisp-universal
rm -f guiserver/*.class doc/*~ util/*~ examples/*~ modules/*~
rm -f doc/*.bak util/*.bak examples/*.bak modules/*.bak
chmod 644 *.h *.c *.lsp Makefile makefile*
chmod: *.lsp: No such file or directory
gmake: [clean] Error 1 (ignored)
chmod 755 configure configure-alt examples/*
chmod 644 doc/* modules/*.lsp examples/*.lsp examples/*.html
chmod 644 guiserver/*
chmod 755 guiserver/images
chmod 644 guiserver/images/*
chmod 755 guiserver/java
chmod 644 guiserver/java/*
rm -f makefile_build makefile_install config.h test-*
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 gmake -f makefile_netbsd
gcc -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD newlisp.c
newlisp.c:855: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PARAMS'
newlisp.c: In function 'getToken':
newlisp.c:3287: warning: array subscript has type 'char'
newlisp.c:3303: warning: array subscript has type 'char'
newlisp.c:3309: warning: array subscript has type 'char'
gmake: *** [newlisp.o] Error 1
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 uname -a
NetBSD bonnie 5.0_STABLE NetBSD 5.0_STABLE (BONNIE) #0: Sat Feb 13 00:52:48 PST 2010 root@bonnie:/usr/obj/sys/arch/i386/compile/BONNIE i386
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 uname
NetBSD
....
install -m 644 doc/newLISPdoc.html /usr/local/newlisp-10.2.8./share/doc/newlisp/newLISPdoc.html
install -m 644 doc/newLISP-10.2.6-Release.html /usr/local/newlisp-10.2.8./share/doc/newlisp/newLISP-10.2.6-Release.html
install: doc/newLISP-10.2.6-Release.html: stat: No such file or directory
*** Error code 1 (ignored)
install -m 644 doc/newlisp.1 /usr/local/newlisp-10.2.8./man/man1/newlisp.1
....
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 diff makefile_build*txt
1c1,10
< # makefile for newLISP v. 10.1.x generated by the configure script (configure-alt)
---
> # makefile for newLISP v. 10.x.x on BSDs: FreeBSD, OpenBSD and NetBSD with UTF8 support
> #
>
> OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o
> nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
>
> CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD -DSUPPORT_UTF8
> # or without readline lib
> #CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DSUPPORT_UTF8
>
3,9d11
< CFLAGS = -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -O2 -c
< LDFLAGS = -lm
< OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o
< STRIP = strip
< TARG = newlisp
< RLFLAGS =
< ARCHFLAGS = -m32
12,13c14,17
< $(CC) $(OBJS) $(ARCHFLAGS) $(LDFLAGS) $(RLFLAGS) -o $(TARG)
< $(STRIP) $(TARG)
---
> $(CC) $(OBJS) -m32 -g -lm -lreadline -lncurses -o newlisp
> # or without readline lib
> # $(CC) $(OBJS) -m32 -g -lm -o newlisp
> strip newlisp
16c20,22
< $(CC) $(ARCHFLAGS) $(CFLAGS) -DNEWCONFIG $<
---
> $(CC) $(CFLAGS) $<
>
> $(OBJS): primes.h protos.h makefile_bsd_utf8
18d23
< $(OBJS): primes.h protos.h config.h makefile_build
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 ./configure
removing old objects and setting correct permissions ...
chmod: *.lsp: No such file or directory
*** Error code 1discovering platform and default memory model ...
detected memory model ILP32
detected Operating System _BSD
creating makefile_build ...
to make for ILP32 on _BSD type:
make
to make for any other system do:
make -f makefile_xxx
where makefile_xxx is one of the preconfigured makefiles
geo@bonnie:/home/geo/tmp/newlisp-10.2.8 make
make -f makefile_build
gcc -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD -DSUPPORT_UTF8 newlisp.c
newlisp.c:855: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PARAMS'
newlisp.c: In function 'getToken':
newlisp.c:3287: warning: array subscript has type 'char'
newlisp.c:3303: warning: array subscript has type 'char'
newlisp.c:3309: warning: array subscript has type 'char'
*** Error code 1
Stop.
make: stopped in /usr/home/geo/tmp/newlisp-10.2.8
*** Error code 1
Stop.
make: stopped in /usr/home/geo/tmp/newlisp-10.2.8