On 7/29/09 5:27 AM, Joonyoung wrote: > I tried to install dehydra. but I met the problem I don't understand. > > I followed the step according to > https://developer.mozilla.org/En/Dehydra/Installing_Dehydra > > I installed Mercurial. > > Then, I downloaded SpiderMonkey with command "hg clone > http://hg.mozilla.org/mozilla-central/" and installed "Advanced build" > at the above web address. > > then, I builded GCC with plugin support on linux for plugin dev > (option) > > Finally, I builded dehydra. > > cd dehydra > ../configure \ > --js-libs=$MOZILLA_CENTRAL/js/src/Linux_All_OPT.OBJ \ > --js-headers=$MOZILLA_CENTRAL/js/src > make > cc -o gcc_dehydra.so dehydra_plugin.o dehydra_builtins.o dehydra_ast.o > dehydra.o util.o dehydra_types.o -lm -L/home/gcc-dehydra/dehydra/ > mozilla-central/js/src/Linux_All_OPT.OBJ -Wl,-rpath,/home/gcc-dehydra/ > dehydra/mozilla-central/js/src/Linux_All_OPT.OBJ,-lmozjs -shared > /usr/bin/ld: cannot find -lmozjs
Is there a libmozjs.so in /home/gcc-dehydra/dehydra/mozilla-central/js/src/Linux_All_OPT.OBJ Or did you perhaps get that path wrong somehow? When you configure is $MOZILLA_CENTRAL an absolute path or a relative path? I recommend using an absolute path. --BDS _______________________________________________ dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
