링킹에러 도움부탁드릴게요.
-----------------------------------------------------------------------------
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 옵션을 빼면 링킹에러가 발생합니다. 그렇다면 원인은 어느쪽에서 찾아봐야될까요.. 도움부탁드립니다. 꾸벅..
구글링해보니 특정
구글링해보니 특정 GCC 버전의 버그라는 이야기가 있던데
업그레이드나 다운그레이드해서 테스트해보시는 것은 어떨까요?
댓글 달기