Hi,
This is due to a missing include line in the driver, if you dont need the camerauvc driver (probably dont) then try ./configure --disable-camerauvc
and then make

otherwise you will need to edit the file server/drivers/camera/camerauvc.cc (and any other file in that directory that includes videodev2.h) to have #include <linux/types.h> before the include of videodev2, this is a bug that has been fixed in CVS as far as I know, different distributions include or dont include types.h in the videodev2.h

Hope this helps,
Toby

On 3/28/07, Brian Thomas Goodwin <btg006@latech.edu> wrote:
All I typed was "make" as a normal user as the INSTALL text file
suggested.  I went ahead and ran a 'make clean' and then 'sudo make'
to see if I just needed super privileges but it didn't help.  Same
error as follows:

mkdir .libs
  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:155: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:156: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:157: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:158: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:162: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:163: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:171: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:172: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:173: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:174: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:175: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:176: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:205: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:206: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:207: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:209: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:210: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:212: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:265: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:267: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:268: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:269: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:270: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:281: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:282: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:283: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:284: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:285: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:286: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:287: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:323: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:324: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:325: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:358: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:359: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:360: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:361: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:364: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:365: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:370: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:371: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:372: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:378: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:379: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:380: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:381: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:382: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:385: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:386: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:387: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:390: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:405: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:429: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:432: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:437: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:439: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:440: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:444: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:449: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:452: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:453: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:454: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:472: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:473: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:499: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:501: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:511: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:512: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:514: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:515: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:516: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:524: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:525: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:527: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:528: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:529: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:552: error: '__u64' does not name a type
/usr/include/linux/videodev2.h:634: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:635: error: 'v4l2_std_id' does not name a type
/usr/include/linux/videodev2.h:636: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:638: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:639: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:648: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:649: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:650: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:651: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:652: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:653: error: 'v4l2_std_id' does not name a type
/usr/include/linux/videodev2.h:654: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:655: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:685: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:686: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:687: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:688: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:689: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:690: error: 'v4l2_std_id' does not name a type
/usr/include/linux/videodev2.h:691: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:703: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:704: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:710: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:712: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:713: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:714: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:715: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:716: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:717: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:718: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:724: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:725: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:726: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:727: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:770: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:771: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:773: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:774: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:775: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:776: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:777: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:778: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:779: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:780: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:785: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:786: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:787: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:788: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:789: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:790: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:791: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:819: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:821: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:822: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:830: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:831: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:832: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:833: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:834: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:845: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:846: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:847: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:848: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:849: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:862: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:863: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:864: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:865: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:866: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:867: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:868: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:869: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:886: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:891: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:892: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:893: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:912: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:917: error: '__u16' does not name a type
/usr/include/linux/videodev2.h:918: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:923: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:924: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:925: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:926: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:927: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:948: error: '__u8' does not name a type
/usr/include/linux/videodev2.h:962: error: '__u8' does not name a type
cameraUVC.cc: In constructor 'CameraUVC::CameraUVC(ConfigFile*, int)':
cameraUVC.cc:104: error: '__u32' was not declared in this scope
cameraUVC.cc: In member function 'void CameraUVC::WriteData()':
cameraUVC.cc:221: error: 'struct v4l2_buffer' has no member named 'bytesused'
make[5]: *** [cameraUVC.lo] Error 1
make[5]: Leaving directory
`/home/thomas/player-2.0.3/server/drivers/camera/uvc'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/thomas/player- 2.0.3/server/drivers/camera'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/thomas/player-2.0.3/server/drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/thomas/player- 2.0.3/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thomas/player-2.0.3'
make: *** [all] Error 2


I haven't a clue what this means.  I'm running Ubuntu 6.10 and I'm not
sure what version of gcc.

Earlier, I couldn't get it to even configure, so I ran:
sudo aptitude update
sudo aptitude install build-essential

It solved that problem, but now I can't run 'make'.

What should I do?

TIA

Sincerely,
Thomas Goodwin

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
This email is intended for the addressee only and may contain privileged and/or confidential information