C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[37191] [제목]Unresolved external .. extern "c"에서.
하안인 [hurco] 1219 읽음    2004-09-10 10:38
Unresolved external '  함수명      'referenced from ......

위와 같이 에러가 발생하여 도움말을 보면
Unresolved external symbol referenced from module

The named symbol is referenced in the given module but is not defined anywhere in the set of object files and libraries included in the link. Check to make sure the symbol is spelled correctly.
You will usually see this error from the linker for C or C++ symbols if any of the following occur:

You did not properly match a symbol뭩 declarations of __pascal and __cdecl types in different source files.
    You have omitted the name of an .OBJ file your program needs.
    You did not link in the emulation library.

If you are linking C++ code with C modules, you might have forgotten to wrap C external declarations in extern 밅?

You could also have a case mismatch between two symbols.

위와 같이 나옵니다.

헤더파일에서
extern "c"을 사용하여 c++이나 볼랜드를 사용할 경우와 아닌경우
두개의 함수를 분리해 놓았는데..


Visual c에서 링크해서 컴파일하면 에러가 안나는데
빌더에서 하면 Liner Error가 발생합니다.

위와 같은것은 어떻게 처리해야 하는지..

+ -

관련 글 리스트
37191 [제목]Unresolved external .. extern "c"에서. 하안인 1219 2004/09/10
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.