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

Failed to build on AWS host (3.14.48-33.39.amzn1.x86_64) #10

Closed
ch40s opened this issue Oct 15, 2015 · 2 comments
Closed

Failed to build on AWS host (3.14.48-33.39.amzn1.x86_64) #10

ch40s opened this issue Oct 15, 2015 · 2 comments

Comments

@ch40s
Copy link

ch40s commented Oct 15, 2015

make -C /lib/modules/3.14.48-33.39.amzn1.x86_64/build M=/home/user /LiME-1.7.2/src modules
make: *** /lib/modules/3.14.48-33.39.amzn1.x86_64/build: No such file or directory.  Stop.
make: *** [default] Error 2

/lib/modules/3.14.48-33.39.amzn1.x86_64:
lrwxrwxrwx 1 root root 51 Aug 18 17:54 build -> ../../../usr/src/kernels/3.14.48-33.39.amzn1.x86_64

/usr/src/kernels:
drwxr-xr-x 22 root root 4096 Oct 15 22:30 4.1.7-15.23.amzn1.x86_64

The directory "/usr/src/kernels/3.14.48-33.39.amzn1.x86_64" doesn't even exist.
Any idea how to make it work on such a host?

@jtsylve
Copy link
Member

jtsylve commented Oct 16, 2015

Looks like you don't have the kernel source installed. There's likely a package you need to install to include at least the headers. I suggest you contact AWS support.

@jtsylve jtsylve closed this as completed Oct 16, 2015
@ch40s
Copy link
Author

ch40s commented Oct 19, 2015

The issue has been resolved, I updated to latest kernel and rebooted the host, so now "uname -r" shows the correct kernel version.

sudo yum clean all
sudo yum update kernel

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