PDA

View Full Version : Building Firefox from source


mlilien
July 31st, 2008, 12:53 PM
I'm trying to build firefox from source in order to test some stuff I've been working with the javascript interpreter. However, I've run into several problems.

I've tried compiling the most recent build of FF3, but get this error message:
Cannot mmap file ../../../dist/bin/components/libmozgnome.so

I haven't been able to find any help anywhere about that, so I decided to try using FF2. However, that gives me the following error message:
TestMinStringAPI.o: In function `test_adopt_sub()':
TestMinStringAPI.cpp:(.text+0x68a): undefined reference to `nsMemory::Clone(void const*, unsigned int)'
TestMinStringAPI.o: In function `test_adopt()':
TestMinStringAPI.cpp:(.text+0x73a): undefined reference to `nsMemory::Clone(void const*, unsigned int)'
/usr/bin/ld: TestMinStringAPI: hidden symbol `nsMemory::Clone(void const*, unsigned int)' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status


Do any of you have any idea what could be causing these errors? I get them when I try compiling the source without my code as well, so it's nothing that I've added.

Thanks

LinuxRocks713
July 31st, 2008, 02:58 PM
install build-essential, c headers, libmozembed headers, blah, blah, ...

mlilien
July 31st, 2008, 03:03 PM
I've got build-essential installed. I'm pretty sure I've got c headers installed.

What package would I find c headers and libmozembed headers in?

Thanks