That function was only changed to be exported
yesterday:
https://github.com/JuliaLang/julia/commit/f0209a456dff4ec8748d7a9cef3274fec8ff8eb0#diff-6a6782ec625f2249ccd97c31845ea515R26
I don't know how Windows does its symbol resolution, but it's possible that
it doesn't need to be flagged as exported to be found. Try updating and
see if that fixes it for you.
On Tuesday, July 22, 2014 11:05:17 AM UTC-4, Keith Campbell wrote:
>
> I can ccall :u8_charnum function from Windows but get an error on Linux:
> Any thoughts appreciated.
>
> Win:
> julia> x="asdf"
> "asdf"
>
> julia> ccall(:u8_charnum, Csize_t, (Ptr{Uint8}, Csize_t), pointer(x), 4)
> 0x0000000000000004
>
> On Linux, I get
> ERROR: ccall: could not find function u8_charnum
> in anonymous at no file
>
> Win version:
> Version 0.3.0-rc1+61 (2014-07-17 20:55 UTC)
> Commit c4547e6 (4 days old master)
> x86_64-w64-mingw32
>
> Linux version:
> Version 0.3.0-rc1+73 (2014-07-18 17:57 UTC)
> Commit 49ac85f* (3 days old master)
> x86_64-redhat-linux
>
>