Yes, but you are using Emscripten 1.10.0, which like your version string
indicates ("20140205") is a year and 3 months old, it was released in 29th
of January 2014.

The function glob is provided here
https://github.com/kripken/emscripten/blob/master/system/lib/libc/musl/src/regex/glob.c
and it was added in Emscripten 1.23.3 , see
https://github.com/kripken/emscripten/commit/eff15fba84ccf37a5430e6c842f8bdc19d5ad842
.

Please update to version of Emscripten that is newer than that, see

https://groups.google.com/d/msg/emscripten-discuss/b06iW6T2uSw/7Pq2gT3keSgJ
or
http://kripken.github.io/emscripten-site/docs/building_from_source/index.html

I am guessing you got your Emscripten from some Linux package manager,
that's usually the only way people get their hands on horribly outdated
versions of Emscripten. I wish the Linux repositories would stop bundling
Emscripten, it's a horrible thing they are doing.

2015-04-16 11:12 GMT+03:00 sexuloom <[email protected]>:

> Hey
>
> When I try to compile a project with emscripten I get the following
> warnings (and the compilation ends with error).
>
> *warning: unresolved symbol: glob*
> *warning: unresolved symbol: globfree*
>
> These functions are declared in glob.h situated in libc library provided
> by emscripten and found (on my filesystem) in
> /usr/share/emscripten/system/include/libc folder.
>
> I am using emscripten version: 1.10.0~20140205~ef1e460-1
>
> How could I get my hands on the glob bitcode file to fix the unresolved
> symbol warnings?
>
> Also, shouldn't emscripten add the libc library automatically (see below)?
>
> Built in support is available for a number of standard libraries: libc,
>> libc++ and SDL. These will automatically be linked when you compile code
>> that uses them..
>
>
> Thank you for your time.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to