kripken/speak.js — Issue #13: 'semaphore.h' file not found
Author: icidasset
Created: 2011-11-30 16:56:30+00:00
State: open

So uh, I ran into this error when I tried to build speak.js (i.e. using emscripten.sh)

```bash
/home/icid/Downloads/emscripten/system/include/libc/stdlib.h:193:10: warning: 'long long' is an
extension when C99 mode is not enabled [-pedantic,-Wlong-long]
unsigned long long _EXFUN(_strtoull_r,(struct _reent *, const char *__n, char ...
^
event.cpp:32:10: fatal error: 'semaphore.h' file not found
#include
^
16 warnings and 1 error generated.
make: *** [x_event.o] Error 1
dis
emscripten
Traceback (most recent call last):
File "/home/icid/Downloads/emscripten/emscripten.py", line 289, in
main(keywords)
File "/home/icid/Downloads/emscripten/emscripten.py", line 164, in main
if args.optimize: args.infile = optimize(args.infile)
File "/home/icid/Downloads/emscripten/emscripten.py", line 92, in optimize
command = [shared.LLVM_OPT, '-o=-', filepath] + shared.pick_llvm_opts(3, True)
AttributeError: 'module' object has no attribute 'pick_llvm_opts'
bundling
```

Yes, I am aware that I normally shouldn't place everything in my Download folder.
It's just because it's a temporary Ubuntu (v11.10) setup..

Could this be because I'm using llvm and clang version 3.1 (svn)?

PS. Also installed SpiderMonkey and V8 from trunk