Current head compilation problem
chrisj at rtems.org
Fri Aug 16 03:00:44 UTC 2013
Sree Harsha Konduri wrote:
> ../../../../../pc386/lib/librtemsbsp.a(ckinit.o): In function
> undefined reference to `Clock_driver_isrs'
The clock driver in the pc looks suspect. The clockdrv_shell.h code in
the bsp/shared area uses CLOCK_DRIVER_ISRS_PER_TICK as a 0 or 1 to
determine if it is enabled or disabled while this clock driver seems to
do something different with the same label. It also has a bug where the
data is conditional while the code expects it to be present. I do not
understand the logic being used here. Someone who knows this driver will
need to comment and look at a fix.
The fix I pushed to the clockdrv_shell.h's use of
CLOCK_DRIVER_ISRS_PER_TICK is correct and RTEMS's use of defining 0 and
1 to things via BSPOPTS then using '#ifdef' is broken. All BSPOPT
defines need to be '#if ....'.
More information about the devel