Skip to content

Trouble in installing simput #1

@tekkamanmaverick

Description

@tekkamanmaverick

Dear Dr. Dauser,

I can't install simput in my computer. The machine is mac os big sur. I used gcc-10. The error message as follow,

headas_file_check.c:68:49: error: implicit declaration of function
'HDfile_check_init' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (0 == s_ape_default_file_check) status = HDfile_check_init();
^
headas_file_check.c:68:49: note: did you mean 'HDfile_check'?
./headas_utils.h:72:7: note: 'HDfile_check' declared here
int HDfile_check(const char *file_name, const char *open_mode);
^
headas_file_check.c:91:16: error: implicit declaration of function
'ape_util_set_file_check_func' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
status = ape_util_set_file_check_func(0);
^
headas_file_check.c:95:18: error: implicit declaration of function
'ape_util_get_file_check_func' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
status = ape_util_get_file_check_func(&s_ape_default_file_check);
^
headas_file_check.c:95:18: note: did you mean 'ape_util_set_file_check_func'?
headas_file_check.c:91:16: note: 'ape_util_set_file_check_func' declared here
status = ape_util_set_file_check_func(0);
^
headas_file_check.c:107:16: error: implicit declaration of function
'ape_util_set_file_check_func' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
status = ape_util_set_file_check_func(&HDfile_check);
^
4 errors generated.
make[3]: *** [headas_file_check.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thank you and best wishes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions