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

openwrt 24.10.0 compilation error #303

Open
PiotrS1971 opened this issue Feb 13, 2025 · 4 comments
Open

openwrt 24.10.0 compilation error #303

PiotrS1971 opened this issue Feb 13, 2025 · 4 comments

Comments

@PiotrS1971
Copy link

compiled several times and it was fine. after downloading version 24.10.0 (latest stable) an error occurred...

find /home/delux/openwrt/build_dir/target-aarch64_generic_musl/ustreamer-6.31/ipkg-aarch64_generic/ustreamer -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '~'| xargs -r rm -rf
Package ustreamer is missing dependencies for the following libraries:
libatomic.so.1
make[3]: *** [Makefile:61: /home/delux/openwrt/bin/packages/aarch64_generic/packages/ustreamer_6.31-r1_aarch64_generic.ipk] Error 1
make[3]: Leaving directory '/home/delux/openwrt/feeds/packages/multimedia/ustreamer'
time: package/feeds/packages/ustreamer/compile#44.25#5.09#48.38
ERROR: package/feeds/packages/ustreamer failed to build.
make[2]: *** [package/Makefile:179: package/feeds/packages/ustreamer/compile] Error 1
make[2]: Leaving directory '/home/delux/openwrt'
make[1]: *** [package/Makefile:173: /home/delux/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/delux/openwrt'
make: *** [/home/delux/openwrt/include/toplevel.mk:233: world] Error 2

any suggestions

the log is of course longer but at first everything seems ok
I tried to mark the libatomic1 library as a module but it didn't change anything

@mdevaev
Copy link
Member

mdevaev commented Feb 14, 2025

Hello. I can't say what's wrong with it, I don't have experience with OpenWRT, sorry.

@PiotrS1971
Copy link
Author

maybe it will be useful to someone...

(source directory)
make tools/install
make toolchain/install

change in Makefile (ustreamer) file
from
DEPENDS:=+libpthread +libjpeg +libv4l +libbsd +libevent2 +libevent2-core +libevent2-extra +libevent2-pthreads
to
DEPENDS:=+libpthread +libjpeg +libv4l +libbsd +libevent2 +libevent2-core +libevent2-extra +libevent2-pthreads +libatomic

at the end
make package/ustreamer/compile

@mdevaev
Copy link
Member

mdevaev commented Feb 14, 2025

Will this work with your changes?

https://github.com/pikvm/ustreamer/tree/master/pkg/openwrt

@PiotrS1971
Copy link
Author

for now I have a compilation without errors but I haven't tested whether it works yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants