질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

UPnP SDK for Linux 관련 질문입니다.

작성자 정보

  • 이동근 작성
  • 작성일

컨텐츠 정보

본문

안녕하세요 처음 이곳에 질문을 올리는 리눅스 초보입니다.

다름이 아니라 제가 UPnP 관련해서 공부를 하고 있는데요

관련 문서들을 찾다보니 UPnP SDK for Linux 라는 SDK가 존재 하더군요.

그래서 인터넷을 뒤지고 뒤져서 http://sourceforge.net/projects/upnp/ 에서 다운 받아서 설치해보려고 합니다.

리눅스를 처음 써보는 지라 막막하긴 한데요. 어찌어찌 해서 fedora 6 에 압축도 풀고 make install 해서 라이브러리를 추가 했습니다.

UPnP SDK for Linux에 포함되어 있는 sample 예제를 실행 시켜 보려고 하는데요. 에러가 나서.. 진행이 되질 않습니다.

SDK에 포함되어 있는 ReadMe 파일에 나와있는데요 잘 설치를 했는데도 불구하고 에러가 나는데요....발생하는 에러는 다음과 같습니다.

root@workstation9:/home/tml/Desktop/upnpsdk-1.0.4/sample/tvdevice# make
gcc -Wall -O2 upnp_tv_device.o sample_util.o -lpthread
../../bin/libupnp.so -o upnp_tv_device
../../bin/libupnp.so: undefined reference to `__cxa_free_exception'
../../bin/libupnp.so: undefined reference to `operator new[](unsigned int)'
../../bin/libupnp.so: undefined reference to `__cxa_rethrow'
../../bin/libupnp.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
../../bin/libupnp.so: undefined reference to `operator delete(void*)'
../../bin/libupnp.so: undefined reference to `__cxa_end_catch'
../../bin/libupnp.so: undefined reference to `std::terminate()'
../../bin/libupnp.so: undefined reference to `__gxx_personality_v0'
../../bin/libupnp.so: undefined reference to `__cxa_pure_virtual'
../../bin/libupnp.so: undefined reference to `std::ios_base::Init::Init()'
../../bin/libupnp.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
../../bin/libupnp.so: undefined reference to `__cxa_throw'
../../bin/libupnp.so: undefined reference to `typeinfo for int'
../../bin/libupnp.so: undefined reference to `operator delete[](void*)'
../../bin/libupnp.so: undefined reference to `std::ios_base::Init::~Init()'
../../bin/libupnp.so: undefined reference to `__cxa_begin_catch'
../../bin/libupnp.so: undefined reference to `__cxa_allocate_exception'
../../bin/libupnp.so: undefined reference to `operator new(unsigned int)'
collect2: ld returned 1 exit status
make: *** [upnp_tv_device] Error 1
root@workstation9:/home/tml/Desktop/upnpsdk-1.0.4/sample/tvdevice #

이러한 에러가 납니다. 뭐가 잘못된것인지.....  잘아시는 분 답변좀 부탁드립니다.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,289 명
  • 현재 강좌수 :  36,949 개
  • 현재 접속자 :  352 명