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

Unable to compile -Arch Linux #19

Closed
trogers121 opened this issue Dec 16, 2021 · 1 comment
Closed

Unable to compile -Arch Linux #19

trogers121 opened this issue Dec 16, 2021 · 1 comment

Comments

@trogers121
Copy link

I ran into an issue where I was unable to compile the driver following the instructions presented here.

Navigating into the repo directory and running make:

make
make -C /lib/modules/5.15.6-arch2-1/build M=/home/user/CH341SER
make[1]: *** /lib/modules/5.15.6-arch2-1/build: No such file or directory. Stop.
make: *** [Makefile:7: default] Error 2

I then created the directory with:
sudo mkdir /lib/modules/5.15.6-arch2-1/build

Re-running make generates:
make
make -C /lib/modules/5.15.6-arch2-1/build M=/home/user/CH341SER
make[1]: Entering directory '/usr/lib/modules/5.15.6-arch2-1/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/usr/lib/modules/5.15.6-arch2-1/build'
make: *** [Makefile:7: default] Error 2

I then found that a reddit post that indicated that the linux-headers package needs to be installed: https://www.reddit.com/r/archlinux/comments/8j53dq/comment/dyx43om/?utm_source=share&utm_medium=web2x&context=3

sudo pacman -S linux-headers

I was then finally able to compile the driver.

It may make the installation easier to provide a list of dependencies for building the driver.

@juliagoda
Copy link
Owner

ac24bab

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

2 participants