-
Notifications
You must be signed in to change notification settings - Fork 25
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
Trouble compiling #10
Comments
Can you try commenting out line 25 of evdev.c, and see if it compiles then? (While that should/may fix it, this is a packaging bug on Debian's part, I think. See for example https://bugs.launchpad.net/ubuntu/+source/linux/+bug/933045) |
Actually, I think it should also be fixed in my Makefile. Can you give me the output of |
Yes, with line 25 of evdev.c commented out, the build gets past that point. It goes on to have some other errors:
finding inotify.h:
|
You need to install pciutils, or pciutils-dev, or whatever the debian package is with /usr/include/pci/pci.h. Do you know why /usr/include/sys/inotify.h is missing in debian? Is it available in another package, or is makefile/autoconf voodoo the officially supported way to pick the right file? |
Installed libpci-dev and built successfully! Thanks for your help. I found that /usr/include/sys/inotify.h is provided by libc6-dev-i386. That has a bunch of deps so I am going to leave it uninstalled. I'm not sure what the best way to handle this is. |
That's the 32-bit version of the header. Weird. I don't have time to look into this tonight, but I still consider it a bug. I'm leaving this issue open until I can test things properly on debian (sometime over the weekend I suspect), and get it to compile without issue. Thanks for the report. |
I am on Debian testing. My build fails and it looks like I have conflicting header files.
What can I do about this?
The text was updated successfully, but these errors were encountered: