I've taken it from here:

and from here:

and assumed from the messages context that they worked for their posters.

I've also check the following github mirror of ecl (it is a little bit outdated - January was the last time)

What is the correct one? any documentation link?


On Mon, May 13, 2013 at 8:08 PM, Peter Keller <psilord@cs.wisc.edu> wrote:
On Mon, May 13, 2013 at 02:33:00PM +0400, Ala'a Mohammad wrote:
> ;; foo.lisp
> (defpackage "DEMO"
>   (:use :cl)
>   (:export "SUM-ARRAY"))
> ;; using the following
> ;;;(declaim (si::c-export-fname sum-arary))
> ;; gave me
> ;;Unknown declaration specifier SI::C-EXPORT-FNAME
> ;; so instead I tried 'proclaim', but it seem to have
> ;; no effect as the generated symbol name is L1sum_array rather than
> demo_sum_array
> (proclaim '(si::c-export-fname sum-arary))
> (defun sum-array (array)
>   (loop for i from 0 below (length array)
>         summing (aref array i)))

I'm not sure how to do the operation you want to do without cheking
further, but the indicated symbols are a typo. If you fix it, does the
problem go away?