get_error_str static -> weak linkage