2012-03-10 5 views
1

커맨드 라인을 통해 xuggler를 설치하려고 할 때 오류 메시지가 나타납니다.이 문제를 해결하는 방법은 아래의 명령 줄을 참조하십시오. , "ant run-tests"명령으로 약 15 분 동안 설치를 시작한 후 마지막 몇 줄만 검사합니다. 간부 리턴 : 2우분투에서 xuggler를 설치하는 동안 11.10 오류 메시지가 발생합니다.

은 상기의 에러 메시지가 표시 후

allbackHelper*, std::allocator<_Tp> = std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*>] 
[exec] /usr/include/c++/4.6/bits/allocator.h:109:7: note: no known conversion for argument 1 from ‘std::_List_base<com::xuggle::ferry::JNIHelper::CallbackHelper*, std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*> >::_Tp_alloc_type {aka std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*>}’ to ‘std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*>&’ 
[exec] /usr/include/c++/4.6/bits/allocator.h:107:7: note: std::allocator<_Tp>::allocator() [with _Tp = com::xuggle::ferry::JNIHelper::CallbackHelper*] 
[exec] /usr/include/c++/4.6/bits/allocator.h:107:7: note: candidate expects 0 arguments, 1 provided 
[exec] In file included from /usr/include/c++/4.6/i686-linux-gnu/./bits/c++allocator.h:34:0, 
[exec]     from /usr/include/c++/4.6/bits/allocator.h:48, 
[exec]     from /usr/include/c++/4.6/list:62, 
[exec]     from ../../../../../../../csrc/com/xuggle/ferry/JNIHelper.h:24, 
[exec]     from ../../../../../../../csrc/com/xuggle/ferry/JNIHelper.cpp:21: 
[exec] /usr/include/c++/4.6/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, _Tp&) [with _Tp = com::xuggle::ferry::JNIHelper::CallbackHelper*, __gnu_cxx::new_allocator<_Tp>::pointer = com::xuggle::ferry::JNIHelper::CallbackHelper**]’: 
[exec] /usr/include/c++/4.6/bits/stl_list.h:476:6: instantiated from ‘std::list<_Tp, _Alloc>::_Node* std::list<_Tp, _Alloc>::_M_create_node(std::list<_Tp, _Alloc>::value_type&) [with _Tp = com::xuggle::ferry::JNIHelper::CallbackHelper*, _Alloc = std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*>, std::list<_Tp, _Alloc>::_Node = std::_List_node<com::xuggle::ferry::JNIHelper::CallbackHelper*>, std::list<_Tp, _Alloc>::value_type = com::xuggle::ferry::JNIHelper::CallbackHelper*]’ 
[exec] /usr/include/c++/4.6/bits/stl_list.h:1515:42: instantiated from ‘void std::list<_Tp, _Alloc>::_M_insert(std::list<_Tp, _Alloc>::iterator, std::list<_Tp, _Alloc>::value_type&) [with _Tp = com::xuggle::ferry::JNIHelper::CallbackHelper*, _Alloc = std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*>, std::list<_Tp, _Alloc>::iterator = std::_List_iterator<com::xuggle::ferry::JNIHelper::CallbackHelper*>, std::list<_Tp, _Alloc>::value_type = com::xuggle::ferry::JNIHelper::CallbackHelper*]’ 
[exec] /usr/include/c++/4.6/bits/stl_list.h:988:9: instantiated from ‘void std::list<_Tp, _Alloc>::push_back(std::list<_Tp, _Alloc>::value_type&) [with _Tp = com::xuggle::ferry::JNIHelper::CallbackHelper*, _Alloc = std::allocator<com::xuggle::ferry::JNIHelper::CallbackHelper*>, std::list<_Tp, _Alloc>::value_type = com::xuggle::ferry::JNIHelper::CallbackHelper*]’ 
[exec] ../../../../../../../csrc/com/xuggle/ferry/JNIHelper.cpp:88:29: instantiated from here 
[exec] /usr/include/c++/4.6/ext/new_allocator.h:108:9: error: no matching function for call to ‘operator new(unsigned int, void*)’ 
[exec] /usr/include/c++/4.6/ext/new_allocator.h:108:9: note: candidate is: 
[exec] <built-in>:0:0: note: void* operator new(unsigned int) 
[exec] <built-in>:0:0: note: candidate expects 1 argument, 2 provided 
[exec] make[5]: Leaving directory `/home/sajith/xuggle-xuggle-xuggler-dbd82d2/build/native/i686-pc-linux-gnu/csrc/com/xuggle/ferry' 
[exec] make[4]: Leaving directory `/home/sajith/xuggle-xuggle-xuggler-dbd82d2/build/native/i686-pc-linux-gnu/csrc/com/xuggle/ferry' 
[exec] make[3]: Leaving directory `/home/sajith/xuggle-xuggle-xuggler-dbd82d2/build/native/i686-pc-linux-gnu/csrc/com/xuggle' 
[exec] make[2]: Leaving directory `/home/sajith/xuggle-xuggle-xuggler-dbd82d2/build/native/i686-pc-linux-gnu/csrc/com' 
[exec] make[1]: Leaving directory `/home/sajith/xuggle-xuggle-xuggler-dbd82d2/build/native/i686-pc-linux-gnu/csrc' 
[exec] cc1plus: all warnings being treated as errors 
[exec] 
[exec] make[5]: *** [JNIHelper.lo] Error 1 
[exec] make[4]: *** [all] Error 2 
[exec] make[3]: *** [all-recursive] Error 1 
[exec] make[2]: *** [all-recursive] Error 1 
[exec] make[1]: *** [all-recursive] Error 1 
[exec] make: *** [all-recursive] Error 1 

구축이 실패 /home/sajith/xuggle-xuggle-xuggler-dbd82d2/mk/buildtools/buildhelper.xml:1149 (명령 '개미 실행 테스트'의 결과로) 설치의 15 분

+0

이 문제를 해결할 수 있었습니까? – cagcowboy

+0

아니요 ..... 저는 창문에 ..... 설치되어 있습니다. – sajith

답변

0

나는이 빌드를 해결하기 위해 해결책을 발견했습니다 실패 :

[exec] cc1plus: all warnings being treated as errors 

구글에서 연구 내가 사용하는 gcc 버전과 관련된 문제가 발견했습니다. 이 같은 경고를 고려하는 컴파일러를 강제

grep -rl "Werror" * | xargs sed -i 's/Werror/Wno-error/g' 

: 당신이 (당신이 어떤 리눅스 배포판에서 GCC 버전을 선택할 수 없습니다) 버전의 gcc에서 독립적으로 문제를 해결하려는 경우 단, xuggle 다운로드/추출 폴더 및 사용에 이동 경고가 아닌 오류로 간주되고 빌드가 성공합니다.


참고 : 명령을 사용

grep -rl "Werror" * 

그리고 후 :

grep -rl "Wno-error" * 

그들은 당신에게 제공해야이 명령은 명령을 사용하기 전에, 적용됩니다 있는지 확인하려면 동일한 파일 목록.

관련 문제