[SOLVED] The error is in the book: .. Required patch: http://www.linuxfromscratch.org/patches/blfs/svn/firefox-9.0.1-libpng-1.5-1.patch ..
The book installs libpng-1.5.5 If the patch is omitted the build succeeds. On 1/10/12, Firerat <[email protected]> wrote: > On Tue, Jan 10, 2012 at 1:39 PM, mais lfs <[email protected]> wrote: >> found this 'higher up': >> .. >> In file included from /xapps/mozilla-release/modules/libpr0n/decoders >> /nsPNGDecoder.cpp:44:0: >> /xapps/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h: >> In member function ‘bool mozilla::imagelib::nsPNGDecoder::IsValidICO() >> const’: >> /xapps/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h:80:43: >> error: >> ‘MOZ_PNG_get_color_type’ was not declared in this scope >> /xapps/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h:81:42: >> error: >> ‘MOZ_PNG_get_bit_depth’ was not declared in this scope >> make[6]: *** [nsPNGDecoder.o] Error 1 >> .. > > > I haven't looked in detail, but this appears related > https://bugzilla.mozilla.org/show_bug.cgi?id=682677 > > However, that is a few months old > what version of Firefox are you trying to compile? > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
