Skip to content
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

Crowsnest install errors and ustreamer fails to install #247

Closed
IdahoCreator opened this issue Mar 3, 2024 · 1 comment
Closed

Crowsnest install errors and ustreamer fails to install #247

IdahoCreator opened this issue Mar 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@IdahoCreator
Copy link

What happened

Durring install of crowsnest I get the following error messages and stops install.

From https://github.com/sctplab/usrsctp

  • branch 7c31bd35c79ba67084ce029511193a19ceb97447 -> FETCH_HEAD
    Submodule path 'third_party/libdatachannel/deps/usrsctp': checked out '7c31bd35c79ba67084ce029511193a19ceb97447'
    Build 'ustreamer' using 2 Cores ...
    make apps
    make[1]: Entering directory '/home/klipper/crowsnest/bin/ustreamer'
    make -C src
    make[2]: Entering directory '/home/klipper/crowsnest/bin/ustreamer/src'
    -- CC libs/base64.c
    -- CC libs/device.c
    -- CC libs/frame.c
    libs/device.c: In function '_device_open_dv_timings':
    libs/device.c:637:2: error: a label can only be part of a statement and a declaration is not a statement
    637 | struct v4l2_event_subscription sub = {.type = V4L2_EVENT_SOURCE_CHANGE};
    | ^~~~~~
    make[2]: *** [Makefile:125: build/libs/device.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/home/klipper/crowsnest/bin/ustreamer/src'
    make[1]: *** [Makefile:38: apps] Error 2
    make[1]: Leaving directory '/home/klipper/crowsnest/bin/ustreamer'
    make: *** [Makefile:28: all] Error 2
    make: *** [Makefile:19: install] Error 2

What did you expect to happen

I expected the install to complete normally.

How to reproduce

Happens everytime I run isntall

Additional information

I am doing a clean install from Kiauh with crowsnest failing and by installing just crowsnest via github clone and following instructions from github post.

@IdahoCreator IdahoCreator added the bug Something isn't working label Mar 3, 2024
@mryel00
Copy link
Member

mryel00 commented Mar 3, 2024

The error is during ustreamer compiling. I'm already working on a solution to apply following workaround automatically or some other workaround. Here is the workaround:

cd crowsnest
make config

Use all the default values (just hit enter a few times)

nano tools/.config

Change the third line from

CROWSNEST_USTREAMER_REPO_BRANCH="master"

to

CROWSNEST_USTREAMER_REPO_BRANCH="v5.57"

Then hit ctrl+s and ctrl+x to save and exit.

Try again to install it:

cd ~/crowsnest
sudo make install

@mryel00 mryel00 changed the title Crowsnest errors and fails to install on new clean install on Rspi 2 B+ Ustreamer errors and fails to install Mar 3, 2024
@mryel00 mryel00 changed the title Ustreamer errors and fails to install Crowsnest install errors and ustreamer fails to install Mar 3, 2024
mryel00 added a commit to mryel00/crowsnest-dev that referenced this issue Mar 3, 2024
mryel00 added a commit to mryel00/crowsnest-dev that referenced this issue Mar 3, 2024
mryel00 added a commit that referenced this issue Mar 3, 2024
@mryel00 mryel00 closed this as completed Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants