csb337 from cvs HEAD do not build

Lars Munch lars at segv.dk
Tue Nov 2 15:53:33 UTC 2004


Hello All

I have problems with building cvs HEAD for the csb337 target. The
inclusion of the mc146818a rtc driver triggered this problems. A quick
fix is removing the "#include <bsp.h>" from: libchip/rtc/mc146818a.c and
libchip/rtc/mc146818a_ioreg.c but I am not sure if this will break some
other targets.

I get the following output:

In file included from ../../../csb337/lib/include/bsp.h:27,
                 from
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:28:
../../../csb337/lib/include/libchip/serial.h:25: conflicting types for `getRegister_f'
../../../csb337/lib/include/libchip/rtc.h:22: previous declaration of `getRegister_f'
../../../csb337/lib/include/libchip/serial.h:27: conflicting types for `setRegister_f'
../../../csb337/lib/include/libchip/rtc.h:24: previous declaration of `setRegister_f'
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c: In function `mc146818a_probe':
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:48: warning: assignment from incompatible pointer type
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c: In function `mc146818a_initialize':
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:67: warning: assignment from incompatible pointer type
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:68: warning: assignment from incompatible pointer type
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c: In function `mc146818a_get_time':
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:88: warning: assignment from incompatible pointer type
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c: In function `mc146818a_set_time':
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:147: warning: assignment from incompatible pointer type
../../../../../rtems-src/c/src/libchip/rtc/mc146818a.c:148: warning: assignment from incompatible pointer type


Thanks
Lars Munch




More information about the users mailing list