2011-10-07 4 views
0

소프트웨어를 컴파일하는 동안 다음 오류 메시지가 지속적으로 나타납니다.C++ 핵심 라이브러리의 컴파일 오류

페이스트 빈 링크 : 나는 비슷한 문제를 논의 포럼에서 해결책을 시도 http://pastebin.com/TmHKqey2

: 메이크에서 모든 메이크 파일을 변경 * 메이크에. *;. 헤더 등 업데이트 -하지만 성공.

의견이나 통찰력이 있으십니까?

감사합니다.

$ make 
colorgcc -O -DLONGDOUBLE -I ../include -c AddNode.c 
colorgcc -O -DLONGDOUBLE -I ../include -c CTableGen.c 
colorgcc -O -DLONGDOUBLE -I ../include -c CorrectionTable.c 
CorrectionTable.c: In function ‘CorrectionTableInit’: 
CorrectionTable.c:590: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result 
CorrectionTable.c:623: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result 
colorgcc -O -DLONGDOUBLE -I ../include -c Decomp.c 
colorgcc -O -DLONGDOUBLE -I ../include -c DLBfreeOld.c 
colorgcc -O -DLONGDOUBLE -I ../include -c FMComm.c 
colorgcc -O -DLONGDOUBLE -I ../include -c FMSigma2.c 
colorgcc -O -DLONGDOUBLE -I ../include -c FMSupport.c 
colorgcc -O -DLONGDOUBLE -I ../include -c FreeInitArrays.c 
colorgcc -O -DLONGDOUBLE -I ../include -c GetNewNativeNode.c 
colorgcc -O -DLONGDOUBLE -I ../include -c Heap.c 
colorgcc -O -DLONGDOUBLE -I ../include -c InitCellDomains.c 
colorgcc -O -DLONGDOUBLE -I ../include -c InitCellNatives.c 
colorgcc -O -DLONGDOUBLE -I ../include -c InitCellNeighbors.c 
colorgcc -O -DLONGDOUBLE -I ../include -c InitSendDomains.c 
colorgcc -O -DLONGDOUBLE -I ../include -c InitRemoteDomains.c 
colorgcc -O -DLONGDOUBLE -I ../include -c MemCheck.c 
colorgcc -O -DLONGDOUBLE -I ../include -c Meminfo.c 
colorgcc -O -DLONGDOUBLE -I ../include -c Param.c 
colorgcc -O -DLONGDOUBLE -I ../include -c Parse.c 
colorgcc -O -DLONGDOUBLE -I ../include -c QueueOps.c 
colorgcc -O -DLONGDOUBLE -I ../include -c RBDecomp.c 
colorgcc -O -DLONGDOUBLE -I ../include -c RSDecomp.c 
colorgcc -O -DLONGDOUBLE -I ../include -c ReadRestart.c 
colorgcc -O -DLONGDOUBLE -I ../include -c Timer.c 
colorgcc -O -DLONGDOUBLE -I ../include -c Util.c 
In file included from /usr/include/stdio.h:34, 
       from Util.c:119: 
/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:211: error: expected identifier or ‘(’ before ‘typedef’ 
In file included from /usr/include/stdio.h:75, 
       from Util.c:119: 
/usr/include/libio.h:332: error: expected specifier-qualifier-list before ‘size_t’ 
/usr/include/libio.h:364: error: expected declaration specifiers or ‘...’ before ‘size_t’ 
/usr/include/libio.h:373: error: expected declaration specifiers or ‘...’ before ‘size_t’ 

[업데이트 : 메이크업 출력의 추가 초기 부품] 내가 포함 된 파일 전에 오류가있는 경우 나는 보통이 얻을

답변

1

. 그래서 Util.c에서 stdio.h를 include하기 전에 구문 에러가 있는지 살펴볼 것입니다. 오류는 stdio.h 앞에 포함 된 일부 포함될 수 있습니다.

가장 일반적인 원인은 ';'입니다. 또는 '}'.