Minimal manifest for building TWRP for devices shipped with Android 10+
282
stars
250
forks
source link
An error will be reported every time the compilation reaches 84%. The same error is reported whether it is compiling locally or in the workflow of GitHub Action. #44
bootable/recovery/twrp-functions.cpp:1624:20: error: use of undeclared identifier 'PageManager'; did you mean 'DataManager'?
char manifest = PageManager::LoadFileToBuffer(filename, NULL);
^~~
DataManager
bootable/recovery/data.hpp:28:7: note: 'DataManager' declared here
class DataManager
^
bootable/recovery/twrp-functions.cpp:1624:33: error: no member named 'LoadFileToBuffer' in 'DataManager'
char manifest = PageManager::LoadFileToBuffer(filename, NULL);
bootable/recovery/twrp-functions.cpp:1626:3: error: no template named 'xml_document'
xml_document<>* vintfManifest = new xml_document<>();
^
bootable/recovery/twrp-functions.cpp:1626:39: error: no template named 'xml_document'
xml_document<>* vintfManifest = new xml_document<>();
^
bootable/recovery/twrp-functions.cpp:1628:3: error: no template named 'xml_node'
xml_node<>* manifestNode = vintfManifest->first_node("manifest");
^
bootable/recovery/twrp-functions.cpp:1631:9: error: no template named 'xml_node'
for (xml_node<>* child = manifestNode->first_node(); child; child = child->next_sibling()) {
^
bootable/recovery/twrp-functions.cpp:1634:6: error: no template named 'xml_node'
xml_node<>* nameNode = child->first_node("name");
^
bootable/recovery/twrp-functions.cpp:1637:7: error: no template named 'xml_node'
xml_node<> *versionNode = child->first_node("version");
^
8 errors generated.
[ 84% 17457/20660] target C++: recovery <= bootable/recovery/partition.cpp
[ 84% 17458/20660] target C++: recovery <= bootable/recovery/partitionmanager.cpp
[ 84% 17459/20660] //system/sepolicy:product_sepolicy.cil Building cil for product_sepolicy.cil [common]
ninja: build stopped: subcommand failed.
03:04:16 ninja failed with: exit status 1
Process completed with exit code 1.
bootable/recovery/twrp-functions.cpp:1624:20: error: use of undeclared identifier 'PageManager'; did you mean 'DataManager'? char manifest = PageManager::LoadFileToBuffer(filename, NULL); ^
~~DataManager bootable/recovery/data.hpp:28:7: note: 'DataManager' declared here class DataManager ^ bootable/recovery/twrp-functions.cpp:1624:33: error: no member named 'LoadFileToBuffer' in 'DataManager' char manifest = PageManager::LoadFileToBuffer(filename, NULL);