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

Building pdp6 emumulator on macOS Sonoma 14.5 fails #2317

Open
eswenson1 opened this issue Jul 22, 2024 · 0 comments
Open

Building pdp6 emumulator on macOS Sonoma 14.5 fails #2317

eswenson1 opened this issue Jul 22, 2024 · 0 comments

Comments

@eswenson1
Copy link
Member

Attempting to build the pdp6 emulator on macOS Sonoma (14.5) fails with two errors.

joy.c:132:4: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        close(fd);
                        ^
1 error generated.

and

threading.c:216:37: error: too many arguments to function call, expected 1, have 2
        pthread_setname_np(pthread_self(), name);
        ~~~~~~~~~~~~~~~~~~                 ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:535:5: note: 'pthread_setname_np' declared here
int     pthread_setname_np(const char*);
        ^
1 error generated.
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