simsong / bulk_extractor

This is the development tree. Production downloads are at:
https://github.com/simsong/bulk_extractor/releases
Other
1.04k stars 184 forks source link

fix --disable-rar build #374

Closed cho-m closed 1 year ago

cho-m commented 1 year ago

Building v2.0.0 and Git HEAD both fail when configuring --disable-rar with:

scan_rar.cpp:611:23: error: member reference base type 'uint64_t' (aka 'unsigned long long') is not a structure or union
        sp.info->flags.default_enabled = false;
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [scan_rar.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Updating flags to scanner_flags should at least get build to finish. Not sure if there are any other issues.