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

Error building on MacOS: "implicit declaration of function 'yaSSL_CleanUp' is invalid" #214

Open
rocketeerbkw opened this issue Feb 4, 2021 · 0 comments

Comments

@rocketeerbkw
Copy link

rocketeerbkw commented Feb 4, 2021

The error is:

../deps/libmariadbclient/vio/vio.c:389:3: error: implicit declaration of function 'yaSSL_CleanUp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  yaSSL_CleanUp();
  ^
1 error generated.
make: *** [Release/obj.target/vio/deps/libmariadbclient/vio/vio.o] Error 1

After a ton googling, I found there was a change in Xcode 12.x that breaks this for some reason. In Xcode 11.x this was emitted as a warning, not an error.

Since this library is abandoned, the solution is to downgrade to Xcode 11.x. You can find older versions at https://developer.apple.com/download/more/ (you have to have a developer account at apple).

@rocketeerbkw rocketeerbkw changed the title Error building on MacOS with Xcode 12.x: implicit declaration of function 'yaSSL_CleanUp' is invalid Error building on MacOS: "implicit declaration of function 'yaSSL_CleanUp' is invalid" Feb 4, 2021
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

No branches or pull requests

1 participant