[GnomeMeeting-devel-list] pwlib-v4l2 plugin compile error



Hi

when I try to compile pwlib with --enable-v4l2 in SuSE9.0 I get this error:

+ make optshared
../../ptclib/dtmf.cxx: In member function `void PDTMFEncoder::AddTone(char, unsigned int)':
../../ptclib/dtmf.cxx:290: warning: array subscript has type `char'
../../ptclib/dtmf.cxx:290: warning: array subscript has type `char'
../common/getdate.y: warning: 8 shift/reduce conflicts and 18 reduce/reduce conflicts ../common/osutils.cxx: In function `static std::ostream& PTrace::End(std::ostream&)':
../common/osutils.cxx:1013: warning: unused variable `std::streambuf&rb'
vidinput_v4l2.cxx: In member function `virtual BOOL PVideoInputV4l2Device::Start()': vidinput_v4l2.cxx:197: error: aggregate `v4l2_buffer buf' has incomplete type and cannot be defined vidinput_v4l2.cxx:201: error: invalid application of `sizeof' to an incomplete type vidinput_v4l2.cxx:217: error: invalid application of `sizeof' to an incomplete type vidinput_v4l2.cxx: In member function `BOOL PVideoInputV4l2Device::SetMapping()': vidinput_v4l2.cxx:593: error: aggregate `v4l2_buffer buf' has incomplete type and cannot be defined vidinput_v4l2.cxx:598: error: invalid application of `sizeof' to an incomplete type vidinput_v4l2.cxx: In member function `void PVideoInputV4l2Device::ClearMapping()': vidinput_v4l2.cxx:623: error: aggregate `v4l2_buffer buf' has incomplete type and cannot be defined vidinput_v4l2.cxx:627: error: invalid application of `sizeof' to an incomplete type vidinput_v4l2.cxx: In member function `virtual BOOL PVideoInputV4l2Device::GetFrameDataNoDelay(BYTE*, PINDEX*)': vidinput_v4l2.cxx:703: error: aggregate `v4l2_buffer buf' has incomplete type and cannot be defined vidinput_v4l2.cxx:709: error: invalid application of `sizeof' to an incomplete type vidinput_v4l2.cxx:727: error: invalid application of `sizeof' to an incomplete type
make[3]: *** [../pwlib/device/videoinput/v4l2_pwplugin.so] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [optshared] Error 2

any ideas ?

Regards
Iason



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]