Based purely on those error messages, it sounds like it hasn't been updated to 
run against SpiderMonkey tip since around September or October, when the 
objects wrapped around scripts were done away with.  There was also a more 
recent effort to use stdint, which is what the uint32 thing sounds like.

Andrew

----- Original Message -----
> Can Dehydra still be build against the latest level of SpiderMonkey?
> I
> am getting the following errors:
> 
> 
> cc -MD -g3 -Wall -fPIC -DXP_UNIX -DIN_GCC -DPLUGIN_NO_POISON -
> DHAVE_CONFIG_H  -I/usr/lib/gcc/x86_64-linux-gnu/4.6.1/plugin/include
> -
> I/home/cjh/work/mozilla/obj-js/dist/include -I/home/cjh/work/mozilla/
> obj-js -I//home/cjh/local/include/js/   -c dehydra_builtins.c
> dehydra_builtins.c:64:49: error: unknown type name ‘uint32’
> dehydra_builtins.c: In function ‘dispatch_require’:
> dehydra_builtins.c:99:5: warning: implicit declaration of function
> ‘require_option’ [-Wimplicit-function-declaration]
> dehydra_builtins.c: In function ‘Require’:
> dehydra_builtins.c:151:27: error: dereferencing pointer to incomplete
> type
> dehydra_builtins.c:154:42: error: dereferencing pointer to incomplete
> type
> dehydra_builtins.c:177:3: error: unknown type name ‘uint32’
> dehydra_builtins.c: In function ‘dehydra_loadScript’:
> dehydra_builtins.c:461:20: warning: initialization from incompatible
> pointer type [enabled by default]
> dehydra_builtins.c:471:3: warning: passing argument 3 of
> ‘JS_ExecuteScript’ from incompatible pointer type [enabled by
> default]
> /home/cjh/work/mozilla/obj-js/dist/include/jsapi.h:4454:1: note:
> expected ‘struct JSScript *’ but argument is of type ‘struct JSObject
> *’
> make: *** [dehydra_builtins.o] Error 1
> 
> Thanks,
> 
> Chris
> _______________________________________________
> dev-static-analysis mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-static-analysis
> 
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to