|
반갑습니다.
감기 조심하세요...
왕초보입니다.
bcc32를 이용해서 obj 파일을 만들려고 하는데 다음과 같은 에러가 뜨네요.
환경은 다음과 같이 설정했습니다.
set C_USR=-DHB_FM_STATISTICS_OFF -DHB_API_MACROS -DHB_STACK_MACROS -5 -OS -a8
rem set C_USR= -DHB_API_MACROS -DHB_STACK_MACROS -5 -OS -a8
set path=c:\bc5\bin;%path%
set include=c:\bc5\include;
set lib=c:\bc5\lib;%lib%
에러는 다음과 같구요...
C:\PRO\dasom\dasom_sin>bcc32 -c -u -w-dup hello.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
hello.c:
Error E2209 stdio.h 22: Unable to open include file '_stddef.h'
Error E2209 stdio.h 26: Unable to open include file '_nfile.h'
Error E2139 stdio.h 108: Declaration missing ;
Error E2141 stdio.h 130: Declaration syntax error
Error E2356 stdio.h 131: Type mismatch in redeclaration of '_RTLENTRY'
Error E2141 stdio.h 131: Declaration syntax error
Error E2356 stdio.h 140: Type mismatch in redeclaration of '_RTLENTRY'
Error E2141 stdio.h 140: Declaration syntax error
Error E2449 stdio.h 149: Size of '_RTLENTRY' is unknown or zero
Error E2356 stdio.h 149: Type mismatch in redeclaration of '_RTLENTRY'
Error E2344 stdio.h 140: Earlier declaration of '_RTLENTRY'
Error E2141 stdio.h 149: Declaration syntax error
Error E2356 stdio.h 150: Type mismatch in redeclaration of '_RTLENTRY'
Error E2344 stdio.h 149: Earlier declaration of '_RTLENTRY'
Error E2141 stdio.h 150: Declaration syntax error
Error E2356 stdio.h 151: Type mismatch in redeclaration of '_RTLENTRY'
Error E2344 stdio.h 150: Earlier declaration of '_RTLENTRY'
Error E2141 stdio.h 151: Declaration syntax error
Error E2356 stdio.h 152: Type mismatch in redeclaration of '_RTLENTRY'
Error E2344 stdio.h 151: Earlier declaration of '_RTLENTRY'
Error E2141 stdio.h 152: Declaration syntax error
Error E2141 stdio.h 153: Declaration syntax error
Error E2356 stdio.h 154: Type mismatch in redeclaration of '_RTLENTRY'
Error E2344 stdio.h 152: Earlier declaration of '_RTLENTRY'
Error E2141 stdio.h 154: Declaration syntax error
Error E2228 stdio.h 154: Too many error or warning messages
*** 26 errors in Compile ***
|