Hi,
I’m using DC-ME-NET Development kit.
I’ve crated a new project with DigiESP’s wizard. And it’s running, i can entered the web pages.
But when i modified the web pages(text an logo modified only), re-compiled the pages with PBuilder, and replaced the new *.c and *_v.c files with old files. DigiESP gives building errors (mostly redefinition errors).
In example, PBuilder created getCompanyURL function twice:
/* Created with PageBuilder version 4.04 on Wed Jul 4 13:56:45 2007 */
#include “AsExtern.h”
#if RomPagerServer
/* ************************************ /
/ * Built from “html\home.htm” * /
/ ************************************ */
extern char *getProductName(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getProductName(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getCompanyURL(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getCompanyURL(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getCompanyLogo(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getCompanyLogo(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getProductName(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getProductName(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern Signed32 getTemperatureF(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Signed32 getTemperatureF(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Signed32 theResult;
return theResult;
}
extern Signed32 getTemperatureC(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Signed32 getTemperatureC(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Signed32 theResult;
return theResult;
}
extern Unsigned32 getWindSpeed(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Unsigned32 getWindSpeed(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Unsigned32 theResult;
return theResult;
}
extern Unsigned32 getWindSpeedMetric(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Unsigned32 getWindSpeedMetric(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Unsigned32 theResult;
return theResult;
}
extern char *getWindDirectionString(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getWindDirectionString(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern Signed32 getHighTemperatureF(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Signed32 getHighTemperatureF(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Signed32 theResult;
return theResult;
}
extern Signed32 getHighTemperatureC(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Signed32 getHighTemperatureC(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Signed32 theResult;
return theResult;
}
extern Signed32 getLowTemperatureF(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Signed32 getLowTemperatureF(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Signed32 theResult;
return theResult;
}
extern Signed32 getLowTemperatureC(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Signed32 getLowTemperatureC(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Signed32 theResult;
return theResult;
}
extern Unsigned32 getHighWindSpeed(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Unsigned32 getHighWindSpeed(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Unsigned32 theResult;
return theResult;
}
extern Unsigned32 getHighWindSpeedMetric(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
Unsigned32 getHighWindSpeedMetric(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
Unsigned32 theResult;
return theResult;
}
extern char *getFwRevision(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getFwRevision(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getFwDate(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getFwDate(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getIpAddr(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getIpAddr(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getMacAddress(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getMacAddress(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getUptime(void);
char *getUptime(void) {
char * theResult;
return theResult;
}
extern char *getCompanyCopyright(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getCompanyCopyright(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getCompanyURL(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getCompanyURL(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
extern char *getCompanyDisplayURL(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr);
char *getCompanyDisplayURL(void *theTaskDataPtr, char *theNamePtr,
Signed16Ptr theIndexValuesPtr) {
char * theResult;
return theResult;
}
#endif /* RomPagerServer */
what can i do abot this problem?
Best Regards,