bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnuzilla] Can't Compile Icecat-31.8.0 Source


From: Frank Peters
Subject: [Bug-gnuzilla] Can't Compile Icecat-31.8.0 Source
Date: Wed, 15 Jul 2015 15:47:26 -0400

Hello,

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.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]