10 years, 4 months ago.

error while compiling

hi I am trying this your code for ds1307 but it is showing me fommowing error Error: Undefined symbol $Super$$main (referred from retarget.o). though I tried every possible way it is producing some error Can I know please how it is be fixed?

thanks

Question relating to:

Dallas DS1307 real-time clock minimalistic driver clock, ds1307, RTC

2 Answers

10 years, 4 months ago.

Hello,

DS1307 is just a library which contains class definition. You have to create an application which includes this library and write your own main() function.

Ales has some other code repositories, you might find there DS1307 example application.

Regards,
0xc0170

Thank you for the reply.

posted by Gauravsing Pardeshi 11 Jul 2014
10 years, 4 months ago.

Hi, you can try the demo program from http://mbed.org/users/alpov/code/testing_RTC_OneWire/ or make your own app which uses the DS1307 library, as Martin suggested.

Ales

Thanks.I will go for it

posted by Gauravsing Pardeshi 11 Jul 2014