Delete or #ifdef the line
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
in src/RTEMS/base/rtems_config.c
Note that the current check for a particular CPU ( #ifdef __mc68040__ )
is *really* bad. Supporting the RTC is a BSP feature, i.e.,
the code should check for a particular BSP rather than CPU.
Also, it would be better to only use the RTC on
'known with support' boards rather than not using it on
'known w/o support' boards...
HTH
T.
John Dobbins wrote:
Dear All,
I am trying to build EPICS (3.14.7) for RTEMS-uC5282 on host linux-x86.
I get the following build error. Any advice welcome.
John Dobbins
/mnt/disk1/rtems-4.7/bin/m68k-rtems4.7-g++
-B/mnt/disk1/rtems-4.7/m68k-rtems4.7/uC5282/lib/ -specs bsp_specs
-qrtems -o softIoc -static -L../../../lib/RTEMS-uC5282/
-m528x -u Init
/mnt/disk1/rtems-4.7/m68k-rtems4.7/uC5282/lib/no-dpmem.rel
/mnt/disk1/rtems-4.7/m68k-rtems4.7/uC5282/lib/no-mp.rel
/mnt/disk1/rtems-4.7/m68k-rtems4.7/uC5282/lib/no-part.rel
/mnt/disk1/rtems-4.7/m68k-rtems4.7/uC5282/lib/no-signal.rel
/mnt/disk1/rtems-4.7/m68k-rtems4.7/uC5282/lib/no-rtmon.rel -m5200
softIoc_registerRecordDeviceDriver.o softMain.o -lrecIoc
-lsoftDevIoc -liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc
-lregistryIoc -ldbStaticIoc -lca -lCom -lm -lrtemsCom -lrtemscpu
-lCom -lrtemsNfs -lm
../../../lib/RTEMS-uC5282//librtemsCom.a(rtems_config.o):(.data+0x94):
undefined reference to `rtc_initialize'