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
collect2: ld returned 1 exit status
make: *** [gcc_dehydra.so] Error 1

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

What should I do??

thanks...
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to