Hi. I still try to build my cocos2d application with emscripten. It compile 
ok, but when it begins to link data file of project I have strange error

*/clang+llvm-3.2-x86_64-apple-darwin11/bin/llvm-link: link error in 
'/tmp/tmp4bSbRK/libcocos2d_463.so': Linking globals named 
'deflate_copyright': symbol multiply defined!*

*Traceback (most recent call last):*

*  File "/Users/roman/Documents/Repository/external/emscripten/emcc", line 
1365, in <module>*

*    shared.Building.link(linker_inputs, in_temp(target_basename + '.bc'))*

*  File 
"/Users/roman/Documents/Repository/external/emscripten/tools/shared.py", 
line 965, in link*

*    assert os.path.exists(target) and (output is None or 'Could not open 
input file' not in output), 'Linking error: ' + output*

*AssertionError: Linking error: *

*make[1]: *** [bin/release/SlotoMatch3.js] Error 1*

*make: *** [all] Error 2*

If you can see it say that *deflate_copyright *is redefined, but I check 
all sources and rename everywhere it, but mistake still here. 

I think this is runtime error when it tries to generate a data file and 
falls down on loading a lot of files of resources (about 300 - total ~50 
Mb).

What you think about this? How I can fix it? I think it must be a way 
create few data files and connect them in one.

-- 
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