-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
struct statx_timestamp #44
Comments
How did you install it? Did you follow the instructions? |
I follow the description on their page: sudo apt-get install subversion Compile the source code of MJPG-streamer: follow the link, I get the same error... |
Try to just Make Without USE_LIBV4L2=true. Should work if you don't have a fancy webcam and use the provided one. I will try to install mjpg-streamer on a different machine again keep you updated. |
thank you, but the camera still doesn't work. I use the one from the set... nothing special... |
Hello,
|
This is caused by incompatibility with the new Raspberry Pi system. |
Sounds great fgcjamin! How did you comment out the concerned includes? Do you cd into the mjpg-streamer utils somehow? Please explain your procedure for the noobies thanks. |
I have encountered the same error, most likely due to incompatibility with the newest OS |
Cool! I will try it! Thanks for your kind help!
Best always!
Marco
…On Mon, May 4, 2020 at 3:05 PM Willyzw ***@***.***> wrote:
Hello,
I had the same issue, I commented the concerned includes in
mjpg-streamer/utils.c line 32 & 33 :
//#include <linux/stat.h>
//#include <sys/stat.h>
Then
make clean all
and it works.
Sounds great fgcjamin! How did you comment out the concerned includes? Do
yo
In terminal, you can navigate to the desired folder by cd
~/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer
and then edit it by nano utils.c
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGOS4NV5AORAXB36TIM2Z3RP432ZANCNFSM4IFSLBIA>
.
|
this worked for me too thanks |
mjpg-streamer
run: make USE_LIBV4L2=true clean all
In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446,
from utils.c:33:
/usr/include/arm-linux-gnueabihf/bits/statx.h:25:8: error: redefinition of ‘struct statx_timestamp’
struct statx_timestamp
^~~~~~~~~~~~~~~
In file included from utils.c:32:
/usr/include/linux/stat.h:56:8: note: originally defined here
struct statx_timestamp {
^~~~~~~~~~~~~~~
In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446,
from utils.c:33:
/usr/include/arm-linux-gnueabihf/bits/statx.h:36:8: error: redefinition of ‘struct statx’
struct statx
^~~~~
In file included from utils.c:32:
/usr/include/linux/stat.h:99:8: note: originally defined here
struct statx {
^~~~~
make: *** [: utils.o] Error 1
I try to downgrade libc6 but it is not possible and stuck on version 2.28.
Any solution? :/
The text was updated successfully, but these errors were encountered: