Errors with diffs and compile

Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Errors with diffs and compile

Beitrag von Renwich »

I'm trying to run a compile using Barf's newmake after patching with diffs that I have modified, the diffs patch without error, but during the compile it errors with the following h

if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I/home/commando/dbox2/cdkroot/include/tuxbox/connection -I/home/commando/dbox2/cdkroot/include/tuxbox -I/home/commando/dbox2/cdkroot/include/tuxbox/xmltree -D DO_NOT_INCLUDE_STUFF_NOT_NEEDED_FOR_SECTIONSD -I/home/commando/tuxbox-cvs/driver/dvb/include -I/home/commando/tuxbox-cvs/driver/include -Wall -mcpu=823 -pipe -Os -MT sectionsd.o -MD -MP -MF ".deps/sectionsd.Tpo" -c -o sectionsd.o sectionsd.cpp; \
then mv -f ".deps/sectionsd.Tpo" ".deps/sectionsd.Po"; else rm -f ".deps/sectionsd.Tpo"; exit 1; fi
sectionsd.cpp: In function `void addEvent(const SIevent&)':
sectionsd.cpp:438: error: 'class SIevent' has no member named 'name'
sectionsd.cpp:438: error: 'class SIevent' has no member named 'name'
sectionsd.cpp:439: error: 'class SIevent' has no member named 'text'
sectionsd.cpp:439: error: 'class SIevent' has no member named 'text'
sectionsd.cpp:442: error: 'class SIevent' has no member named 'extendedText'
sectionsd.cpp:442: error: 'class SIevent' has no member named 'extendedText'
sectionsd.cpp: In function `bool updateCurrentXML(XMLTreeNode*, XMLTreeNode*, int, bool)':
sectionsd.cpp:4188: error: `scan_mode' undeclared (first use this function)
sectionsd.cpp:4188: error: (Each undeclared identifier is reported only once for each function it appears in.)
sectionsd.cpp:4188: error: `scan_nid' undeclared (first use this function)
sectionsd.cpp: In function `bool updateTP(int)':
sectionsd.cpp:4422: error: `scan_mode' undeclared (first use this function)
sectionsd.cpp:4422: error: `scan_nid' undeclared (first use this function)
sectionsd.cpp:4463:1: warning: "/*" within comment
sectionsd.cpp:4952:3: warning: "/*" within comment
sectionsd.cpp:4962: error: `dst' undeclared (first use this function)
sectionsd.cpp:4963: error: `s' undeclared (first use this function)
sectionsd.cpp: At global scope:
Zuletzt geändert von Renwich am Sonntag 1. Oktober 2006, 23:17, insgesamt 2-mal geändert.
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

how do I go about attaching the diifs file if it would help..? its too big to paste as code
Barf
Developer
Beiträge: 1475
Registriert: Dienstag 4. Februar 2003, 22:02

Beitrag von Barf »

Renwich hat geschrieben:how do I go about attaching the diifs file if it would help..? its too big to paste as code
Possibly this helps. Then try man patch, in particular the -p option. Don't ignore errors from patch!
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

Barf hat geschrieben:
Renwich hat geschrieben:how do I go about attaching the diifs file if it would help..? its too big to paste as code
Possibly this helps. Then try man patch, in particular the -p option. Don't ignore errors from patch!
thats the point, there was no errors from the patch,