[RTEMS Project] #1434: time.h has incomplete type
RTEMS trac
trac at rtems.org
Sat Nov 22 20:06:27 UTC 2014
#1434: time.h has incomplete type
----------------------+----------------------
Reporter: gxfarmer | Owner: chrisj
Type: defect | Status: closed
Priority: normal | Milestone: 4.9
Component: MinGW | Version: 4.9
Severity: critical | Resolution: wontfix
Keywords: |
----------------------+----------------------
Changes (by gedare):
* version: unknown => 4.9
* milestone: 2 => 4.9
Old description:
> Host OS windows XP
> mingw5.14
> RTEMS 4.9.1 /4.9.2
>
> rtems 4.9.1/2 build failed.
>
> the message as follow:
>
>
>
>
>
> Making all in score
> make[5]: Entering directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score'
> Making all in cpu
> make[6]: Entering directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu'
> Making all in i386
> make[7]: Entering directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu/i386'
> i386-rtems4.9-gcc --pipe -DHAVE_CONFIG_H -I../../..
> -I../../../../cpukit/../../../pc486/lib/include -Wall -fasm -mtune=i486
> -O2 -g -MT libscorecpu_a-cpu.o -MD -MP -MF .deps/libscorecpu_a-cpu.Tpo -c
> -o libscorecpu_a-cpu.o `test -f 'cpu.c' || echo
> '../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/'`cpu.c
> In file included from
> ../../../../cpukit/../../../pc486/lib/include/rtems/score/tod.h:27,
> from
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/types.h:35,
> from
> ../../../../cpukit/../../../pc486/lib/include/rtems.h:49,
> from
> ../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
> c:\MinGW\include/time.h:187: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'char'
> In file included from
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/tasks.h:40,
> from
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/config.h:22,
> from
> ../../../../cpukit/../../../pc486/lib/include/rtems/config.h:58,
> from
> ../../../../cpukit/../../../pc486/lib/include/rtems.h:51,
> from
> ../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
> ../../../../cpukit/../../../pc486/lib/include/rtems/score/thread.h:381:
> error: field 'cpu_time_used' has incomplete type
> In file included from
> ../../../../cpukit/../../../pc486/lib/include/rtems.h:72,
> from
> ../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:141:
> error: field 'min_cpu_time' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:143:
> error: field 'max_cpu_time' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:145:
> error: field 'total_cpu_time' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:148:
> error: field 'min_wall_time' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:150:
> error: field 'max_wall_time' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:152:
> error: field 'total_wall_time' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:170:
> error: field 'since_last_period' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:177:
> error: field 'executed_since_last_period' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:198:
> error: field 'owner_executed_at_period' has incomplete type
> ../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:204:
> error: field 'time_at_period' has incomplete type
> make[7]: *** [libscorecpu_a-cpu.o] Error 1
> make[7]: Leaving directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu/i386'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c'
> make: *** [all-recursive] Error 1
New description:
Host OS windows XP
mingw5.14
RTEMS 4.9.1 /4.9.2
rtems 4.9.1/2 build failed.
the message as follow:
Making all in score
make[5]: Entering directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score'
Making all in cpu
make[6]: Entering directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu'
Making all in i386
make[7]: Entering directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu/i386'
i386-rtems4.9-gcc --pipe -DHAVE_CONFIG_H -I../../..
-I../../../../cpukit/../../../pc486/lib/include -Wall -fasm -mtune=i486
-O2 -g -MT libscorecpu_a-cpu.o -MD -MP -MF .deps/libscorecpu_a-cpu.Tpo -c
-o libscorecpu_a-cpu.o `test -f 'cpu.c' || echo
'../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/'`cpu.c
In file included from
../../../../cpukit/../../../pc486/lib/include/rtems/score/tod.h:27,
from
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/types.h:35,
from
../../../../cpukit/../../../pc486/lib/include/rtems.h:49,
from
../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
c:\MinGW\include/time.h:187: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'char'
In file included from
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/tasks.h:40,
from
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/config.h:22,
from
../../../../cpukit/../../../pc486/lib/include/rtems/config.h:58,
from
../../../../cpukit/../../../pc486/lib/include/rtems.h:51,
from
../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
../../../../cpukit/../../../pc486/lib/include/rtems/score/thread.h:381:
error: field 'cpu_time_used' has incomplete type
In file included from
../../../../cpukit/../../../pc486/lib/include/rtems.h:72,
from
../../../../../../../../rtems-4.9.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:141:
error: field 'min_cpu_time' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:143:
error: field 'max_cpu_time' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:145:
error: field 'total_cpu_time' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:148:
error: field 'min_wall_time' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:150:
error: field 'max_wall_time' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:152:
error: field 'total_wall_time' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:170:
error: field 'since_last_period' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:177:
error: field 'executed_since_last_period' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:198:
error: field 'owner_executed_at_period' has incomplete type
../../../../cpukit/../../../pc486/lib/include/rtems/rtems/ratemon.h:204:
error: field 'time_at_period' has incomplete type
make[7]: *** [libscorecpu_a-cpu.o] Error 1
make[7]: Leaving directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu/i386'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score/cpu'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit/score'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486/cpukit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c/pc486'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/rtems/rtems-4.9.1-i386/i386-rtems4.9/c'
make: *** [all-recursive] Error 1
--
--
Ticket URL: <http://devel.rtems.org/ticket/1434#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list