[Ecls-list] load-foreign-library
Rick Taube
taube at uiuc.edu
Tue Oct 24 12:00:11 UTC 2006
> requirement.
> But did LOAD-FOREIGN-MODULE work with your library now?
> Juanjo
(defun %load-foreign-library (name)
"Load a foreign library from NAME."
(si:load-foreign-module name))
Juan - I did a cvs update, make clean, remade ecl, deleted all
cffi .fas files before i tried but the error is the same:
CM> (pm:portmidi)
FIND-FOREIGN-SYMBOL: Could not load foreign symbol "_Pm_Initialize"
from module :DEFAULT (Error: NIL)
Broken at PORTMIDI:PORTMIDI.
CM>>
i just did another cvs update thinking that anonymous cvs might not
have contained the fix but some ecl sources are in mid-stream i guess
and wont build on osx:
gcc -c -I. -I/usr/local/src/ecl/build -I/usr/local/src/ecl/src/c -I../
ecl/gc -g -O2 -fPIC -fno-common -D_THREAD_SAFE -fstrict-aliasing -
Ddarwin -o symbol.o symbol.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /usr/local/src/ecl/src/c/
package.d package.c ; else ./dpp /usr/local/src/ecl/src/c/package.d
package.c ; fi
dpp: /usr/local/src/ecl/src/c/package.d -> package.c
gcc -c -I. -I/usr/local/src/ecl/build -I/usr/local/src/ecl/src/c -I../
ecl/gc -g -O2 -fPIC -fno-common -D_THREAD_SAFE -fstrict-aliasing -
Ddarwin -o package.o package.c
/usr/local/src/ecl/src/c/package.d: In function 'make_package':
/usr/local/src/ecl/src/c/package.d:146: error:
'PTHREAD_MUTEX_ERRORCHECK' undeclared (first use in this function)
More information about the ecl-devel
mailing list