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/uap
   i/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/[1]pkg-generic.mk:195:         recipe        for        target
   '/home/rclinux/rclinux/rc-buildroot/output/build/aufs-util-aufs4.x-rcN/.stam
   p_built' failed
   ----------------------------------------------------------------------------
   -----------------------------
   Can anyone help with this issue ?
   Thanks,
   Atul Singh.

References

   1. http://pkg-generic.mk:195/
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

Reply via email to