Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation of cmu_indic_lex.c fails on MacOSX (ARM 64bit processor) due to missing function declaration. #104

Closed
roebel opened this issue Dec 9, 2023 · 2 comments · May be fixed by #105

Comments

@roebel
Copy link

roebel commented Dec 9, 2023

Hello

here a problem for compiling on MacOSX M2:

making in lang/cmu_indic_lex ...
gcc -I../../include -g -O2 -Wall -no-cpp-precomp -c cmu_indic_lex.c -o ../../build/arm-darwin23.1.0/obj/lang/cmu_indic_lex/cmu_indic_lex.o
cmu_indic_lex.c:305:13: error: call to undeclared function 'indic_digit_to_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
flag = (indic_digit_to_offset(ccc) == -1)? !(indic_digit_to_offset(ddd) == -1):
^
1 error generated.
make[2]: *** [../../build/arm-darwin23.1.0/obj/lang/cmu_indic_lex/cmu_indic_lex.o] Error 1
make[1]: *** [../build/arm-darwin23.1.0/obj/lang/.make_build_dirs] Error 2
make: *** [build/arm-darwin23.1.0/obj//.make_build_dirs] Error 2

@nieder
Copy link

nieder commented Aug 28, 2024

flite-2.2 on macOS x86_64 did not fail for me. Is this flite-2.1 or flite-2.2? I seem to recall a similar failure w/ flite-2.1.

@roebel
Copy link
Author

roebel commented Oct 24, 2024

Yep, that was 2.1. I am staying on that version because I don't want to invest time into changing the rest of the project. I just wanted to share the fix. I understand this is fixed in the current version, so then I will close this issue.
Best

@roebel roebel closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants