이 에러는 뭔가요?

cokecola7의 이미지

모른다고 자꾸 여기를 지저분하게 만들고 있는 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'

이런 에러가 뜨는군요
방법좀 알려주세요^^
뭘 설치해야 하면 설치 파일 목록을 적어주셔도 좋습니다

lateau의 이미지

/usr/bin/ld: cannot find -lqserialdevice
collect2: ld returned 1 exit status

이 두줄에 답이 있을 듯 싶습니다.

--
I think to myself...what a emerging world.

cokecola7의 이미지

해결 방안이 어디를 찾아봐도 없네요
-lqserialdevice 이걸 찾아야 하는건가?

lateau의 이미지

혹시 QSerialDevice로 찾아보셨는지요. -l 은 parameter일 뿐이니 그 부분은 빼고 검색해보세요.

http://qt-apps.org/content/show.php/QSerialDevice?content=112039

qt-apps.org에 등록이 되어있는데 이게 맞는지는 잘 모르겠네요.

--
I think to myself...what a emerging world.

cokecola7의 이미지

그 파일 다운받아서 실행했더니 이런 오류가 나오는건데요...
위에 에러 잡는법을 모르겠네요
검색은 물론....시리얼디바이스 검색해봤는데...
글쎄요 쉽지 않군요

cokecola7의 이미지

usr/bin안에 SerialDevice을 찾아봐야 하는건가요?
그런거라면 없는데 어쩌죠?
아~ 제가생각해도 스스로가 답답합니다
^^
왕초보이니 조언좀 부탁드려요 ^^

lateau의 이미지

우선 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.

cokecola7의 이미지

콕콕 찔러서 답변해주셔서 감사합니다
제가 꼭 성공하도록 하겠습니다^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.