Hi All, I am using Madai 1.4 version:
I have written my own gecko component for parsing JS parameters. In my interface, invoking JS_GetProperty(cx, object, pszPropertyName, jsBoolValue) API for retriving the values. for compiling this .cpp file, added libjs_static library to my make file, I tried with adding libz library also still same result. Did the compilation, while linking it is displaying undefined reference error. and build was stopped. Linking error: madai_master_GIT/gecko/js/src/vm/Compression.cpp:44: error: undefined reference to 'MOZ_Z_deflateEnd' madai_master_GIT/gecko/js/src/vm/Compression.cpp:60: error: undefined reference to 'MOZ_Z_deflateInit_' madai_master_GIT/gecko/js/src/vm/Compression.cpp:87: error: undefined reference to 'MOZ_Z_deflate' madai_master_GIT/gecko/js/src/vm/Compression.cpp:115: error: undefined reference to 'MOZ_Z_inflateInit_' madai_master_GIT/gecko/js/src/vm/Compression.cpp:120: error: undefined reference to 'MOZ_Z_inflate' madai_master_GIT/gecko/js/src/vm/Compression.cpp:122: error: undefined reference to 'MOZ_Z_inflateEnd' Expected results: It should compile without any error. I tried the given reference bug. https://hg.mozilla.org/mozilla-central/rev/6130f1bb0fe7 /config/rules.mk this path found in gecko. But the /js/src/config/rules.mk path is not found in the my working FFOS. please help me out to solve this issue, this issue is blocking to move further for my building process. for temporary fix, I have disabled USE_ZLIB flag so that it will not use Zlib references. Thanks & Regards, Abdulhadar Shaik _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
