Skip to content
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

aufs-util fails to compile against aufs.h from 5.15.41 branch #18

Open
GIJack opened this issue Jun 11, 2022 · 5 comments
Open

aufs-util fails to compile against aufs.h from 5.15.41 branch #18

GIJack opened this issue Jun 11, 2022 · 5 comments

Comments

@GIJack
Copy link

GIJack commented Jun 11, 2022

I am using the 5.15.41 branch

I am trying to compile the latest aufs-util from sourceforge:


cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -fstack-protector -O -Wall -D_GNU_SOURCE -I./libau -DAUFHSM_CMD=\"/usr/bin/aufhsm\" -DMOUNT_CMD=\"/bin/mount\" -DUMOUNT_CMD=\"/bin/umount\" -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  ver.c   -o ver
In file included from ver.c:19:
/usr/include/linux/aufs_type.h:301:41: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
  301 |         struct au_rdu_ent __user        *e;
      |                                         ^
make: *** [<builtin>: ver] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
@sfjro
Copy link
Owner

sfjro commented Jun 11, 2022 via email

@sfjro
Copy link
Owner

sfjro commented Jun 11, 2022 via email

@GIJack
Copy link
Author

GIJack commented Jun 11, 2022

I think I am missing something. What about this build script is wrong:

https://gitlab.com/ninjaos/arch-pkgbuild/-/blob/master/aufs-util/PKGBUILD

@sfjro
Copy link
Owner

sfjro commented Jun 19, 2022 via email

@sfjro
Copy link
Owner

sfjro commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants