WebRTC + Eclipse 4.3 + ubuntu 13.10の構成

こんにちは、Habraユーザーの皆さん!

WebRTC + Eclipce 4.3 + ubuntu 13.10をセットアップするための小さなチートシートを投稿します。 これは、webrtcのC ++コードを作成しようとする人に役立ちます。

プログラミング環境をセットアップして使用を開始するために、Googleには優れたドキュメントがあるとすぐに言います。 しかし、残念ながら、このすべてをインストールするのに多くの時間がかかるたびに。 毎日すべてを新しい方法でインストールする必要はありません。 したがって、私は私の経験を共有することにしました。多分それは誰かが数日を救うのを助けるでしょう。 バージョン12.10までのubuntuでは、ほとんどすべてがうまくセットアップされ、すぐに動作を開始しました。 しかし、バージョン13.10が最近リリースされ、さらに大きな問題が始まりました。 Googleコードをインストールするのに半日かかりました。 そして、理解し始めたばかりの人に何をしますか?

コード検索


それでは始めましょう。 最初のステップは、 depot_toolsを設定することです
$ mkdir ~/webrtc $ cd ~/webrtc $ wget https://src.chromium.org/svn/trunk/tools/depot_tools.zip 

次に、ダウンロードしたアーカイブを同じディレクトリに解凍します。 そして、このフォルダーへのパスを登録する必要があります。
 $ export PATH="$PATH":/home/username/webrtc/depot_tools $ export CHROMIUM_ROOT = /home/username/webrtc/ #   ,     .     

同時に、同じものを.bashrcに追加して、リブート後に変数が復元されるようにします。
 $ sudo nano ~/.bashrc 

同じ行を追加します。 もちろん、「ユーザー名」はユーザー名に置き換える必要があります。
 export PATH="$PATH":/home/username/webrtc/depot_tools export CHROMIUM_ROOT = /home/username/webrtc 

次に、すべてが正しく行われたかどうかを確認します。
 $ gclient --version gclient.py 0.7 

trueの場合、クライアントバージョンが表示されます。 そうでない場合は、おそらくpythonがインストールされていません。 インストールする必要があります。
したがって、gclientは動作しており、ソースをダウンロードする必要があります。 webrtcディレクトリに戻り、ダウンロードします。
 $ gclient config http://webrtc.googlecode.com/svn/trunk $ gclient sync --force 

ダウンロードには時間がかかります。 ダウンロードしたら、gypをインストールする必要があります。
 $ sudo apt-get install gyp 

gypをインストールしたら、ソースのコンパイルに必要な要件のインストールに進みます。 これを行うために、ダウンロードした初期フォルダーにinstall-build-deps.shスクリプトがあります。 実行してください:
 $ sudo ~/webrtc/trunk/build/install-build-deps.sh 

そして、不快なメッセージが表示されます:エラー:現在、Ubuntu 12.04(正確)から13.04(raring)のみがサポートされています。 問題ではありません。スクリプトをアップグレードします。 55行目を見つけて、次の形式にします。
 ubuntu_versions="12\.04|12\.10|13\.04|13\.10" 

install-build-deps.shスクリプトを再度実行します。 必要なプログラムとライブラリのインストールが開始されます。
ここで、〜/ webrtc /ディレクトリで、他のパラメーターを指定してgclientを実行します。
 $ gclient runhooks --force 

エラーが発生した場合:

 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
 File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h! 
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.
File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

File "", line 1, in AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!
gyp: Call to 'python -c "import os; dir=os.getenv('JAVA_HOME', '/usr/lib/jvm/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include/jni.h')), 'Point \$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!'; print dir"' returned exit status 1.


openjdk-6-jdk :
$ sudo apt-get install openjdk-6-jdk $ sudo ln -s /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-sun $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 $ echo "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64" >> ~/.bashrc

, Makefile:
$ echo "export GYP_GENERATORS=make" >> ~/.bashrc

$ gclient sync --force $ gclient runhooks --force
, Makefile ~/webrtc/trunk/

Eclipse
Eclipse : LinuxEclipseDev ( "Install the C Development Tools ("CDT")")
, , .

1
, :
narrowing conversion of 'rate' from 'int' to 'uint32_t []
webrtc/modules/rtp_rtcp/interface/rtp_payload_registry_unittest.cc, :
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, int rate)

ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload( uint8_t payload_type, uint32_t rate)

2
:
... -Werror=extra ...
/webrtc/trunk/webrtc/build/common.gypi
179
179: '-Wextra',
/webrtc/trunk/build/common.gypi
3875

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror

3875: 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
3882, :
3882: '-Wextra',
3
:
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:113:7: note: in definition of macro 'CHECK'
/webrtc/talk/app/webrtc/java/jni/peerconnection_jni.cc:
#include <unistd.h>
n
unittest- webrtc/trunk/all.gyp.
#'talk/libjingle_tests.gyp:*',

, /home/udaf/rabbit/webrtc/trunk/out/Debug/ , : peerconnection_client peerconnection_server

Gyp
- gyp. .gyp . :
'cflags': [ '-I/usr/local/include -I/usr/local/include/cppconn -fexceptions', ], 'link_settings': { 'ldflags': [ '<!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', '-lmysqlcppconn' ], 'libraries': [ '-ldl', '-lmysqlcppconn' ], },


www.webrtc.org/reference/getting-started - WebRTC www.webrtc.org/reference/getting-started/prerequisite-sw - , WebRTC sites.google.com/a/chromium.org/dev/developers/how-tos/depottools - depot_tools code.google.com/p/chromium/wiki/LinuxEclipseDev - Eclipse code.google.com/p/gyp/wiki/GypUserDocumentation - gyp.

Source: https://habr.com/ru/post/J204068/


All Articles