Atul Singh Mandla
2016-04-28 13:41:10 UTC
Is it possible to compile the aufs-util without using "make headers
install"?
While I tried doing the same I got this error :
----------------------------------------------------------------------------------------------------
-DUMOUNT_CMD=\"/bin/umount\" ver.c -o ver
ver.c:19:29: fatal error: linux/aufs_type.h: No such file or directory
#include <linux/aufs_type.h>
^
compilation terminated.
<builtin>: recipe for target 'ver' failed
make[2]: *** [ver] Error 1
-----------------------------------------------------------------------------------------------------
To resolve the same I added "CFLAGS="-I$(AUFS_DIR)/include/uapi/"" to the
make.
In this case I got a different error and I am not able to get to the root
cause of the same.
--------------------------------------------------------------------------------------------------------
In file included from ver.c:19:0:
/home/rclinux/rclinux/rc-buildroot/output/build/aufs-aufs4.x-rcN/include/uapi/linux/aufs_type.h:289:27:
error: expected â:â, â,â, â;â, â}â or â__attribute__â before â*â token
struct au_rdu_ent __user *e;
^
<builtin>: recipe for target 'ver' failed
make[2]: *** [ver] Error 1
package/pkg-generic.mk:195: recipe for target
'/home/rclinux/rclinux/rc-buildroot/output/build/aufs-util-aufs4.x-rcN/.stamp_built'
failed
---------------------------------------------------------------------------------------------------------
Can anyone help with this issue ?
Thanks,
Atul Singh.
install"?
While I tried doing the same I got this error :
----------------------------------------------------------------------------------------------------
-DUMOUNT_CMD=\"/bin/umount\" ver.c -o ver
ver.c:19:29: fatal error: linux/aufs_type.h: No such file or directory
#include <linux/aufs_type.h>
^
compilation terminated.
<builtin>: recipe for target 'ver' failed
make[2]: *** [ver] Error 1
-----------------------------------------------------------------------------------------------------
To resolve the same I added "CFLAGS="-I$(AUFS_DIR)/include/uapi/"" to the
make.
In this case I got a different error and I am not able to get to the root
cause of the same.
--------------------------------------------------------------------------------------------------------
In file included from ver.c:19:0:
/home/rclinux/rclinux/rc-buildroot/output/build/aufs-aufs4.x-rcN/include/uapi/linux/aufs_type.h:289:27:
error: expected â:â, â,â, â;â, â}â or â__attribute__â before â*â token
struct au_rdu_ent __user *e;
^
<builtin>: recipe for target 'ver' failed
make[2]: *** [ver] Error 1
package/pkg-generic.mk:195: recipe for target
'/home/rclinux/rclinux/rc-buildroot/output/build/aufs-util-aufs4.x-rcN/.stamp_built'
failed
---------------------------------------------------------------------------------------------------------
Can anyone help with this issue ?
Thanks,
Atul Singh.