Skip to contentSkip to conversation

aufs-util: fix build error for missing linux header

PATCH In review Brandon Maier via buildroot 1 participant 2 messages Oct 31, 2023 – Oct 26, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aufs-util: fix build error for missing linux header

From: Kalpesh Panchal <[email protected]>

added missing linux header path to fix below build error:

- $(LINUX_DIR)/include/uapi/linux/stddef.h:5:10:fatal error: linux/compiler_types.h: No such file or directory

---
 package/aufs-util/aufs-util.mk | 2 ++
 1 file changed, 2 insertions(+)
package/aufs-util/aufs-util.mk +2 -0
index 32f3bca151..c334b8c014 100644
@@ -21,11 +21,13 @@ AUFS_UTIL_DEPENDENCIES = linux
 AUFS_UTIL_HOST_CPPFLAGS = \
 	$(HOST_CPPFLAGS) \
 	-I$(LINUX_DIR)/include/uapi \
+	-I$(LINUX_DIR)/include \
 	-D__user=
 
 AUFS_UTIL_CPPFLAGS = \
 	$(TARGET_CPPFLAGS) \
 	-I$(LINUX_DIR)/include/uapi \
+	-I$(LINUX_DIR)/include \
 	-D__user=
 
 # rdu64 is supposed to provide the LFS variant of readdir(),
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · On Tue, 31 Oct 2023 23:03:36 +0000 Brandon Maier via buildroot…

From: Kalpesh Panchal <[email protected]>

added missing linux header path to fix below build error:

- $(LINUX_DIR)/include/uapi/linux/stddef.h:5:10:fatal error: linux/compiler_types.h: No such file or directory

Could you document a bit more your commit log?

Which defconfig exhibits the issue?

Since when this problem started occurring?

We have no autobuilder issues for this, and you don't explain why this used to work, but doesn't work anymore.

Could you do a bit more research, and provide a more exhaustive/documented explanation?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot