링킹에러 도움부탁드릴게요.

kgagb의 이미지

-----------------------------------------------------------------------------
Linking...
-----------------------------------------------------------------------------
/usr/bin/g++ -o ../Product/polaris ./objs/release_polaris/appMain.o ./objs/release_polaris/KeyBoard.o ./objs/release_polaris/Mouse.o ./objs/release_polaris/BrowserTask.o ./objs/release_polaris/BrowserMain.o ./objs/release_polaris/sdkPLImp.o ./objs/release_polaris/storagePLImp.o ./objs/release_polaris/networkPLImp.o ./objs/release_polaris/palPLImp.o ./objs/release_polaris/xbPLImp.o ./objs/release_polaris/xfwPLImp.o ./objs/release_polaris/Display.o -L../Product -lefc -lbui -llng -lecma -linline -lstg -lnet -lmid -lxfw -lxwh -leve -lmid -lefc -lpthread -lm
`.gnu.linkonce.t._ZN21xjTextAreaElementTemp13__GetPropertyEjjP21__ST_ESCLASS_PROPERTY' referenced in section `.rodata' of ../Product/libxwh.a(xjObjectFactory.o): defined in discarded section `.gnu.linkonce.t._ZN21xjTextAreaElementTemp13__GetPropertyEjjP21__ST_ESCLASS_PROPERTY' of ../Product/libxwh.a(xjObjectFactory.o)
`.gnu.linkonce.t._ZN21xjTextAreaElementTemp12__OnPropertyEjihP9BRVARIANT' referenced in section `.rodata' of ../Product/libxwh.a(xjObjectFactory.o): defined in discarded section `.gnu.linkonce.t._ZN21xjTextAreaElementTemp12__OnPropertyEjihP9BRVARIANT' of ../Product/libxwh.a(xjObjectFactory.o)
`.gnu.linkonce.t._ZN21xjTextAreaElementTemp11__GetMethodEjjP19__ST_ESCLASS_METHOD' referenced in section `.rodata' of ../Product/libxwh.a(xjObjectFactory.o): defined in discarded section `.gnu.linkonce.t._ZN21xjTextAreaElementTemp11__GetMethodEjjP19__ST_ESCLASS_METHOD' of ../Product/libxwh.a(xjObjectFactory.o)
`.gnu.linkonce.t._ZN21xjTextAreaElementTemp10__OnMethodEjjP9BRVARIANTiS1_' referenced in section `.rodata' of ../Product/libxwh.a(xjObjectFactory.o): defined in discarded section `.gnu.linkonce.t._ZN21xjTextAreaElementTemp10__OnMethodEjjP9BRVARIANTiS1_' of ../Product/libxwh.a(xjObjectFactory.o)
collect2: ld returned 1 exit status
make[1]: *** [../Product/polaris] 오류 1

이런 에러가 발생했습니다. 그런데 신기한건 메이크 할때 옵션에 -g 즉 디버깅 모드로 빌드하면 링킹에러가 발생안하고 -g 옵션을 빼면 링킹에러가 발생합니다. 그렇다면 원인은 어느쪽에서 찾아봐야될까요.. 도움부탁드립니다. 꾸벅..

terzeron의 이미지

구글링해보니 특정 GCC 버전의 버그라는 이야기가 있던데
업그레이드나 다운그레이드해서 테스트해보시는 것은 어떨까요?

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.