=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xu4-1.0beta3nb11 => Fixing path to installed files. gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o lzw/hash.o lzw/hash.c gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o lzw/lzw.o lzw/lzw.c gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o unzip.o unzip.c c++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o annotation.o annotation.cpp c++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o armor.o armor.cpp c++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o aura.o aura.cpp c++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -DICON_FILE=\"/usr/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -c -o camp.o camp.cpp In file included from armor.cpp:11:0: config.h:30:5: error: 'xmlDocPtr' does not name a type xmlDocPtr doc; ^~~~~~~~~ config.h:39:30: error: expected ')' before 'xmlNode' ConfigElement(xmlNodePtr xmlNode); ^~~~~~~ config.h:55:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr getNode() const { return node; } ^~~~~~~~~~ mode_t config.h:58:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr node; ^~~~~~~~~~ mode_t gmake: *** [: armor.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from script.h:14:0, from context.h:13, from annotation.cpp:9: xml.h:11:1: error: 'xmlDocPtr' does not name a type xmlDocPtr xmlParse(const char *filename); ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope bool xmlPropExists(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:12:20: note: suggested alternative: 'mode_t' bool xmlPropExists(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:12:37: error: expected primary-expression before 'const' bool xmlPropExists(xmlNodePtr node, const char *name); ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] bool xmlPropExists(xmlNodePtr node, const char *name); ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope std::string xmlGetPropAsString(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:13:32: note: suggested alternative: 'mode_t' std::string xmlGetPropAsString(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:13:49: error: expected primary-expression before 'const' std::string xmlGetPropAsString(xmlNodePtr node, const char *name); ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:14:22: note: suggested alternative: 'mode_t' int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:14:39: error: expected primary-expression before 'const' int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:15:21: note: suggested alternative: 'mode_t' int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:15:38: error: expected primary-expression before 'const' int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~~~~~~ xml.h:16:22: note: suggested alternative: 'mode_t' int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~~~~~~ mode_t xml.h:16:39: error: expected primary-expression before 'const' int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ xml.h:17:16: note: suggested alternative: 'mode_t' int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ mode_t xml.h:17:33: error: expected primary-expression before 'const' int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ xml.h:18:20: note: suggested alternative: 'mode_t' int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ mode_t xml.h:18:37: error: expected primary-expression before 'const' int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^ In file included from context.h:13:0, from annotation.cpp:9: script.h:143:24: error: 'xmlNodePtr' has not been declared ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr find(xmlNodePtr node, string script, string choice = "", bool _default = false); ^~~~~~~~~~ mode_t script.h:165:40: error: 'xmlNodePtr' was not declared in this scope string getPropAsStr(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ script.h:165:40: note: suggested alternative: 'mode_t' string getPropAsStr(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ mode_t script.h:165:50: error: template argument 1 is invalid string getPropAsStr(std::list& nodes, string prop, bool recursive); ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared string getPropAsStr(xmlNodePtr node, string prop, bool recursive = false); ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope int getPropAsInt(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ script.h:167:40: note: suggested alternative: 'mode_t' int getPropAsInt(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ mode_t script.h:167:50: error: template argument 1 is invalid int getPropAsInt(std::list& nodes, string prop, bool recursive); ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared int getPropAsInt(xmlNodePtr node, string prop, bool recursive = false); ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared string getContent(xmlNodePtr node); ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared ReturnCode end(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared ReturnCode end(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared ReturnCode include(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared ReturnCode include(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared ReturnCode wait(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared ReturnCode wait(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared ReturnCode random(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared ReturnCode random(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared ReturnCode move(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared ReturnCode move(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared ReturnCode pay(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared ReturnCode pay(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared ReturnCode _if(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared ReturnCode _if(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared ReturnCode input(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared ReturnCode input(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared ReturnCode add(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared ReturnCode add(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared ReturnCode lose(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared ReturnCode lose(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared ReturnCode heal(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared ReturnCode heal(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared ReturnCode damage(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared ReturnCode damage(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared ReturnCode karma(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared ReturnCode karma(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared ReturnCode music(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared ReturnCode music(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared ReturnCode setId(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared ReturnCode setId(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared void mathParseChildren(xmlNodePtr math, string *result); ^~~~~~~~~~ script.h:219:5: error: 'xmlDocPtr' does not name a type xmlDocPtr vendorScriptDoc; ^~~~~~~~~ script.h:220:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr scriptNode; ^~~~~~~~~~ mode_t script.h:224:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr currentScript; /**< The currently running script */ ^~~~~~~~~~ mode_t script.h:225:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr currentItem; /**< The current position in the script */ ^~~~~~~~~~ mode_t script.h:226:15: error: 'xmlNodePtr' was not declared in this scope std::list translationContext; /**< A list of nodes that make up our translation context */ ^~~~~~~~~~ script.h:226:15: note: suggested alternative: 'mode_t' std::list translationContext; /**< A list of nodes that make up our translation context */ ^~~~~~~~~~ mode_t script.h:226:25: error: template argument 1 is invalid std::list translationContext; /**< A list of nodes that make up our translation context */ ^ script.h:226:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); ^~~~ In file included from script.h:14:0, from player.h:15, from combat.h:16, from camp.h:8, from camp.cpp:9: xml.h:11:1: error: 'xmlDocPtr' does not name a type xmlDocPtr xmlParse(const char *filename); ^~~~~~~~~ xml.h:12:20: error: 'xmlNodePtr' was not declared in this scope bool xmlPropExists(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:12:20: note: suggested alternative: 'mode_t' bool xmlPropExists(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:12:37: error: expected primary-expression before 'const' bool xmlPropExists(xmlNodePtr node, const char *name); ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] bool xmlPropExists(xmlNodePtr node, const char *name); ^ xml.h:13:32: error: 'xmlNodePtr' was not declared in this scope std::string xmlGetPropAsString(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:13:32: note: suggested alternative: 'mode_t' std::string xmlGetPropAsString(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:13:49: error: expected primary-expression before 'const' std::string xmlGetPropAsString(xmlNodePtr node, const char *name); ^~~~~ xml.h:14:22: error: 'xmlNodePtr' was not declared in this scope int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:14:22: note: suggested alternative: 'mode_t' int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:14:39: error: expected primary-expression before 'const' int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] int xmlGetPropAsBool(xmlNodePtr node, const char *name); ^ xml.h:15:21: error: 'xmlNodePtr' was not declared in this scope int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^~~~~~~~~~ xml.h:15:21: note: suggested alternative: 'mode_t' int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^~~~~~~~~~ mode_t xml.h:15:38: error: expected primary-expression before 'const' int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] int xmlGetPropAsInt(xmlNodePtr node, const char *name); ^ xml.h:16:22: error: 'xmlNodePtr' was not declared in this scope int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~~~~~~ xml.h:16:22: note: suggested alternative: 'mode_t' int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~~~~~~ mode_t xml.h:16:39: error: expected primary-expression before 'const' int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~ xml.h:16:57: error: expected primary-expression before 'const' int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); ^ xml.h:17:16: error: 'xmlNodePtr' was not declared in this scope int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ xml.h:17:16: note: suggested alternative: 'mode_t' int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ mode_t xml.h:17:33: error: expected primary-expression before 'const' int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:17:51: error: expected primary-expression before 'const' int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); ^ xml.h:18:20: error: 'xmlNodePtr' was not declared in this scope int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ xml.h:18:20: note: suggested alternative: 'mode_t' int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~~~~~~ mode_t xml.h:18:37: error: expected primary-expression before 'const' int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:18:55: error: expected primary-expression before 'const' int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); ^ In file included from player.h:15:0, from combat.h:16, from camp.h:8, from camp.cpp:9: script.h:143:24: error: 'xmlNodePtr' has not been declared ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); ^~~~~~~~~~ script.h:143:43: error: 'xmlNodePtr' has not been declared ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); ^~~~~~~~~~ script.h:164:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr find(xmlNodePtr node, string script, string choice = "", bool _default = false); ^~~~~~~~~~ mode_t script.h:165:40: error: 'xmlNodePtr' was not declared in this scope string getPropAsStr(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ script.h:165:40: note: suggested alternative: 'mode_t' string getPropAsStr(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ mode_t script.h:165:50: error: template argument 1 is invalid string getPropAsStr(std::list& nodes, string prop, bool recursive); ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: 'xmlNodePtr' has not been declared string getPropAsStr(xmlNodePtr node, string prop, bool recursive = false); ^~~~~~~~~~ script.h:167:40: error: 'xmlNodePtr' was not declared in this scope int getPropAsInt(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ script.h:167:40: note: suggested alternative: 'mode_t' int getPropAsInt(std::list& nodes, string prop, bool recursive); ^~~~~~~~~~ mode_t script.h:167:50: error: template argument 1 is invalid int getPropAsInt(std::list& nodes, string prop, bool recursive); ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: 'xmlNodePtr' has not been declared int getPropAsInt(xmlNodePtr node, string prop, bool recursive = false); ^~~~~~~~~~ script.h:169:28: error: 'xmlNodePtr' has not been declared string getContent(xmlNodePtr node); ^~~~~~~~~~ script.h:174:28: error: 'xmlNodePtr' has not been declared ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:174:47: error: 'xmlNodePtr' has not been declared ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:175:27: error: 'xmlNodePtr' has not been declared ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:175:46: error: 'xmlNodePtr' has not been declared ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:176:20: error: 'xmlNodePtr' has not been declared ReturnCode end(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:176:39: error: 'xmlNodePtr' has not been declared ReturnCode end(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:177:32: error: 'xmlNodePtr' has not been declared ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:177:51: error: 'xmlNodePtr' has not been declared ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:178:25: error: 'xmlNodePtr' has not been declared ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:178:44: error: 'xmlNodePtr' has not been declared ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:179:24: error: 'xmlNodePtr' has not been declared ReturnCode include(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:179:43: error: 'xmlNodePtr' has not been declared ReturnCode include(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:180:21: error: 'xmlNodePtr' has not been declared ReturnCode wait(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:180:40: error: 'xmlNodePtr' has not been declared ReturnCode wait(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:181:24: error: 'xmlNodePtr' has not been declared ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:181:43: error: 'xmlNodePtr' has not been declared ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:182:23: error: 'xmlNodePtr' has not been declared ReturnCode random(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:182:42: error: 'xmlNodePtr' has not been declared ReturnCode random(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:183:21: error: 'xmlNodePtr' has not been declared ReturnCode move(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:183:40: error: 'xmlNodePtr' has not been declared ReturnCode move(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:184:22: error: 'xmlNodePtr' has not been declared ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:184:41: error: 'xmlNodePtr' has not been declared ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:185:23: error: 'xmlNodePtr' has not been declared ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:185:42: error: 'xmlNodePtr' has not been declared ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:186:20: error: 'xmlNodePtr' has not been declared ReturnCode pay(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:186:39: error: 'xmlNodePtr' has not been declared ReturnCode pay(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:187:20: error: 'xmlNodePtr' has not been declared ReturnCode _if(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:187:39: error: 'xmlNodePtr' has not been declared ReturnCode _if(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:188:22: error: 'xmlNodePtr' has not been declared ReturnCode input(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:188:41: error: 'xmlNodePtr' has not been declared ReturnCode input(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:189:20: error: 'xmlNodePtr' has not been declared ReturnCode add(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:189:39: error: 'xmlNodePtr' has not been declared ReturnCode add(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:190:21: error: 'xmlNodePtr' has not been declared ReturnCode lose(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:190:40: error: 'xmlNodePtr' has not been declared ReturnCode lose(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:191:21: error: 'xmlNodePtr' has not been declared ReturnCode heal(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:191:40: error: 'xmlNodePtr' has not been declared ReturnCode heal(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:192:26: error: 'xmlNodePtr' has not been declared ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:192:45: error: 'xmlNodePtr' has not been declared ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:193:23: error: 'xmlNodePtr' has not been declared ReturnCode damage(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:193:42: error: 'xmlNodePtr' has not been declared ReturnCode damage(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:194:22: error: 'xmlNodePtr' has not been declared ReturnCode karma(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:194:41: error: 'xmlNodePtr' has not been declared ReturnCode karma(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:195:22: error: 'xmlNodePtr' has not been declared ReturnCode music(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:195:41: error: 'xmlNodePtr' has not been declared ReturnCode music(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:196:23: error: 'xmlNodePtr' has not been declared ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:196:42: error: 'xmlNodePtr' has not been declared ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:197:22: error: 'xmlNodePtr' has not been declared ReturnCode setId(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:197:41: error: 'xmlNodePtr' has not been declared ReturnCode setId(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:198:22: error: 'xmlNodePtr' has not been declared ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:198:41: error: 'xmlNodePtr' has not been declared ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); ^~~~~~~~~~ script.h:203:28: error: 'xmlNodePtr' has not been declared void mathParseChildren(xmlNodePtr math, string *result); ^~~~~~~~~~ script.h:219:5: error: 'xmlDocPtr' does not name a type xmlDocPtr vendorScriptDoc; ^~~~~~~~~ script.h:220:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr scriptNode; ^~~~~~~~~~ mode_t script.h:224:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr currentScript; /**< The currently running script */ ^~~~~~~~~~ mode_t script.h:225:5: error: 'xmlNodePtr' does not name a type; did you mean 'mode_t'? xmlNodePtr currentItem; /**< The current position in the script */ ^~~~~~~~~~ mode_t script.h:226:15: error: 'xmlNodePtr' was not declared in this scope std::list translationContext; /**< A list of nodes that make up our translation context */ ^~~~~~~~~~ script.h:226:15: note: suggested alternative: 'mode_t' std::list translationContext; /**< A list of nodes that make up our translation context */ ^~~~~~~~~~ mode_t script.h:226:25: error: template argument 1 is invalid std::list translationContext; /**< A list of nodes that make up our translation context */ ^ script.h:226:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); ^~~~ gmake: *** [: annotation.o] Error 1 gmake: *** [: camp.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/games/xu4 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/games/xu4