-
Notifications
You must be signed in to change notification settings - Fork 12
Had trouble compiling on 4.6 kernel #1
Comments
Interesting. Which release of the 4.6 kernel are you using? |
My OS is Ubuntu 16.04. I downloaded the 4.6.2-040602-generic kernel and headers for amd64 from ubuntu's mainline ppa http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.2-yakkety/. Your code would not compile on this kernel. Searching with google I found http://www.spinics.net/lists/reiserfs-devel/msg05026.html and torvalds/linux@1e98779. With this info I was able to hack ufsdvfs.c and ufsdjnl.c to get it to compile. I have attached those files for your perusal. Checkout http://lxr.free-electrons.com/ident?i=page_cache_get on the 4.6 kernel and see that page_cache_get is no longer in the 4.6 kernels. It surprises me you were able to compile your code on any 4.6 kernel. Hope that helps. Please email again if you have any further questions. [https://1.gravatar.com/avatar/21d8688519139de91ec825d5f83ff69f?d=https%3A%2F%2Fassets-cdn.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png&r=x&s=200]torvalds/linux@1e98779 mm/gup: Introduce get_user_pages_remote() · torvalds/linux@1e98779torvalds/linux@1e98779 Re: [PATCH] reiser4: port for linux-4.6 (Reiser Filesystem Devel)http://www.spinics.net/lists/reiserfs-devel/msg05026.html [https://1.gravatar.com/avatar/21d8688519139de91ec825d5f83ff69f?d=https%3A%2F%2Fassets-cdn.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png&r=x&s=200]torvalds/linux@1e98779 mm/gup: Introduce get_user_pages_remote() · torvalds/linux@1e98779torvalds/linux@1e98779 From: Ondrej Patrovic notifications@github.com Interesting. Which release of the 4.6 kernel are you using? You are receiving this because you authored the thread. |
Same issue here. Was installing your AUR package paragon-ufsd-dkms-git on Arch Linux for 4.6.2-1-ARCH and 4.5.7-1-ck. Module compiling for 4.5.7-1-ck succeeded while 4.6.2-1-ARCH failed. DKMS make.log attached. |
Applied changes in 2ff11e5. Thanks guys. I will be closing this issue, all should be well now. |
Hi, I had trouble compiling your code on a 4.6 kernel. The foloowing is how I fixed it and finally compiled.
kernel function rename:
The text was updated successfully, but these errors were encountered: