#2098 closed defect


Reported by: cynt6007 Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:

Description (last modified by Joel Sherrill)

Host: pcbsd-9.1
Target: m68k-rtems

Tools were built from ports in accordance with:

Call to configure:
../rtems/configure --target=m68k-rtems --enable-networking

checking whether env_unlock is declared... yes
checking whether CLOCK_PROCESS_CPUTIME_ID is declared... no
configure: error: missing define CLOCK_PROCESS_CPUTIME_ID
configure: error: /bin/sh '../../../../../rtems/c/src/../../cpukit/configure' failed for ../../cpukit
gmake[2]: * [av5282] Error 1
gmake[2]: Leaving directory `/usr/home/pcbsd/b-rtems/m68k-rtems/c'
* [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/pcbsd/b-rtems/m68k-rtems/c

Change History (3)

comment:1 Changed on Mar 24, 2013 at 1:37:39 PM by Joel Sherrill

Two mistakes:

(1) CFLAGS+="CLOCK_PROCESS_CPUTIME_ID" is not a valid CFLAGS, it would need to be
CFLAGS+="-DCLOCK_PROCESS_CPUTIME_ID" to define the symbol.

(2) This constant should be defined somewhere in newlib when the feature flag _POSIX_CPUTIME is defined.

Why were you trying to define it? :)

comment:2 Changed on Nov 23, 2014 at 4:47:05 PM by Joel Sherrill

Description: modified (diff)
Resolution: fixed
Status: newclosed

Constant is in current code.

comment:3 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.