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

"entr.c", line 24.10: 1506-296 (S) #include file <err.h> not found. #47

Closed
arozehnal opened this issue Aug 1, 2020 · 2 comments
Closed

Comments

@arozehnal
Copy link

I'm not able to build entr on AIX.
The make ends in error:

cc -DRELEASE="4.6" entr.c -o entr
"entr.c", line 21.10: 1506-296 (S) #include file <sys/event.h> not found.
"entr.c", line 24.10: 1506-296 (S) #include file <err.h> not found.
"entr.c", line 114.16: 1506-007 (S) "struct kevent" is undefined.
"entr.c", line 121.19: 1506-045 (S) Undeclared identifier kevent.
"entr.c", line 129.18: 1506-045 (S) Undeclared identifier warnx.
"entr.c", line 130.17: 1506-045 (S) Undeclared identifier errx.
"entr.c", line 207.46: 1506-045 (S) Undeclared identifier EVFILT_READ.
"entr.c", line 207.59: 1506-045 (S) Undeclared identifier EV_ADD.
"entr.c", line 207.67: 1506-045 (S) Undeclared identifier NOTE_LOWAT.
"entr.c", line 486.16: 1506-007 (S) "struct kevent" is undefined.
"entr.c", line 506.48: 1506-045 (S) Undeclared identifier EV_ADD.
"entr.c", line 506.57: 1506-045 (S) Undeclared identifier EV_CLEAR.
"entr.c", line 506.67: 1506-045 (S) Undeclared identifier NOTE_DELETE.
"entr.c", line 506.67: 1506-045 (S) Undeclared identifier NOTE_WRITE.
"entr.c", line 506.67: 1506-045 (S) Undeclared identifier NOTE_RENAME.
"entr.c", line 506.67: 1506-045 (S) Undeclared identifier NOTE_ATTRIB.
"entr.c", line 506.34: 1506-045 (S) Undeclared identifier EVFILT_VNODE.
"entr.c", line 550.16: 1506-007 (S) "struct kevent" is undefined.
"entr.c", line 551.23: 1506-194 (S) Incomplete type is not allowed.
"entr.c", line 595.64: 1506-045 (S) Undeclared identifier EVFILT_READ.
"entr.c", line 598.37: 1506-045 (S) Undeclared identifier EV_DELETE.
"entr.c", line 598.48: 1506-045 (S) Undeclared identifier NOTE_LOWAT.
"entr.c", line 609.41: 1506-045 (S) Undeclared identifier EVFILT_VNODE.
"entr.c", line 624.40: 1506-045 (S) Undeclared identifier NOTE_DELETE.
"entr.c", line 625.40: 1506-045 (S) Undeclared identifier NOTE_RENAME.
"entr.c", line 627.29: 1506-045 (S) Undeclared identifier NOTE_WRITE.
"entr.c", line 627.29: 1506-045 (S) Undeclared identifier NOTE_ATTRIB.
make: *** [Makefile:29: entr] Error 1

Then I expanded -> CPPFLAGS += -DRELEASE="${RELEASE}" -I missing

and make ends in error:
"entr.c", line 24.10: 1506-296 (S) #include file <err.h> not found.
"entr.c", line 129.18: 1506-045 (S) Undeclared identifier warnx.
"entr.c", line 130.17: 1506-045 (S) Undeclared identifier errx.
make: *** [Makefile:29: entr] Error 1

I am on AIX 7.2 and gcc version 8.3.0 (GCC).

@eradman
Copy link
Owner

eradman commented Aug 1, 2020

As far as I know AIX doesn't support file system event notification. I'm sure it doesn't support kqueue. Is /usr/include/sys/inotify.h part of the install?

@arozehnal
Copy link
Author

Thanks for the advice, I will look for her alternatine for entr.

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

2 participants