I'm trying to compile the example sketch in the windows version of the IDE and it bombs with this core dump. I copied the new RCC files over the stock ones as instructed in the RTC lib notes. Is this a Windows specific bug or have I done something wrong?
-Rick
----------------------------------------
Going to build using 'armcompiler' (ARM)
Compiling core...
Compiling libraries: Test_RTClock
Compiling the sketch...
Linking...
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::setAlarmTime(long)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:127: multiple definition of `RTClock::setAlarmTime(long)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:127: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::setAlarmTime(tm*)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:120: multiple definition of `RTClock::setAlarmTime(tm*)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:120: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::detachSecondsInterrupt()':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:110: multiple definition of `RTClock::detachSecondsInterrupt()'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:110: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::attachSecondsInterrupt(void (*)())':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:107: multiple definition of `RTClock::attachSecondsInterrupt(void (*)())'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:107: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::createAlarm(void (*)(), long)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:101: multiple definition of `RTClock::createAlarm(void (*)(), long)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:101: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::createAlarm(void (*)(), tm*)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:114: multiple definition of `RTClock::createAlarm(void (*)(), tm*)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:114: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::getTime()':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:92: multiple definition of `RTClock::getTime()'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:92: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::getTime(tm*)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:95: multiple definition of `RTClock::getTime(tm*)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:95: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::setTime(tm*)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:87: multiple definition of `RTClock::setTime(tm*)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:87: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock::setTime(long)':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:84: multiple definition of `RTClock::setTime(long)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:84: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:43: multiple definition of `RTClock::RTClock(rtc_clk_src, unsigned short)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:43: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:37: multiple definition of `RTClock::RTClock(rtc_clk_src)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:37: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:37: multiple definition of `RTClock::RTClock(rtc_clk_src)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:37: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:33: multiple definition of `RTClock::RTClock()'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:33: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:33: multiple definition of `RTClock::RTClock()'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:33: first defined here
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o: In function `RTClock':
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:43: multiple definition of `RTClock::RTClock(rtc_clk_src, unsigned short)'
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp\RTClock.o:C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp/RTClock.cpp:43: first defined here
collect2: ld returned 1 exit status
Listing of all compiler output follows.
Note: <BUILD> stands for the temporary build directory used to compile your sketch, which is:
C:\DOCUME~1\Rick\LOCALS~1\Temp\build4112606900391382743.tmp
Also note that because of preprocessing, line numbers won't match up exactly. We're working on a fix.
<BUILD>\RTClock.o: In function `RTClock::setAlarmTime(long)':
<BUILD>/RTClock.cpp:127: multiple definition of `RTClock::setAlarmTime(long)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:127: first defined here
<BUILD>\RTClock.o: In function `RTClock::setAlarmTime(tm*)':
<BUILD>/RTClock.cpp:120: multiple definition of `RTClock::setAlarmTime(tm*)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:120: first defined here
<BUILD>\RTClock.o: In function `RTClock::detachSecondsInterrupt()':
<BUILD>/RTClock.cpp:110: multiple definition of `RTClock::detachSecondsInterrupt()'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:110: first defined here
<BUILD>\RTClock.o: In function `RTClock::attachSecondsInterrupt(void (*)())':
<BUILD>/RTClock.cpp:107: multiple definition of `RTClock::attachSecondsInterrupt(void (*)())'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:107: first defined here
<BUILD>\RTClock.o: In function `RTClock::createAlarm(void (*)(), long)':
<BUILD>/RTClock.cpp:101: multiple definition of `RTClock::createAlarm(void (*)(), long)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:101: first defined here
<BUILD>\RTClock.o: In function `RTClock::createAlarm(void (*)(), tm*)':
<BUILD>/RTClock.cpp:114: multiple definition of `RTClock::createAlarm(void (*)(), tm*)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:114: first defined here
<BUILD>\RTClock.o: In function `RTClock::getTime()':
<BUILD>/RTClock.cpp:92: multiple definition of `RTClock::getTime()'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:92: first defined here
<BUILD>\RTClock.o: In function `RTClock::getTime(tm*)':
<BUILD>/RTClock.cpp:95: multiple definition of `RTClock::getTime(tm*)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:95: first defined here
<BUILD>\RTClock.o: In function `RTClock::setTime(tm*)':
<BUILD>/RTClock.cpp:87: multiple definition of `RTClock::setTime(tm*)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:87: first defined here
<BUILD>\RTClock.o: In function `RTClock::setTime(long)':
<BUILD>/RTClock.cpp:84: multiple definition of `RTClock::setTime(long)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:84: first defined here
<BUILD>\RTClock.o: In function `RTClock':
<BUILD>/RTClock.cpp:43: multiple definition of `RTClock::RTClock(rtc_clk_src, unsigned short)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:43: first defined here
<BUILD>\RTClock.o: In function `RTClock':
<BUILD>/RTClock.cpp:37: multiple definition of `RTClock::RTClock(rtc_clk_src)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:37: first defined here
<BUILD>\RTClock.o: In function `RTClock':
<BUILD>/RTClock.cpp:37: multiple definition of `RTClock::RTClock(rtc_clk_src)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:37: first defined here
<BUILD>\RTClock.o: In function `RTClock':
<BUILD>/RTClock.cpp:33: multiple definition of `RTClock::RTClock()'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:33: first defined here
<BUILD>\RTClock.o: In function `RTClock':
<BUILD>/RTClock.cpp:33: multiple definition of `RTClock::RTClock()'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:33: first defined here
<BUILD>\RTClock.o: In function `RTClock':
<BUILD>/RTClock.cpp:43: multiple definition of `RTClock::RTClock(rtc_clk_src, unsigned short)'
<BUILD>\RTClock.o:<BUILD>/RTClock.cpp:43: first defined here
collect2: ld returned 1 exit status