[U-Boot-Users] errors in using DS1337

xiangguo_li at hotmail.com xiangguo_li at hotmail.com
Wed Jan 30 13:18:10 CET 2008


hello,

when I choose to use DS1337, I add definitions in header file:

#define CONFIG_RTC_DS1337
#define CFG_I2C_RTC_ADDR    0x68 

but, during making process, error appears:

rtc/librtc.a(ds1337.o): in function 'rtc_read':
.../rtc/ds1337.c: 172: undefined reference to 'i2c_reg_read'
rtc/librtc.a(ds1337.o): in function 'rtc_write':
.../rtc/ds1337.c: 178: undefined reference tp 'i2c_reg_write'

how to solve this error?

thank you.

-lxg 




More information about the U-Boot mailing list