At a guess libm is missing in the chroot. Check library dependencies with ldd.
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 $(CC) $(OBJS) -m64 -o newlisp -static -Wl,-Bstatic -lm -lc
strip newlisp
(print (replace ....))
then the string will be printed without extras before double-quotes, but the interactive output coming after will still show the string with that meta-character wrapping.> (println "\"")
"
"\""
>
The first line is what the println function prints (which is the "raw" string content with a newline added at end), and the second line is the interactive output of the value returned by the println function (the same string but with meta-characters to make it be the character sequence the input reader would need). (setf ACTIONS '(
(87 up) (119 up)
(65 left) (97 left)
(85 down) (115 down)
(68 right) (100 right)
(48 exit) ; "0" --> quit the game
))
(if (lookup (setf key (read-key)) ACTIONS) (apply $it)
(println "Wrong key.") (setq key-error true))
(define (randint RANGE DIGITS)
(letn ((digits (fn (X) (map int (unique (explode (string X))))))
(wrong (fn (X) (difference (digits X) DIGITS)))
(S (clean wrong (apply sequence RANGE))))
(S (rand (length S)))))