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

Arch Linux Support for DJI Moonlight GUI #7

Open
Vertyha opened this issue Feb 9, 2024 · 0 comments
Open

Arch Linux Support for DJI Moonlight GUI #7

Vertyha opened this issue Feb 9, 2024 · 0 comments

Comments

@Vertyha
Copy link

Vertyha commented Feb 9, 2024

Hello, is it possible to run Arch Linux, namely on Stem Deck.
I tried to execute commands but error in "asm/socket.h"

sudo pacman -S base-devel cmake curl openssl libusb git
git clone https://github.com/fpv-wtf/dji-moonlight-embedded.git
cd dji-moonlight-embedded
git submodule update --init --recursive
cmake .
make

"[ 1%] Building C object libgamestream/CMakeFiles/moonlight-common.dir//third_party/moonlight-common-c/enet/callbacks.c.o
In the file included in /usr/include/sys/socket.h:33,
from /home/deck/dji-moonlight-embedded/libgamestream/../third_party/moonlight-common-c/enet/include/enet/unix.h:11,
from /home/deck/dji-moonlight-embedded/libgamestream/../third_party/moonlight-common-c/enet/include/enet/enet.h:18,
from /home/deck/dji-moonlight-embedded/third_party/moonlight-common-c/enet/callbacks.c:6:
/usr/include/bits/socket.h:385:11: fatal error: asm/socket.h: No such file or directory
385 | # include <asm/socket.h>
| ^~~~~~~~~~~~~~
compilation aborted.
make[2]: *** [libgamestream/CMakeFiles/moonlight-common.dir/build.make:76: libgamestream/CMakeFiles/moonlight-common.dir/
/third_party/moonlight-common-c/enet/callbacks.c.o ] Error 1
make[1]: *** [CMakeFiles/Makefile2:129: libgamestream/CMakeFiles/moonlight-common.dir/all] Error 2
make: *** [Makefile:136: all] Error 2"

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

No branches or pull requests

1 participant