ximpleware_2.11_c.zip (C 버전의 vtd-xml)을 다운로드했습니다. 을 Linux에서 컴파일하려고 시도했습니다. 다음과 같은 오류 메시지가 표시됩니다.linux (32 비트)에서 vtd-xml의 C 버전을 컴파일하는 방법
In file included from vtdNav.c:19:
vtdNav.h:82: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.h:506: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.h: In function ‘writeIndex_VTDNav’:
vtdNav.c: At top level:
vtdNav.c:3410: error: conflicting types for ‘writeIndex_VTDNav’
vtdNav.h:347: error: previous declaration of ‘writeIndex_VTDNav’ was here
vtdNav.c: In function ‘dumpXML’:
vtdNav.c:3554: error: too many arguments to function ‘dumpXML2’
vtdNav.c: At top level:
vtdNav.c:3562: error: conflicting types for ‘dumpXML2’
vtdNav.h:362: error: previous declaration of ‘dumpXML2’ was here
In file included from vtdNav.c:19:
vtdNav.h:82: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.h:506: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.h: In function ‘writeIndex_VTDNav’:
vtdNav.h:507: error: ‘f’ undeclared (first use in this function)
vtdNav.h:507: error: (Each undeclared identifier is reported only once
vtdNav.h:507: error: for each function it appears in.)
vtdNav.h:507: error: too many arguments to function
‘vn->__writeIndex_VTDNav’
vtdNav.h: At top level:
vtdNav.h:675: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.h:695: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.c: In function ‘_writeIndex2_VTDNav’:
vtdNav.c:3751: error: too many arguments to function ‘writeIndex_VTDNav’
vtdNav.c: In function ‘dumpXML’:
vtdNav.c:3874: error: too many arguments to function ‘dumpXML2’
vtdNav.c: At top level:
vtdNav.c:3882: error: conflicting types for ‘dumpXML2’
vtdNav.h:695: error: previous declaration of ‘dumpXML2’ was here
make: *** [vtdNav.o] Error 1
어떻게하면 Linux에서 만들 수 있습니까?
답장을 보내 주셔서 감사합니다.
잘 모르겠습니다. 64 비트 우분투에서 컴파일하지 않습니다. –
이것은 특정 버전의 문제인 것으로 보입니다. 우리는 우분투 64에서 컴파일하고 잘 작동합니다 ... gmake 버전은 3.81, gcc 4.4.1입니다. –
@ vtd-xml-author 제 버전은 다음과 같습니다 : LSB 버전 : core-3.1 -ia32 : 코어 - 3.1 noarch : 그래픽 3.1 IA32 : 그래픽 3.1 noarch 배포자 ID : ScientificSL 설명 : 5.2 코드 명 : 과학적 리눅스 SL 5.2 (붕소) 릴리스 해제 붕소를 D – famedoro