Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/xu4.spec'], chrootPath='/var/lib/mock/f41-build-50505199-6046154/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c585ba9cf2f242b49b128d2cda91b430', '-D', '/var/lib/mock/f41-build-50505199-6046154/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/xu4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/xu4-1.1-0.46.20150221svn3087.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xu4.spec'], chrootPath='/var/lib/mock/f41-build-50505199-6046154/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cd15d1be6d51460d98593002d0ce5fe2', '-D', '/var/lib/mock/f41-build-50505199-6046154/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xu4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NKUOXa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf u4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xu4-20150221svn.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd u4 + rm -rf /builddir/build/BUILD/u4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/u4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xu4-1.0beta3-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xu4-1.1-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + '[' lib64 = lib64 ']' + sed -i 's|/usr/lib|/usr/lib64|g' src/u4file.cpp + cp /builddir/build/SOURCES/u4download.txt . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kQWYUe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS ~/build/BUILD/u4/src ~/build/BUILD/u4 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd u4 + pushd src + make 'DEBUGCXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' bindir=/usr/bin datadir=/usr/share libdir=/usr/lib64 -j8 gcc -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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lzw/hash.o lzw/hash.c gcc -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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lzw/lzw.o lzw/lzw.c gcc -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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o unzip.o unzip.c 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annotation.o annotation.cpp 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o armor.o armor.cpp 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o aura.o aura.cpp 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o camp.o camp.cpp 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cheat.o cheat.cpp 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o city.o city.cpp unzip.c: In function ‘unzlocal_getShort’: unzip.c:170:7: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 170 | x = (uLong)i; | ~~^~~~~~~~~~ unzip.c:166:9: note: ‘i’ was declared here 166 | int i; | ^ unzip.c: In function ‘unzlocal_getLong’: unzip.c:190:7: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 190 | x = (uLong)i; | ~~^~~~~~~~~~ unzip.c:186:9: note: ‘i’ was declared here 186 | int i; | ^ 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o codex.o codex.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 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; | ^~~~~~~~~~ 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 */} | ^~~~~~ 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\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o combat.o combat.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: *** [: camp.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: armor.o] Error 1 make: *** [: annotation.o] Error 1 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 */} | ^~~~~~ 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: *** [: cheat.o] Error 1 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); | ^~~~~~~~~~ make: *** [: city.o] Error 1 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 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.kQWYUe (%build) Bad exit status from /var/tmp/rpm-tmp.kQWYUe (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cd15d1be6d51460d98593002d0ce5fe2 -D /var/lib/mock/f41-build-50505199-6046154/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xu4.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M cd15d1be6d51460d98593002d0ce5fe2 -D /var/lib/mock/f41-build-50505199-6046154/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6rkfuunp:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xu4.spec'