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

undefined reference to `debugstr' #187

Open
ryandesign opened this issue Oct 5, 2022 · 0 comments
Open

undefined reference to `debugstr' #187

ryandesign opened this issue Oct 5, 2022 · 0 comments

Comments

@ryandesign
Copy link
Contributor

In my app I'm trying to use debugstr (which is like DebugStr but accepts C strings instead of Pascal strings) but although I've included MacTypes.h where it's declared (in Universal Interfaces from MPW 3.5) I'm getting a link error:

main.cpp:677: undefined reference to `debugstr'
collect2: error: ld returned 1 exit status

Is this a glue function that would need to be implemented in libretro/glue.c? If so, are the other standard Mac OS functions that are known to be missing from libretro at this time?

This issue is similar to #19 though that was about missing newlib functions whereas this is about missing standard Mac OS functions.

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