1
をコンパイル:エラーは、私は、最新のlibjingleをコンパイルすると、私は以下のようにいくつかの問題を発見した
scons: Building targets ...
________Compiling build/dbg/obj/third_party/srtp/crypto/kernel/err.o
third_party/srtp/crypto/kernel/err.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_level’
third_party/srtp/crypto/kernel/err.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
third_party/srtp/crypto/kernel/err.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_reporting_init’
third_party/srtp/crypto/kernel/err.c: In function ‘err_report’:
third_party/srtp/crypto/kernel/err.c:96: error: ‘va_list’ undeclared (first use in this function)
third_party/srtp/crypto/kernel/err.c:96: error: (Each undeclared identifier is reported only once
third_party/srtp/crypto/kernel/err.c:96: error: for each function it appears in.)
third_party/srtp/crypto/kernel/err.c:96: error: expected ‘;’ before ‘args’
third_party/srtp/crypto/kernel/err.c:98: error: ‘err_level’ undeclared (first use in this function)
cc1: warnings being treated as errors
誰もがこのエラーを解決する方法へと私にアドバイスを与えることはできますか?
ありがとうございます。
にパッケージのコンパイルオプションを研究しなければならないなど
腕。 – Kane
が修正されました。これはインクルードパスの問題です。 – Kane
これはどのように修正しましたか? isysrootを指定すると、コンパイラは相対インクルードパスを見つけることができないようです。 – chris838