Hi,
I have the following error when I run "make -f client.mk build" on
mozilla-base:
../../staticlib/components/libgklayout.a(nsDOMClassInfo.o): In function
`nsDOMClassInfo::Init()':
nsDOMClassInfo.cpp:(.text+0xd026): undefined reference to
`kDOMClassInfo_HTMLVideoElement_interfaces'
/usr/bin/ld: ../../staticlib/components/libgklayout.a(nsDOMClassInfo.o):
relocation R_386_GOTOFF against undefined hidden symbol
`kDOMClassInfo_HTMLVideoElement_interfaces' can not be used when making a
shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libxul.so] Error 1
make[4]: Leaving directory
`/home/vasu/src/obj-i686-pc-linux-gnu/toolkit/library'
make[3]: *** [libs_tier_platform] Error 2
make[3]: Leaving directory `/home/vasu/src/obj-i686-pc-linux-gnu'
make[2]: *** [tier_platform] Error 2
make[2]: Leaving directory `/home/vasu/src/obj-i686-pc-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/vasu/src/obj-i686-pc-linux-gnu'
make: *** [build] Error 2
When JavaScript for listing classes in mozilla-codebase was executed many
of the classes were found missing.It did not list all the classes because of
the above error.
The javascript file:
var classes = []
var structs = []
function process_type (c) {
if (c.kind == "struct") structs.push (c.name)
else if (c.kind == "class") classes.push (c.name)
else return
}
function input_end() {
var f = this.aux_base_name + "_cls.counter"
print(f)
write_file (f, classes.join ("\n"))
var f = this.aux_base_name + "_str.counter"
print(f)
write_file (f, structs.join ("\n"))
}
Regards,
Vasundhara.
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis