-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/15/2015 09:47 PM, Frank Peters wrote: > Hello, >
Hi Frank. > I just discovered Icecat and very anxious to try it out. > > Gentoo, the Linux system I use, removed Icecat from the official > tree but I am willing to compile the source myself. However, the > build process fails as described below. > > My attempt used the following configure parameters: > > ../src/configure --prefix=/opt/icecat --with-system-icu > --enable-system-pixman --enable-system-cairo > --with-l10n-base=../src/l10n --with-arch=corei7 --with-pthreads > --with-system-nspr --with-system-libevent --with-system-nss > --with-system-jpeg --with-system-zlib --with-system-bz2 > --with-system-png --enable-system-hunspell --enable-system-ffi > --enable-application=browser --enable-default-toolkit=cairo-gtk2 > --disable-printing --disable-gio --disable-gconf --disable-dbus > --disable-jsd --disable-accessibility --disable-webspeech > --disable-directshow --disable-wmf --disable-apple-media > --with-system-libvpx --disable-wave --disable-pulseaudio > --disable-webgl --disable-gamepad --disable-crashreporter > --disable-webapp-runtime --disable-updater --disable-tests > --disable-parental-controls --disable-zipwriter > --enable-optimize="-O2 -march=native" --disable-logging > --enable-strip --enable-install-strip --disable-webrtc > --disable-gstreamer --disable-necko-wifi > > After doing "make" I get an error during the compilation of > VP8TrackEncoder.cpp. The make output for this error is shown after > the end of this message. > > Possibly, some include file is missing in the source. > > Could the fact that I have specified "--with-system-libvpx" be > causing this? > > Also, is this actually an upstream problem or could it be specific > to Icecat? > > Because I can't finish compiling the source I have installed the > binary Icecat and things are fine. "--with-system-libvpx" option permits to compile IceCat using libvpx libraries from your system; libvpx (version 1.3.0) is also provided in the source archive of IceCat (see media/libvpx) and, above all, is **patched** according to the Mozilla needs. Many times old release of Firefox/IceCat are not compatible with latest updated libraries available on the distributions. > > Frank Peters > > ===================================================================================== > > Make error output: > > c++ -o VP8TrackEncoder.o -c -I../../../dist/stl_wrappers > -I../../../dist/system_wrappers -include > /mnt/extra/compile/build/icecat/src/config/gcc_hidden.h > -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_GLUE_IN_PROGRAM > -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API > -DNO_NSPR_10_SUPPORT > -I/mnt/extra/compile/build/icecat/src/content/media/encoder -I. > -I/mnt/extra/compile/build/icecat/src/media/libyuv/include > -I/mnt/extra/compile/build/icecat/src/ipc/chromium/src > -I/mnt/extra/compile/build/icecat/src/ipc/chromium/src > -I/mnt/extra/compile/build/icecat/src/ipc/glue > -I/mnt/extra/compile/build/icecat/obj/ipc/ipdl/_ipdlheaders > -I../../../dist/include -I/usr/include/nspr -I/usr/include/nss > -I/mnt/compile/build/icecat/obj/dist/include > -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include > ../../../mozilla-config.h -MD -MP -MF .deps/VP8TrackEncoder.o.pp > -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type > -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body > -Wsign-compare -Wno-invalid-offsetof -Wcast-align -march=corei7 > -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions > -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g > -O2 -march=native -fomit-frame-pointer > -I/frameworks/native/opengl/include -I/frameworks/native/include > -I/frameworks/av/include/media > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp > > > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp: > In member function 'virtual nsresult > mozilla::VP8TrackEncoder::Init(int32_t, int32_t, int32_t, int32_t, > mozilla::TrackRate)': > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:87:34: > error: 'IMG_FMT_I420' was not declared in this scope > vpx_img_wrap(mVPXImageWrapper, IMG_FMT_I420, > > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp: > In member function 'void > mozilla::VP8TrackEncoder::PrepareMutedFrame()': > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:242:28: > error: 'PLANE_Y' was not declared in this scope > mVPXImageWrapper->planes[PLANE_Y] = y; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:243:28: > error: 'PLANE_U' was not declared in this scope > mVPXImageWrapper->planes[PLANE_U] = cb; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:244:28: > error: 'PLANE_V' was not declared in this scope > mVPXImageWrapper->planes[PLANE_V] = cr; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp: > In member function 'nsresult > mozilla::VP8TrackEncoder::PrepareRawFrame(mozilla::VideoChunk&)': > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:300:32: > error: 'PLANE_Y' was not declared in this scope > mVPXImageWrapper->planes[PLANE_Y] = data->mYChannel; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:301:32: > error: 'PLANE_U' was not declared in this scope > mVPXImageWrapper->planes[PLANE_U] = data->mCbChannel; > > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:302:32: > error: 'PLANE_V' was not declared in this scope > mVPXImageWrapper->planes[PLANE_V] = data->mCrChannel; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:358:32: > error: 'PLANE_Y' was not declared in this scope > mVPXImageWrapper->planes[PLANE_Y] = y; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:359:32: > error: 'PLANE_U' was not declared in this scope > mVPXImageWrapper->planes[PLANE_U] = cb; ^ > /mnt/extra/compile/build/icecat/src/content/media/encoder/VP8TrackEncoder.cpp:360:32: > error: 'PLANE_V' was not declared in this scope > mVPXImageWrapper->planes[PLANE_V] = cr; ^ > /mnt/extra/compile/build/icecat/src/config/rules.mk:1001: recipe > for target 'VP8TrackEncoder.o' failed make[3]: *** > [VP8TrackEncoder.o] Error 1 make[3]: Leaving directory > '/mnt/extra/compile/build/icecat/obj/content/media/encoder' > /mnt/extra/compile/build/icecat/src/config/recurse.mk:95: recipe > for target 'content/media/encoder/compile' failed make[2]: *** > [content/media/encoder/compile] Error 2 make[2]: Leaving directory > '/mnt/extra/compile/build/icecat/obj' > /mnt/extra/compile/build/icecat/src/config/recurse.mk:39: recipe > for target 'compile' failed make[1]: *** [compile] Error 2 make[1]: > Leaving directory '/mnt/extra/compile/build/icecat/obj' > /mnt/extra/compile/build/icecat/src/config/rules.mk:592: recipe for > target 'default' failed make: *** [default] Error 2 > > > -- http://gnuzilla.gnu.org > - -- Antonio Trande mailto: sagitter 'at' fedoraproject 'dot' org http://fedoraos.wordpress.com/ https://fedoraproject.org/wiki/User:Sagitter GPG Key: 0x565E653C Check on https://keys.fedoraproject.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVpsknAAoJEF5tK7VWXmU8c/cIALPNaIYg1AsiCP9VBir9V7c4 TK9kD5hDXg0Y2NIqqseJBX9FcH8zScXd6Xh7wRExE4k09c/RHbiLzfEJoecf74Iw FP9cWFG0XFas2YgvhOe7HrwWRplIohItzjSsrUPjbJmD9Ba/Eper9gNkFBQjYVNF zuOwMSnENdxfQYcGFuCikL9q4tiq3eKaPQUeuLJ1nSpx9cX3O2+nCaVFjMH+tcal ymqSSODY63uLJaIBpkvuIRCtaQntGdfPXfRRHWmUlTQkin5APAiW7FKt6aBt1hoJ sUfpUL0hnM2aQDZ7L7DCP4+7+2gxJrZ1lioOJ4uvEA2BSvxvNdCfwr+ctvRNKMk= =fizl -----END PGP SIGNATURE----- -- http://gnuzilla.gnu.org
