이 에러는 뭔가요?
모른다고 자꾸 여기를 지저분하게 만들고 있는 1인입니다
Running build steps for project BuildDifferentiatedLibrary...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w
make: Entering directory `/home/sh/ex/qserialdevice-scm-latest.tar/qserialdevice-scm-2010-03-26'
cd examples/reader/ && /usr/bin/make -f Makefile
make[1]: Entering directory `/home/sh/ex/qserialdevice-scm-latest.tar/qserialdevice-scm-2010-03-26/examples/reader'
g++ -Wl,-O1 -Wl,-rpath,/home/sh/qtsdk-2010.02/qt/lib -o ../../build/bin/reader/release/reader ../../build/bin/reader/obj/main.o -L../../build/lib/qintegratedserialdevice/release -L/home/sh/qtsdk-2010.02/qt/lib -lqserialdevice -lQtCore -L/home/sh/qtsdk-2010.02/qt/lib -lpthread
/usr/bin/ld: cannot find -lqserialdevice
collect2: ld returned 1 exit status
make[1]: Leaving directory `/home/sh/ex/qserialdevice-scm-latest.tar/qserialdevice-scm-2010-03-26/examples/reader'
make: Leaving directory `/home/sh/ex/qserialdevice-scm-latest.tar/qserialdevice-scm-2010-03-26'
make[1]: *** [../../build/bin/reader/release/reader] 오류 1
make: *** [sub-examples-reader-make_default-ordered] 오류 2
Exited with code 2.
Error while building project BuildDifferentiatedLibrary
When executing build step 'Make'
이런 에러가 뜨는군요
방법좀 알려주세요^^
뭘 설치해야 하면 설치 파일 목록을 적어주셔도 좋습니다
/usr/bin/ld: cannot find
/usr/bin/ld: cannot find -lqserialdevice
collect2: ld returned 1 exit status
이 두줄에 답이 있을 듯 싶습니다.
--
I think to myself...what a emerging world.
네 에러는 확인했는데요....
해결 방안이 어디를 찾아봐도 없네요
-lqserialdevice 이걸 찾아야 하는건가?
혹시 QSerialDevice로
혹시 QSerialDevice로 찾아보셨는지요. -l 은 parameter일 뿐이니 그 부분은 빼고 검색해보세요.
http://qt-apps.org/content/show.php/QSerialDevice?content=112039
qt-apps.org에 등록이 되어있는데 이게 맞는지는 잘 모르겠네요.
--
I think to myself...what a emerging world.
아^^
그 파일 다운받아서 실행했더니 이런 오류가 나오는건데요...
위에 에러 잡는법을 모르겠네요
검색은 물론....시리얼디바이스 검색해봤는데...
글쎄요 쉽지 않군요
혹시...
usr/bin안에 SerialDevice을 찾아봐야 하는건가요?
그런거라면 없는데 어쩌죠?
아~ 제가생각해도 스스로가 답답합니다
^^
왕초보이니 조언좀 부탁드려요 ^^
우선 ld란 놈은 $ man
우선 ld란 놈은
$ man ld
NAME
ld - The GNU linker
SYNOPSIS
ld [options] objfile ...
DESCRIPTION
ld combines a number of object and archive files, relocates their data and ties up symbol references.
Usually the last step in compiling a program is to run ld.
...
이런 녀석이고 위의 에러는,
/usr/bin/ld: cannot find -lqserialdevice
qserialdevice라는 이름의 라이브러리를 못찾겠으니 난 컴파일을 더 이상 못하겠소. 라는 의미로 생각할 수 있을 겁니다. ld -l NAME 은 주어진 이름의 라이브러리를 찾으라는 의미가 됩니다.
빌드에 사용하고 있는 툴, gnu make 라던지 qmake라던지의 메뉴얼 중 lib path나 링커 관련 부분을 한 번 훑어보시면 대략 감을 잡으실 수 있을 거에요...
--
I think to myself...what a emerging world.
아이쿠 감사합니다
콕콕 찔러서 답변해주셔서 감사합니다
제가 꼭 성공하도록 하겠습니다^^
댓글 달기