implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = sendfile(in, out, offset, &sbytes, &sf, flags); code example
Example: pyautopgui wrros on big sur
python -m pip install pyautogui
python -m pip install pyautogui