Problem with time library

Hey guys,
I got the new library for time and time alarm and copied it to the libraries folder. I started with this basic example!

/*
 * TimeAlarmExample.pde
 *
 * This example calls alarm functions at 8:30 am and at 5:45 pm (17:45)
 * and simulates turning lights on at night and off in the morning
 * A weekly timer is set for Saturdays at 8:30:30
 *
 * A timer is called every 15 seconds
 * Another timer is called once only after 10 seconds
 *
 * 
 */
 
#include <Time.h>
#include <TimeAlarms.h>

void setup()
{
  Serial.begin(9600);
  setTime(8,29,0,1,2,10,14); // set time to Saturday 8:29:00am Jan 1 2011
  // create the alarms 
  Alarm.alarmRepeat(8,30,0, MorningAlarm);  // 8:30am every day
  Alarm.alarmRepeat(17,45,0,EveningAlarm);  // 5:45pm every day 
  Alarm.alarmRepeat(dowSaturday,8,30,30,WeeklyAlarm);  // 8:30:30 every Saturday 

 
  Alarm.timerRepeat(15, Repeats);            // timer for every 15 seconds    
  Alarm.timerOnce(10, OnceOnly);             // called once after 10 seconds 
}

void  loop(){  
  digitalClockDisplay();
  Alarm.delay(1000); // wait one second between clock display
}

// functions to be called when an alarm triggers:
void MorningAlarm(){
  Serial.println("Alarm: - turn lights off");    
}

void EveningAlarm(){
  Serial.println("Alarm: - turn lights on");           
}

void WeeklyAlarm(){
  Serial.println("Alarm: - its Monday Morning");      
}

void ExplicitAlarm(){
  Serial.println("Alarm: - this triggers only at the given date and time");       
}

void Repeats(){
  Serial.println("15 second timer");         
}

void OnceOnly(){
  Serial.println("This timer only triggers once");  
}

void digitalClockDisplay()
{
  // digital clock display of the time
  Serial.print(hour());
  printDigits(minute());
  printDigits(second());
  Serial.println(); 
}

void printDigits(int digits)
{
  Serial.print(":");
  if(digits < 10)
    Serial.print('0');
  Serial.print(digits);
}

Now I get the following error,Please help me out!

Arduino: 1.5.7 (Windows 8), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:10:0:
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:18:18: error: variable ‘monthStr1’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr1 PROGMEM = “January”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:19:18: error: variable ‘monthStr2’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr2 PROGMEM = “February”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:20:18: error: variable ‘monthStr3’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr3 PROGMEM = “March”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:21:18: error: variable ‘monthStr4’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr4 PROGMEM = “April”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:22:18: error: variable ‘monthStr5’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr5 PROGMEM = “May”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:23:18: error: variable ‘monthStr6’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr6 PROGMEM = “June”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:24:18: error: variable ‘monthStr7’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr7 PROGMEM = “July”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:25:18: error: variable ‘monthStr8’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr8 PROGMEM = “August”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:26:18: error: variable ‘monthStr9’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr9 PROGMEM = “September”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:27:19: error: variable ‘monthStr10’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr10 PROGMEM = “October”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:28:19: error: variable ‘monthStr11’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr11 PROGMEM = “November”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:29:19: error: variable ‘monthStr12’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthStr12 PROGMEM = “December”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:31:22: error: variable ‘monthNames_P’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
PGM_P monthNames_P PROGMEM =
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:37:26: error: variable ‘monthShortNames_P’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char monthShortNames_P PROGMEM = “ErrJanFebMarAprMayJunJulAugSepOctNovDec”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:39:16: error: variable ‘dayStr0’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr0 PROGMEM = “Err”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:40:16: error: variable ‘dayStr1’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr1 PROGMEM = “Sunday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:41:16: error: variable ‘dayStr2’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr2 PROGMEM = “Monday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:42:16: error: variable ‘dayStr3’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr3 PROGMEM = “Tuesday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:43:16: error: variable ‘dayStr4’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr4 PROGMEM = “Wednesday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:44:16: error: variable ‘dayStr5’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr5 PROGMEM = “Thursday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:45:16: error: variable ‘dayStr6’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr6 PROGMEM = “Friday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:46:16: error: variable ‘dayStr7’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayStr7 PROGMEM = “Saturday”;
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:48:20: error: variable ‘dayNames_P’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
PGM_P dayNames_P PROGMEM = { dayStr0,dayStr1,dayStr2,dayStr3,dayStr4,dayStr5,dayStr6,dayStr7};
^
C:\Users\gvlokesh\Documents\Arduino\libraries\Time\DateStrings.cpp:49:24: error: variable ‘dayShortNames_P’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
char dayShortNames_P PROGMEM = “ErrSunMonTueWedThrFriSat”;
^

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.

Please edit your post, select the code, and put it between [code][/code] tags.

You can do that by hitting the # button above the posting area.

How to use this forum

..and don't cross-post... I've removed the other topic you've open in "Installation & troubleshooting"

Please provide a solution !

gvlokesh: Please provide a solution !

Why can't you search the forum? The answer has been provided many times, and is perfectly obvious. The array is NOT const. It needs to be. It is not rocket science to determine that adding const in the array definition makes the error go away.