<86>Jan 18 01:08:34 userdel[3732658]: delete user 'rooter' <86>Jan 18 01:08:34 userdel[3732658]: removed group 'rooter' owned by 'rooter' <86>Jan 18 01:08:34 groupadd[3732670]: group added to /etc/group: name=rooter, GID=1301 <86>Jan 18 01:08:34 groupadd[3732670]: group added to /etc/gshadow: name=rooter <86>Jan 18 01:08:34 groupadd[3732670]: new group: name=rooter, GID=1301 <86>Jan 18 01:08:34 useradd[3732678]: new user: name=rooter, UID=1301, GID=1301, home=/root, shell=/bin/bash, from=none <86>Jan 18 01:08:34 userdel[3732696]: delete user 'builder' <86>Jan 18 01:08:34 userdel[3732696]: removed group 'builder' owned by 'builder' <86>Jan 18 01:08:34 userdel[3732696]: removed shadow group 'builder' owned by 'builder' <86>Jan 18 01:08:34 groupadd[3732706]: group added to /etc/group: name=builder, GID=1302 <86>Jan 18 01:08:34 groupadd[3732706]: group added to /etc/gshadow: name=builder <86>Jan 18 01:08:34 groupadd[3732706]: new group: name=builder, GID=1302 <86>Jan 18 01:08:34 useradd[3732720]: new user: name=builder, UID=1302, GID=1302, home=/usr/src, shell=/bin/bash, from=none <13>Jan 18 01:08:40 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:40 rpmi: libpng16-1.6.40-alt1 sisyphus+323732.100.1.1 1687771851 installed <13>Jan 18 01:08:40 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Jan 18 01:08:40 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058195 installed <13>Jan 18 01:08:40 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Jan 18 01:08:40 rpmi: libmpg123-1:1.31.3-alt1 sisyphus+330461.100.1.1 1695807698 installed <13>Jan 18 01:08:40 rpmi: xorg-proto-devel-2023.2-alt1.1 sisyphus+330960.100.2.1 1696609218 installed <13>Jan 18 01:08:40 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Jan 18 01:08:40 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606299 installed <13>Jan 18 01:08:40 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:40 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:40 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed <13>Jan 18 01:08:40 rpmi: libjpeg-2:2.1.5.1-alt2 sisyphus+334304.100.1.1 1699893670 installed <13>Jan 18 01:08:40 rpmi: libjasper7-4.1.1-alt1 sisyphus+337151.100.2.1 1703495771 installed <13>Jan 18 01:08:40 rpmi: libicns-0.8.1-alt1 sisyphus+326391.300.3.1 1691148669 installed <13>Jan 18 01:08:40 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080123 installed <13>Jan 18 01:08:40 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Jan 18 01:08:40 rpmi: libopus-1.4-alt1.2 sisyphus+335745.100.1.1 1701698691 installed <13>Jan 18 01:08:40 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925657 installed <13>Jan 18 01:08:40 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Jan 18 01:08:40 rpmi: libsndfile-1.1.0-alt1 sisyphus+306371.40.3.1 1662942389 installed <13>Jan 18 01:08:40 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Jan 18 01:08:40 rpmi: libsystemd-1:254.7-alt1 sisyphus+336047.100.1.1 1701962782 installed <13>Jan 18 01:08:40 rpmi: libdbus-1.14.10-alt1 sisyphus+328676.100.1.1 1693833777 installed <13>Jan 18 01:08:40 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Jan 18 01:08:40 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>Jan 18 01:08:40 rpmi: libX11-locales-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed <13>Jan 18 01:08:40 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233857 installed <13>Jan 18 01:08:40 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Jan 18 01:08:40 rpmi: libxcb-1.16-alt1 sisyphus+327325.200.1.1 1692276261 installed <13>Jan 18 01:08:41 rpmi: libX11-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed <13>Jan 18 01:08:41 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212412 installed <13>Jan 18 01:08:41 rpmi: libpulseaudio-16.1-alt1 sisyphus+325006.1700.1.1 1689497224 installed <13>Jan 18 01:08:41 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077581 installed <13>Jan 18 01:08:41 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>Jan 18 01:08:41 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023233 installed <13>Jan 18 01:08:41 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Jan 18 01:08:41 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485400 installed <13>Jan 18 01:08:42 rpmi: libxcb-devel-1.16-alt1 sisyphus+327325.200.1.1 1692276261 installed <13>Jan 18 01:08:42 rpmi: libX11-devel-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed <13>Jan 18 01:08:42 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606299 installed <13>Jan 18 01:08:42 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168260 installed <13>Jan 18 01:08:42 rpmi: libdrm-1:2.4.119-alt1 sisyphus+337175.100.1.1 1703494957 installed <13>Jan 18 01:08:42 rpmi: libGLX-mesa-4:23.3.2-alt1 sisyphus+337405.100.1.1 1703767492 installed <13>Jan 18 01:08:42 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:42 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:42 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Jan 18 01:08:42 rpmi: libgbm-4:23.3.2-alt1 sisyphus+337405.100.1.1 1703767492 installed <13>Jan 18 01:08:42 rpmi: libEGL-mesa-4:23.3.2-alt1 sisyphus+337405.100.1.1 1703767492 installed <13>Jan 18 01:08:42 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:42 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Jan 18 01:08:42 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Jan 18 01:08:42 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jan 18 01:08:42 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472816 installed <13>Jan 18 01:08:43 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472816 installed <13>Jan 18 01:08:43 rpmi: alsa-ucm-conf-1.2.10-alt2 sisyphus+337619.100.1.1 1704220124 installed <13>Jan 18 01:08:43 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Jan 18 01:08:43 rpmi: libalsa-1:1.2.10-alt2 sisyphus+337619.200.1.1 1704220185 installed <13>Jan 18 01:08:43 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Jan 18 01:08:43 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Jan 18 01:08:43 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Jan 18 01:08:43 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Jan 18 01:08:43 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Jan 18 01:08:43 rpmi: libicns-utils-0.8.1-alt1 sisyphus+326391.300.3.1 1691148669 installed <13>Jan 18 01:08:43 rpmi: libpng-devel-1.6.40-alt1 sisyphus+323732.100.1.1 1687771851 installed <13>Jan 18 01:08:43 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550026 installed <13>Jan 18 01:08:43 rpmi: libxml2-devel-1:2.12.3-alt1 sisyphus+336543.100.1.1 1702649479 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/xu4-1.1-alt2_0.36.20150221svn3087.nosrc.rpm (w1.gzdio) Installing xu4-1.1-alt2_0.36.20150221svn3087.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24107 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf u4 + echo 'Source #0 (xu4-20150221svn.tar.xz):' Source #0 (xu4-20150221svn.tar.xz): + /usr/bin/xz -dc /usr/src/RPM/SOURCES/xu4-20150221svn.tar.xz + /bin/tar -xf - + cd u4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (xu4-1.0beta3-desktop.patch):' Patch #0 (xu4-1.0beta3-desktop.patch): + /usr/bin/patch -p1 patching file u4.desktop + echo 'Patch #1 (xu4-1.1-format-security.patch):' Patch #1 (xu4-1.1-format-security.patch): + /usr/bin/patch -p1 patching file src/screen_sdl.cpp + '[' lib64 = lib64 ']' + sed -i 's|/usr/lib|/usr/lib64|g' src/u4file.cpp + cp /usr/src/RPM/SOURCES/u4download.txt . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.73978 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd u4 + pushd src ~/RPM/BUILD/u4/src ~/RPM/BUILD/u4 + make 'DEBUGCXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' bindir=/usr/bin datadir=/usr/share libdir=/usr/lib64 -j8 make: Entering directory '/usr/src/RPM/BUILD/u4/src' cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lzw/hash.o lzw/hash.c make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lzw/lzw.o lzw/lzw.c make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o unzip.o unzip.c make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o armor.o armor.cpp In file included from armor.cpp:12: config.h:36:5: error: 'xmlDocPtr' does not name a type 36 | xmlDocPtr doc; | ^~~~~~~~~ config.h:45:29: error: expected ')' before 'xmlNode' 45 | ConfigElement(xmlNodePtr xmlNode); | ~ ^~~~~~~~ | ) config.h:61:5: error: 'xmlNodePtr' does not name a type 61 | xmlNodePtr getNode() const { return node; } | ^~~~~~~~~~ config.h:64:5: error: 'xmlNodePtr' does not name a type 64 | xmlNodePtr node; | ^~~~~~~~~~ make: *** [: armor.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o aura.o aura.cpp make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o annotation.o annotation.cpp In file included from script.h:14, from context.h:14, from annotation.cpp:9: xml.h:11:1: error: 'xmlDocPtr' does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before 'const' 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before 'const' 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before 'const' 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before 'const' 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: 'xmlNodePtr' was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: 'xmlDocPtr' does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: 'xmlNodePtr' does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: 'xmlNodePtr' does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: 'xmlNodePtr' does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: 'xmlNodePtr' was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ make: *** [: annotation.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cheat.o cheat.cpp In file included from script.h:14, from context.h:14, from cheat.cpp:10: xml.h:11:1: error: 'xmlDocPtr' does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before 'const' 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before 'const' 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before 'const' 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before 'const' 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: 'xmlNodePtr' was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: 'xmlDocPtr' does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: 'xmlNodePtr' does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: 'xmlNodePtr' does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: 'xmlNodePtr' does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: 'xmlNodePtr' was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ In file included from observable.h:11, from location.h:12, from cheat.cpp:8: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from cheat.cpp:17: stats.h:60:18: note: by 'StatsArea::update' 60 | virtual void update(Menu *menu, MenuEvent &event) {update(); /* do a full update */} | ^~~~~~ make: *** [: cheat.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o city.o city.cpp In file included from script.h:14, from context.h:14, from city.cpp:11: xml.h:11:1: error: 'xmlDocPtr' does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before 'const' 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before 'const' 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before 'const' 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before 'const' 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: 'xmlNodePtr' was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: 'xmlDocPtr' does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: 'xmlNodePtr' does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: 'xmlNodePtr' does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: 'xmlNodePtr' does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: 'xmlNodePtr' was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ make: *** [: city.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o camp.o camp.cpp In file included from script.h:14, from player.h:16, from combat.h:17, from camp.h:8, from camp.cpp:9: xml.h:11:1: error: 'xmlDocPtr' does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before 'const' 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before 'const' 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before 'const' 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before 'const' 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: 'xmlNodePtr' was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: 'xmlDocPtr' does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: 'xmlNodePtr' does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: 'xmlNodePtr' does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: 'xmlNodePtr' does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: 'xmlNodePtr' was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ In file included from game.h:13, from combat.h:14: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from camp.cpp:29: stats.h:60:18: note: by 'StatsArea::update' 60 | virtual void update(Menu *menu, MenuEvent &event) {update(); /* do a full update */} | ^~~~~~ make: *** [: camp.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o codex.o codex.cpp In file included from script.h:14, from context.h:14, from codex.cpp:13: xml.h:11:1: error: 'xmlDocPtr' does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before 'const' 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before 'const' 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before 'const' 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before 'const' 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: 'xmlNodePtr' was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: 'xmlDocPtr' does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: 'xmlNodePtr' does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: 'xmlNodePtr' does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: 'xmlNodePtr' does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: 'xmlNodePtr' was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ In file included from observable.h:11, from location.h:12, from context.h:10: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from codex.cpp:21: stats.h:60:18: note: by 'StatsArea::update' 60 | virtual void update(Menu *menu, MenuEvent &event) {update(); /* do a full update */} | ^~~~~~ make: *** [: codex.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' make: Entering directory '/usr/src/RPM/BUILD/u4/src' g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o combat.o combat.cpp In file included from script.h:14, from player.h:16, from combat.h:17, from combat.cpp:10: xml.h:11:1: error: 'xmlDocPtr' does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before 'const' 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before 'const' 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before 'const' 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before 'const' 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: 'xmlNodePtr' was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: 'xmlDocPtr' does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: 'xmlNodePtr' does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: 'xmlNodePtr' does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: 'xmlNodePtr' does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: 'xmlNodePtr' was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ In file included from game.h:13, from combat.h:14: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from combat.cpp:31: stats.h:60:18: note: by 'StatsArea::update' 60 | virtual void update(Menu *menu, MenuEvent &event) {update(); /* do a full update */} | ^~~~~~ make: *** [: combat.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/u4/src' error: Bad exit status from /usr/src/tmp/rpm-tmp.73978 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.73978 (%build) Command exited with non-zero status 1 6.30user 0.58system 0:03.29elapsed 208%CPU (0avgtext+0avgdata 120312maxresident)k 0inputs+0outputs (0major+181884minor)pagefaults 0swaps hsh-rebuild: rebuild of `xu4-1.1-alt2_0.36.20150221svn3087.src.rpm' failed. Command exited with non-zero status 1 5.19user 1.95system 0:17.70elapsed 40%CPU (0avgtext+0avgdata 128520maxresident)k 14656inputs+0outputs (0major+206066minor)pagefaults 0swaps