- 论坛徽章:
- 0
|
最近需要从AIX将一应用程序移植到HP-UX11.11中,hp机器中使用的是gcc4.1.2的编译。make后,gcc报一堆错误:主要都是.h文件中的报错。请求各位大侠给小女子指点一下!
例如
。。。。。
/home/eai/falib64/include/iconv.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/home/eai/falib64/include/iconv.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from base64.c:9:
/home/eai/falib64/include/eai_front.h:29: warning: empty declaration
/home/eai/falib64/include/eai_front.h:31: error: storage class specified for parameter 'EAIGroup'
/home/eai/falib64/include/eai_front.h:35: error: expected ')' before '*' token
/home/eai/falib64/include/eai_front.h:36: error: expected ')' before '*' token
/home/eai/falib64/include/eai_front.h:37: error: expected declaration specifiers or '...' before 'EAIGroup'
/home/eai/falib64/include/eai_front.h:38: error: expected declaration specifiers or '...' before 'EAIGroup'
/home/eai/falib64/include/eai_front.h:39: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:40: error: expected ';', ',' or ')' before '*' token
/。。。。。
/home/eai/falib64/include/eai_front.h:48: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:49: error: expected declaration specifiers or '...' before 'EAIGroup'
/home/eai/falib64/include/eai_front.h:49: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:57: warning: empty declaration
/home/eai/falib64/include/eai_front.h:58: error: storage class specified for parameter 'EAIMessage'
/home/eai/falib64/include/eai_front.h:63: error: expected ')' before '*' token
/home/eai/falib64/include/eai_front.h:64: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:65: error: expected ')' before '*' token
/home/eai/falib64/include/eai_front.h:66: error: expected declaration specifiers or '...' before 'EAIMessage'
/home/eai/falib64/include/eai_front.h:67: error: expected declaration specifiers or '...' before 'EAIMessage'
/home/eai/falib64/include/eai_front.h:68: error: expected declaration specifiers or '...' before 'EAIMessage'
/
/eai_front.h:81: error: expected declaration specifiers or '...' before 'EAIMessage'/falib64/include/eai_front.h:90: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:91: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:92: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:93: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:94: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:95: error: expected declaration specifiers or '...' before 'EAIGroup'
/home/eai/falib64/include/eai_front.h:95: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:96: error: expected declaration specifiers or '...' before 'EAIGroup'
/home/eai/falib64/include/eai_front.h:96: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:97: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:98: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:99: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:100: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:101: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:102: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:103: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:104: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:105: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:106: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:110: error: expected declaration specifiers or '...' before 'EAIMessage'
/home/eai/falib64/include/eai_front.h:111: error: expected ')' before '*' token
/home/eai/falib64/include/eai_front.h:112: error: expected ')' before '*' token
/home/eai/falib64/include/eai_front.h:113: error: expected declaration specifiers or '...' before 'EAIGroup'
/home/eai/falib64/include/eai_front.h:114: error: expected ';', ',' or ')' before '*' token
/home/eai/falib64/include/eai_front.h:123: error: expected ';', ',' or ')' before '*' token
base64.c:12: error: storage class specified for parameter 'ByteTable'
base64.c:12: error: parameter 'ByteTable' is initialized
base64.c:13: warning: initialization makes pointer from integer without a cast
base64.c:112: warning: (near initialization for 'DeByteTable')
base64.c:113: warning: excess elements in scalar initializer
base64.c:113: warning: (near initialization for 'DeByteTable')
base64.c:113: warning: excess elements in scalar initializer
base64.c:113: warning: (near initialization for 'DeByteTable')
base64.c:113: warning: excess elements in scalar initializer
base64.c:113: warning: (near initialization for 'DeByteTable')
base64.c:113: warning: (near initialization for 'DeByteTable')
base64.c:113: warning: excess elements in scalar initializer
base64.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
base64.c:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
。。。。
/include/eai_front.h:110: error: declaration for parameter 'setEncRequestParameter' but no such parameter
/home/eai/falib64/include/eai_front.h:83: error: declaration for parameter 'parseXML2EAIMsg' but no such parameter
/home/eai/falib64/include/eai_front.h:81: error: declaration for parameter 'SetTellerChoice' but no such parameter
/home/eai/falib64/include/eai_front.h:80: error: declaration for parameter 'SetTellerID' but no such parameter
/home/eai/falib64/include/eai_front.h:79: error: declaration for parameter 'SetTermSrl' but no such parameter
/home/eai/falib64/include/eai_front.h:78: error: declaration for parameter 'SetTermType' but no such parameter
/home/eai/falib64/include/eai_front.h:76: error: declaration for parameter 'setRequestParameterNew' but no such parameter
/home/eai/falib64/include/eai_front.h:75: error: declaration for parameter 'setRequestArrayParameter' but no such parameter
/home/eai/falib64/include/eai_front.h:74: error: declaration for parameter 'setRequestParameter' but no such parameter
/home/eai/falib64/include/eai_front.h:58: error: declaration for parameter 'EAIMessage' but no such parameter
/home/eai/falib64/include/eai_front.h:38: error: declaration for parameter 'setSimpleField' but no such parameter
/home/eai/falib64/include/eai_front.h:37: error: declaration for parameter 'setGroupName' but no such parameter
/home/eai/falib64/include/eai_front.h:34: error: declaration for parameter 'getGroupErrorCode' but no such parameter
/home/eai/falib64/include/eai_front.h:33: error: declaration for parameter 'getGroupErrorMsg' but no such parameter
/home/eai/falib64/include/eai_front.h:31: error: declaration for parameter 'EAIGroup' but no such parameter
/home/eai/falib64/include/eai_front.h:10: error: declaration for parameter 'Base64Dec' but no such parameter
/home/eai/falib64/include/eai_front.h:9: error: declaration for parameter 'Base64Enc' but no such parameter
/ |
|