harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lyon <ustcl...@gmail.com>
Subject build problem
Date Sun, 02 Mar 2008 08:27:41 GMT
I build the harmony.
the error as follows.

I have found that the "I_64" was defined in the file "hycomp.h",
The hythread.h had included the "hycomp.h".

why didn't the programm know the identifier "I_64"?

make-all:

-build-native:
[echo] Making "" in
C:\trunk\working_classlib\modules\portlib\src\main\native/common/windows
[exec] cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -FIsehmap.h
-D_X86_=1 -D_WIN95 -D_WIN32_WINDOWS=0x0400 -D_WIN32_IE=0x0500 -DWIN
CURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE
-D_DLL -D_MT -D_WINSOCKAPI_ /IC:\trunk\working_classlib\deploy\include /
.\shared\ -Fo..\shared\libglob.obj ..\shared\libglob.c
[exec] libglob.c
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(107) : error
C2146: syntax error : missing ')' before identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(107) : error
C2061: syntax error : identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(107) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(107) : error
C2059: syntax error : ','
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(107) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(137) : error
C2146: syntax error : missing ')' before identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(137) : error
C2061: syntax error : identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(137) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(137) : error
C2059: syntax error : ','
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(137) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(180) : error
C2146: syntax error : missing ')' before identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(180) : error
C2081: 'I_64' : name in formal parameter list illegal
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(180) : error
C2061: syntax error : identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(180) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(180) : error
C2059: syntax error : ','
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(180) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(192) : error
C2146: syntax error : missing ')' before identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(192) : error
C2061: syntax error : identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(192) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(192) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(201) : error
C2146: syntax error : missing ')' before identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(201) : error
C2081: 'I_64' : name in formal parameter list illegal
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(201) : error
C2061: syntax error : identifier 'millis'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(201) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(201) : error
C2059: syntax error : ','
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(201) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(226) : error
C2061: syntax error : identifier 'hythread_get_cpu_time'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(226) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(226) : error
C2059: syntax error : 'type'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(231) : error
C2061: syntax error : identifier 'hythread_get_user_time'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(231) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hythread.h(231) : error
C2059: syntax error : 'type'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(236) : error
C2061: syntax error : identifier 'U_64'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(237) : error
C2059: syntax error : '}'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(254) : error
C2061: syntax error : identifier 'I_64'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(255) : error
C2061: syntax error : identifier 'dtime'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(255) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(256) : error
C2061: syntax error : identifier 'chtime'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(256) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(257) : error
C2059: syntax error : '}'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(277) : error
C2079: 'portVersion' uses undefined struct 'HyPortLibraryVersion'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(316) : error
C2061: syntax error : identifier 'I_64'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(319) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(319) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(319) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(321) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(321) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(321) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(323) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(323) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(323) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(324) : error
C2146: syntax error : missing ')' before identifier 'startTime'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(324) : error
C2081: 'U_64' : name in formal parameter list illegal
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(324) : error
C2061: syntax error : identifier 'startTime'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(324) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(324) : error
C2059: syntax error : ','
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(325) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(333) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(333) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(333) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(383) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(383) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(383) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(384) : error
C2146: syntax error : missing ')' before identifier 'offset'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(384) : error
C2081: 'I_64' : name in formal parameter list illegal
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(384) : error
C2061: syntax error : identifier 'offset'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(384) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(384) : error
C2059: syntax error : ','
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(384) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(395) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(395) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(395) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(398) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(398) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(398) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(402) : error
C2146: syntax error : missing ')' before identifier 'newLength'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(402) : error
C2081: 'I_64' : name in formal parameter list illegal
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(402) : error
C2061: syntax error : identifier 'newLength'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(402) : error
C2059: syntax error : ';'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(402) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(1008) : error
C2059: syntax error : '}'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(1174) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(1174) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(1174) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(70) : error
C2061: syntax error : identifier 'I_64'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(72) : error
C2371: 'portLib' : redefinition; different basic types
[exec] C:\trunk\working_classlib\deploy\include\hyport.h(1174) : see
declaration of 'portLib'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(75) : error
C2059: syntax error : '}'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2371: 'HyZipFile' : redefinition; different basic types
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(137) : see
declaration of 'HyZipFile'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2143: syntax error : missing ';' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2371: 'HyZipEntry' : redefinition; different basic types
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(124) : see
declaration of 'HyZipEntry'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2143: syntax error : missing ';' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2371: 'U_8' : redefinition; different basic types
[exec] C:\trunk\working_classlib\deploy\include\hycomp.h(82) : see
declaration of 'U_8'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2143: syntax error : missing ';' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : warning
C4142: benign redefinition of type
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2370: 'U_32' : redefinition; different storage class
[exec] C:\trunk\working_classlib\deploy\include\hycomp.h(80) : see
declaration of 'U_32'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2146: syntax error : missing ';' before identifier 'bufferSize'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(142) : error
C2059: syntax error : ')'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(145) : error
C2143: syntax error : missing ')' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(145) : error
C2143: syntax error : missing '{' before '*'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(145) : error
C2371: 'HyZipFile' : redefinition; different basic types
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(137) : see
declaration of 'HyZipFile'
[exec] C:\trunk\working_classlib\deploy\include\zipsup.h(145) : fatal
error C1003: error count exceeds 100; stopping compilation
[exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
[exec] Stop.

BUILD FAILED
C:\trunk\working_classlib\build.xml:148: The following error occurred
while executing this line:
C:\trunk\working_classlib\make\build-native.xml:73: The following error
occurred while executing this line:
C:\trunk\working_classlib\modules\portlib\build.xml:101: The following
error occurred while executing this line:
C:\trunk\working_classlib\make\properties.xml:492: exec returned: 2

Mime
View raw message