Fix the following build error:
> ld.lld: error: version script assignment of 'global' to symbol 'vkCreateXlibSurfaceKHR' failed: symbol not defined
> ld.lld: error: version script assignment of 'global' to symbol 'vkGetPhysicalDeviceXlibPresentationSupportKHR' failed: symbol not defined
> ld.lld: error: version script assignment of 'global' to symbol 'vkCreateDirectFBSurfaceEXT' failed: symbol not defined
> ld.lld: error: version script assignment of 'global' to symbol 'vkGetPhysicalDeviceDirectFBPresentationSupportEXT' failed: symbol not defined
Switch to downloading only swiftshader instead of the whole 1.6 GB
chromium source tarball.
Update to latest swiftshader commit.
Fix the following build error:
> error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Fix the following build error:
> error: call to undeclared function 'addwstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Fix the following build error:
> [..]/getopt.c:73:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
exchange (argv)
> [..]/getopt.c:98:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
getopt_set_posix_option_order (on_or_off)
> [..]/getopt.c:108:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
_getopt_internal (argc, argv, optstring, longopts, longind, long_only)
> [..]/getopt.c:450:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
hgetopt (argc, argv, optstring)
Fix the following build error:
> ERROR: ./lib/libr_crypto.so.5.9.0 contains undefined symbols:
> 20: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND log2
> ERROR: ./lib/libr_esil.so.5.9.0 contains undefined symbols:
> 37: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND feclearexcept
> 38: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fetestexcept
> ERROR: ./lib/libr_lang.so.5.9.0 contains undefined symbols:
> 157: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND pow
> 158: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fmod
> 161: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND hypot
> 162: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fabs
> 163: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND acos
> 164: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND asin
> 165: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND atan
> 166: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND atan2
> 167: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND cos
> 168: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND exp
> 169: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND log
> 170: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND sin
> 171: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND tan
> 172: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND trunc
> 173: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND cosh
> 174: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND sinh
> 175: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND tanh
> 176: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND acosh
> 177: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND asinh
> 178: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND atanh
> 179: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND expm1
> 180: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND log1p
> 181: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND log2
> 182: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND log10
> 183: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND cbrt
> ERROR: ./lib/libr_reg.so.5.9.0 contains undefined symbols:
> 34: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fmaxl