After investigation, I found no case where the header's location might
be in /usr/include/linux/comedilib.h. Debian, Ubuntu and Fedora all
install into /usr/include/comedilib.h, and building comedilib from
source apparently does, too. It's starting to look like
/usr/include/linux/comedilib.h is an outdated location, or maybe
completely bogus: this problem has been reported since at least
2004, and hacking around the problem with a symlink is part of at
least one RTAI tutorial!
This is a patch from the upstream Debian RTAI packaging, maintained by Roland Stigge.
It fixes the autoconf m4 macros to look for
comedilib.h
in/usr/include
rather than/usr/include/linux
:After investigation, I found no case where the header's location might be in
/usr/include/linux/comedilib.h
. Debian, Ubuntu and Fedora all install into/usr/include/comedilib.h
, and building comedilib from source apparently does, too. It's starting to look like/usr/include/linux/comedilib.h
is an outdated location, or maybe completely bogus: this problem has been reported since at least 2004, and hacking around the problem with a symlink is part of at least one RTAI tutorial!This is related to discussion in my GitHub RTAI package repo.