HP-UX
1748275 회원
3863 온라인
108761 솔루션
새 메시지

컴파일 하면 다음과 같은 에러가 납니다.

 
주낙권
조언자

컴파일 하면 다음과 같은 에러가 납니다.

ANSIC 가 설치되어있다고 알고 있는데,

컴파일을 하면 다음과 같은 에러가 납니다.



(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C pro

duct; ignored.

(Bundled) cc: "../../include/msgq.h", line 99: error 1705: Function prototypes a

re an ANSI feature.

(Bundled) cc: "../../include/msgq.h", line 105: error 1705: Function prototypes

are an ANSI feature.

(Bundled) cc: "../../include/msgq.h", line 113: error 1705: Function prototypes

are an ANSI feature.

(Bundled) cc: "../../include/msgq.h", line 121: error 1705: Function prototypes

are an ANSI feature.

(Bundled) cc: "msgq.c", line 30: error 1705: Function prototypes are an ANSI fea

ture.

(Bundled) cc: "msgq.c", line 67: error 1705: Function prototypes are an ANSI fea

ture.

(Bundled) cc: "msgq.c", line 89: error 1705: Function prototypes are an ANSI fea

ture.

(Bundled) cc: "msgq.c", line 118: error 1705: Function prototypes are an ANSI fe

ature.

make: *** Error 1



첨부한 파일은 swlist -l product 결과 리스트 입니다.





1 응답 1
Joseph
초등학생

컴파일 하면 다음과 같은 에러가 납니다.

예전에 비슷한 문제들이 옵션으로 해결 되었습니다.

cc -Aa

위에서처럼 -Aa 옵션을 사용해 보세요..



Good luck~~