This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/usr/include/linux/videodev2.h:2126:20: error: field ‘timestamp’ has incomplete type

I am trying to compile (on the board) a custom code that uses V4L2 library, but gcc returns the following error:
In file included from main.c:18:0:
/usr/include/linux/videodev2.h:2126:20: error: field ‘timestamp’ has incomplete type
  struct timespec   timestamp;
makefile:9: recipe for target 'all' failed
make: *** [all] Error 1

This seems to be a bug because the code runs perfectly on other platforms.
Are you already awared about this ?Do someone has some suggestion to fix this ?

I am using TinkerOS Debian 2.0.7.

Thank you in advance.

Forum Jump:

Users browsing this thread: 1 Guest(s)