-
Notifications
You must be signed in to change notification settings - Fork 14
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
build error: fs/aufs/Makefile:5: fs/aufs/conf.mk: No such file or directory #43
Comments
Hello,
JKDingwall:
I'm patching aufs-standalone aufs6.8 branch on to the Ubuntu 6.8-hwe tree for Ubuntu jammy. During the build of the 'binary-arch' target I encountered this error:
I'm afraid your kernel has added some unknown changes from plain linux
v6.8.
Could you try digging the log by git-log or something, especially for
linux/Makefile and linux/scripts?
Is your kernel from
https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-nvidia-hwe/+git/noble
?
J. R. Okajima
|
Hi, Thank you for the quick response:) I'm working with tag Ubuntu-hwe-6.8-6.8.0-40.40_22.04.1 from https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy. I was unfamiliar with the
|
JKDingwall:
I'm patching aufs-standalone aufs6.8 branch on to the Ubuntu 6.8-hwe tree for Ubuntu jammy. During the build of the 'binary-arch' target I encountered this error:
Compiling aufs-standalone.git is expected to use its own Makefile. And
Makefile sets KDIR variable (generally you can set KDIR manually on the
command line).
Currently I guess the cause of your error is related to this KDIR variable.
But if your build system doesn't support setting a make-variable, it may
not be effective.
Instead of aufs-standalone.git, using aufs-linux.git may be better for
your system, such as
(from aufs README file)
----------------------------------------
Or You may want to directly git-pull aufs into your linux GIT tree, and
leave the patch-work to GIT.
$ cd /your/linux/git/tree
$ git remote add aufs git://github.com/sfjro/aufs-linux.git
$ git fetch aufs
$ git checkout -b my6.0 v6.0
$ (add your local change...)
$ git pull aufs aufs6.0
- now you have v6.0 + your_changes + aufs6.0 in you my6.0 branch.
- you may need to solve some conflicts between your_changes and
aufs6.0. in this case, git-rerere is recommended so that you can
solve the similar conflicts automatically when you upgrade to 6.1 or
later in the future.
----------------------------------------
This git work may look rather big to you since you already have a simple
solution adding ${srctree}. Yes, I think it a good solution for your
system.
J. R. Okajima
|
Hi,
I'm patching aufs-standalone aufs6.8 branch on to the Ubuntu 6.8-hwe tree for Ubuntu jammy. During the build of the 'binary-arch' target I encountered this error:
Applying this change to the fs/aufs/Makefile appears to have resolved the problem but I don't know if it is the correct solution.
The text was updated successfully, but these errors were encountered: