Notice: We have migrated to GitLab launching 2024-05-01 see here:

#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 03/24/13 at 13:37:39 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 11/23/14 at 16:47:05 by Joel Sherrill

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

Constant is in current code.

comment:3 Changed on 11/24/14 at 18:58:28 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.