Gstreamer 컴파일 중에 오류가 발생합니다.
글쓴이: sureka12 / 작성시간: 토, 2009/08/08 - 6:00오후
checking for inline... inline checking to see if compiler understands -fno-common... yes checking for sigaction... yes checking for fork... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for ftello... yes checking for fgetpos... yes checking for fsetpos... yes checking for poll... yes checking for ppoll... yes checking for pselect... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for clock_gettime... no checking for clock_gettime in -lrt... yes checking for posix timers... yes checking for monotonic clock... yes checking whether mips-linux-gnu-gcc implements __PRETTY_FUNCTION__... yes checking whether mips-linux-gnu-gcc implements __FUNCTION__... yes checking whether mips-linux-gnu-gcc implements __func__... yes checking for register_printf_function... yes checking for dladdr in -ldl... yes checking for socket... yes checking for gethostbyname... yes checking for inet_aton... yes checking for GLIB... yes checking for GLIB_ONLY... yes checking for XML... yes configure: error: Could not link libxml2 test program. Check if you have the necessary dependencies.
Gstreamer 컴파일 중에 위에 처럼 오류가 발생합니다. libxml2 path가 잘못 잡혀있어서 그런지 알고
libxml2를 컴파일해서 컴파일한 디렉토리를 path잡아두었는데 그래도 저 오류가 해결되지 않네요.
혹시 해결방법을 아시면 좀 도와주세요ㅠ
Forums:
config.log 를 보아야 정확한 원인을 알수 있을거 같은데야
즐린
config.log 파일을 올려주세여
아마 libxml
설치가 잘못되었을수도..
즐린
libxml 다시 깔아봐야겠네요 ㅠㅠ
config.log 파일 올렸습니다~~~
libxml 한번 다시 설치해봐야겠네요ㅠ
여기, 인용:/home/smp86xx
여기,
잘못 빌드하신듯.
lxm빌드가 잘못된건가요?
lxm을 mips용이랑 x86용으로 둘다 컴파일 해두었는데
mips용으로 잡아야되는건가요?
아님 빌드자체가 잘못된건가요??
링크할때 mip용 libxml2사용하게 해야 합니다.
즐린
즐린
안되네요...ㅠ
mips용으로 해주니 잘못된 포멧형태라고 나오네요.
그래서 처음에 configure옵션에서 타겟이랑 호스트를 mips용으로 주지 않고 하니까 정상적으로 작동을 하더군요.
mips용으로 타겟을 줘버리니 컴파일에서 오류가 발생하네요.
컴파일을 다시 해봐야겠네요 ㅠㅠ
첨보는 오류가 발생할때마다 아는게 너무 없단 생각밖에 ㅠㅠ
혹시 잘못된 포멧형태라고 나오면 해결할수 있는 방법좀 알수 있을까요.. ㅠㅠ
configure웁션이 궁금
libxml2
gstreamer
컴파일 할떄
사용한 configure옵션이 잘못되었을수도
libxml2 혹시 옵션 잘못주어서 mip용이 아니고 그냥 x86용으로 컴파일되었을수도 있습니다
그러면 당연히 포맷이 틀리다고 나옵니다.
즐린
답변 감사드립니다.
이래저래 짧은지식으로 알아보고 있는데
제생각으로는 연결된 라이브러리들이 전부다 mips용으로 존재해야되는걸로 생각되네요.
지금 libxml은 mips용으로 컴파일이 되어 있는데 다른 라이브러리쪽에서 문제를 일으키는건지 알아봐야겠습니다.
ㅠㅠ 이런 오류는 첨 접하다보니 도저히 어디서 부터 손대야될지 잘모르겠네요.
최대한 여러방법으로 해보고 있는데 몇일째 이러고 있는지.. ㅠㅠ
gnash포팅하는게 간단할지 알았더니 관련된 라이브러리가 장난이 아니네요;
제가 방법을 잘못알고 하고있는건지도 모르겠고 ㅠ
좀더 알아봐야겠습니다^^
답변 감사드려요^^;;
정확하게 같은
정확하게 같은 에러를 지난 주에 당했는데요
다른 프로그램을 설치하는 도중에 gstreamer가 있어야된다고 해서 설치를 했는데
위와 같은 에러를 당했어요
rhel4.6 에서 gstreamer를 설치한 메모에요 도움이 되셨으면 좋겠군요.
(flex 나 pkg-config 는 gstreamer에서 요구했었는지는 기억이 안나요... 일주일 전에 했던건데 ;( )
# tar xvzf flex-2.5.35.tar.gz
# cd flex-2.5.35
#./configure;make;make install
# tar xvzf pkg-config-0.22.tar.gz
# cd pkg-config
# ./configure;make;make install
# tar xvzf libxml2-2.7.2.tar.gz
# cd libxml2-2.7.2
# ./configure;make;make install
# tar xvzf glib-2.20.4.tar.gz
# cd glib-2.20.4
# ./configure --with-iconv
# make;make install
# tar xvzf gstreamer-0.10.23.tar.gz
# cd gstreamer-0.10.23
# ./configure;make;make install
감사합니다 ㅠㅠ
처음부터 다시 차근차근해봐야겠네요.
이것저것 컴파일 하다보니 정신없이 꼬여가지고;;
감사합니다~~!!!! ㅠㅠ
혹시 모르면 질문 올릴께요 ^^;;;
댓글 달기