Menu

#3 Doesn't compile out-of-box on NetBSD

open
nobody
None
5
2002-07-19
2002-07-19
No

Although Camserv claims NetBSD support, it won't
compile properly out of the box on NetBSD. This is
largely due to it only looking for
machine/ioctl_bt848.h, which doesn't exist on NetBSD,
and not it's equivilent NetBSD file, dev/ic/bt8xx.h.

This problem crops up again in video_fbsd_bttv.c, which
blindly includes machine/ioctl_bt848.h and
machine/ioctl_meteor.h. This should probably be changed
to something like the following:

#ifdef __FreeBSD__
#include <machine/ioctl_bt848.h>
#include <machine/ioctl_meteor.h>
#endif

#ifdef __NetBSD__
#include <dev/ic/bt8xx.h>
#endif

Discussion


Log in to post a comment.