NLFFI in NetBSD
Vesa A Norrman <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Hello, I tested if NLFFI works on NetBSD and the result is an error CFunNotFound. What you think might be the reason for this error? Vesa > gmake -f math.make ml-nlffigen -include ../libh.sml -libhandle LibH.libh -dir FFI -cmfile math.cm math.h > sml Standard ML of New Jersey v110.45 [FLINT v1.5], February 13, 2004 - CM.make "math.cm"; [autoloading] [library $smlnj/cm/cm.cm is stable] [library $smlnj/internal/cm-sig-lib.cm is stable] [library $/pgraph.cm is stable] [library $smlnj/internal/srcpath-lib.cm is stable] [autoloading done] [scanning math.cm] [library $c/c.cm is stable] [attempting to load plugin $/make-tool.cm] [library $/make-tool.cm is stable] [library $smlnj/cm/tools.cm is stable] [library $smlnj/internal/cm-lib.cm is stable] [plugin $/make-tool.cm loaded successfully] [make -f math.make FFI/math.cm] `FFI/math.cm' is up to date. [scanning (math.cm):FFI/math.cm] [library $c/internals/c-int.cm is stable] [parsing (math.cm):FFI/(math.cm):f-tanh.sml] [creating directory FFI/.cm/SKEL] [parsing (math.cm):FFI/(math.cm):f-tan.sml] [parsing (math.cm):FFI/(math.cm):f-sqrt.sml] [parsing (math.cm):FFI/(math.cm):f-sinh.sml] [parsing (math.cm):FFI/(math.cm):f-sin.sml] [parsing (math.cm):FFI/(math.cm):f-pow.sml] [parsing (math.cm):FFI/(math.cm):f-log10.sml] [parsing (math.cm):FFI/(math.cm):f-log.sml] [parsing (math.cm):FFI/(math.cm):f-exp.sml] [parsing (math.cm):FFI/(math.cm):f-cosh.sml] [parsing (math.cm):FFI/(math.cm):f-cos.sml] [parsing (math.cm):FFI/(math.cm):f-atan2.sml] [parsing (math.cm):FFI/(math.cm):f-atan.sml] [parsing (math.cm):FFI/(math.cm):f-asin.sml] [parsing (math.cm):FFI/(math.cm):f-acos.sml] [parsing (math.cm):FFI/(math.cm):callop-1.sml] [parsing (math.cm):FFI/(math.cm):fptr-rtti-1.sml] [parsing (math.cm):FFI/(math.cm):callop-0.sml] [parsing (math.cm):FFI/(math.cm):fptr-rtti-0.sml] [parsing (math.cm):FFI/(math.cm):../libh.sml] [creating directory .cm/SKEL] [library $c/memory/memory.cm is stable] [compiling (math.cm):FFI/(math.cm):../libh.sml] [creating directory .cm/GUID] [creating directory .cm/x86-unix] [code: 384, env: 212 bytes] [compiling (math.cm):FFI/(math.cm):callop-0.sml] [creating directory FFI/.cm/x86-unix] [code: 300, env: 408 bytes] [compiling (math.cm):FFI/(math.cm):fptr-rtti-0.sml] [code: 612, env: 149 bytes] [compiling (math.cm):FFI/(math.cm):f-tanh.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-sqrt.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-sinh.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-cosh.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-atan.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-asin.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-acos.sml] [code: 1049, data: 33, env: 276 bytes] [compiling (math.cm):FFI/(math.cm):f-tan.sml] [code: 1048, data: 32, env: 275 bytes] [compiling (math.cm):FFI/(math.cm):f-sin.sml] [code: 1048, data: 32, env: 275 bytes] [compiling (math.cm):FFI/(math.cm):callop-1.sml] [code: 308, env: 418 bytes] [compiling (math.cm):FFI/(math.cm):fptr-rtti-1.sml] [code: 696, env: 164 bytes] [compiling (math.cm):FFI/(math.cm):f-pow.sml] [code: 1108, data: 32, env: 298 bytes] [compiling (math.cm):FFI/(math.cm):f-log.sml] [code: 1048, data: 32, env: 275 bytes] [compiling (math.cm):FFI/(math.cm):f-exp.sml] [code: 1048, data: 32, env: 275 bytes] [compiling (math.cm):FFI/(math.cm):f-cos.sml] [code: 1048, data: 32, env: 275 bytes] [compiling (math.cm):FFI/(math.cm):f-log10.sml] [code: 1054, data: 34, env: 277 bytes] [compiling (math.cm):FFI/(math.cm):f-atan2.sml] [code: 1114, data: 34, env: 300 bytes] $Execute: required privileges are: c-int primitive /usr/pkgsrc/wip/smlnj-current/work/src/ml-nlffi-lib/memory/memory.cm:17.2-17.20 Error: link-time exception in library code $c/memory/memory.cm-Sl3d6/[email protected](linkage-dlopen.sml) CFunNotFound - ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297