On Oct 3, 2006, at 1:17 AM, Fred Labrosse wrote:
> On Monday 02 October 2006 17:25, Brian Gerkey wrote:
>> On Oct 2, 2006, at 7:47 AM, Fred Labrosse wrote:
>>> I'm trying to install player-2.0.3 on a just updated gentoo machine
>>> and I get:
>>> g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../
>>> libplayercore -I../../../../client_libs/libplayerc++ -Wall -
>>> I../../../.. -MT
>>> cameraUVC.lo -MD -MP -MF .deps/cameraUVC.Tpo -c
>>> cameraUVC.cc -fPIC -DPIC -o .libs/cameraUVC.o
>>> /usr/include/linux/videodev2.h:228: error: '__s32' does not name a
>> 2) Look at /usr/include/videodev2.h. Does it #include <asm/
>> types.h> ? Mine does (Ubuntu 5.1 on a 64-bit xeon).
> It doesn't. Note that mine is /usr/include/linux/videodev2.h.
Right; I meant /usr/include/linux/videodev2.h.
>> 3) Add #include <sys/types.h> to player-2.0.3/server/drivers/camera/
>> uvc/v4l2uvc.h, before #include <linux/videodev2.h>. Then make.
> Doesn't help. The missing definitions are not in sys/types.h. On
> my machine,
> it's in linux/types.h, which seemd to solve the problem.
Anybody know the right thing to do here? Seems like, at least on
some platforms, <linux/videodev2.h> can't be compiled without first
including <linux/types.h>. Sounds to me like a bug in <linux/
videodev2.h>, but I suppose we work around it by #including <linux/