Re: Compile error

2016-02-28 Thread sfjro
Hello Steve, Steve Fisher: > I have tried to compile aufs against a V4 kernel and have hit an issue. ::: > fs/exec.c:100:15: error: =E2=80=98path_noexec=E2=80=99 undeclared here (not= > in a function) > > EXPORT_SYMBOL(path_noexec); > >^ I don't think aufs is related to

Compile error

2016-02-28 Thread Steve Fisher
Hi, I have tried to compile aufs against a V4 kernel and have hit an issue. Any help with the cause appreciated. Â I haven't updated my tool chain since I set it up, but I don't think that is the cause? Linux = rpi-4.5.y AUFS = aufs4.4 Â CCÂ Â Â fs/exec.o In file

Re: Compile error on 4.1-rc7+ kernel

2015-06-28 Thread Scott Feldman
On Sun, Jun 28, 2015 at 2:20 PM, wrote: > > Hello Scott, > > Scott Feldman: >> Are there update aufs patches for 4.1 kernels? I'm trying to >> patch/build aufs on 4.1-rc7 and finding aio_read is gone, so I'm >> getting: > > Which version are you using? > Since "aufs4.x-rcN 20150504", aufs suppor

Re: Compile error on 4.1-rc7+ kernel

2015-06-28 Thread sfjro
Hello Scott, Scott Feldman: > Are there update aufs patches for 4.1 kernels? I'm trying to > patch/build aufs on 4.1-rc7 and finding aio_read is gone, so I'm > getting: Which version are you using? Since "aufs4.x-rcN 20150504", aufs supported this change. And I am going to release aufs4.1 now.

Compile error on 4.1-rc7+ kernel

2015-06-27 Thread Scott Feldman
Are there update aufs patches for 4.1 kernels? I'm trying to patch/build aufs on 4.1-rc7 and finding aio_read is gone, so I'm getting: fs/aufs/xino.c: In function ‘find_readf’: fs/aufs/xino.c:1003:9: error: ‘const struct file_operations’ has no member named ‘aio_read’ fs/aufs/xino.c:1004:10: erro

Re: Compile error

2013-10-26 Thread sfjro
Ed W: > My *guess* is that you didn't drop it. I should imagine you moved the > original file into uapi, setup the old file to just include it, then > update the docs to mention only the moved file (ie typo)? > > Does that sound about right? Maybe you are right again. Digging down GIT commit h

Re: Compile error

2013-10-23 Thread Ed W
On 23/10/2013 13:05, sf...@users.sourceforge.net wrote: > Ed W: >> Aha, so yes, confirmed my *understanding* of the instructions also fails >> on vanilla kernel. > ::: >> I think the copy line should read (excuse line wrap): >> - copy >> ./{Documentation,fs,include/linux/aufs_type.h,include/u

Re: Compile error

2013-10-23 Thread sfjro
Ed W: > Aha, so yes, confirmed my *understanding* of the instructions also fails > on vanilla kernel. ::: > I think the copy line should read (excuse line wrap): > - copy > ./{Documentation,fs,include/linux/aufs_type.h,include/uapi/linux/aufs_type.h} > files to your ::: Maybe y

Re: Compile error

2013-10-23 Thread Ed W
Hi > # add aufs3 support > patch -Np1 -i "${srcdir}/aufs3.10-${_aufs}.patch" Yes, and in here I see you *do* copy across include/linux/aufs_type.h, which confirms my understanding. We must copy across *both* include/linux/aufs_type.h *AND* include/uapi/linux/aufs_type.h. I have suggested that

Re: Compile error

2013-10-23 Thread Ed W
On 23/10/2013 08:48, sf...@users.sourceforge.net wrote: > Ed W: >> Just to be clear - I'm having trouble compiling the kernel itself. >> Something in the compile wants a file >> include/linux/aufs_type.h >> but I'm only copying across >> include/uapi/linux/aufs_type.h >> (and then patch

Re: Compile error

2013-10-23 Thread sfjro
Ed W: > Just to be clear - I'm having trouble compiling the kernel itself. > Something in the compile wants a file > include/linux/aufs_type.h > but I'm only copying across > include/uapi/linux/aufs_type.h > (and then patching and calling make) For kernel-space, aufs provides both of t

Re: Compile error

2013-10-23 Thread Ed W
On 23/10/2013 00:35, sf...@users.sourceforge.net wrote: > Hello Ed, > > Ed W: >> - apply ./aufs3-kbuild.patch to your kernel source files. >> - apply ./aufs3-base.patch too. >> - apply ./aufs3-proc_map.patch too, >> - copy ./{Documentation,fs,include/uapi/linux/aufs_type.h} files to your >> ker

Re: Compile error

2013-10-22 Thread sfjro
Hello Ed, Ed W: > - apply ./aufs3-kbuild.patch to your kernel source files. > - apply ./aufs3-base.patch too. > - apply ./aufs3-proc_map.patch too, > - copy ./{Documentation,fs,include/uapi/linux/aufs_type.h} files to your >kernel source tree. > - make > > So clarifying this, my "aufs_type.h"

Re: Compile error

2013-10-22 Thread Philip Müller
Hi Ed, there should be no problem at all. I tested the latest aufs with 3.10.15 and with current 3.10.16. You can find my scripts in my git-repos: http://git.manjaro.org/package-sources/core/tree/master/linux310 Here is my patch snippet: # add aufs3 support patch -Np1 -i "${srcdir}/aufs3.10-${

Compile error

2013-10-22 Thread Ed W
Hi, it's always something stupid that I did when the compile fails, so apologies in advance, but... Kernel 3.10.15 - NOT compiling aufs as a module. HOSTLD scripts/mod/modpost CHK include/generated/compile.h make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date. CHK kernel

Re: Compile error: where is struct aufs_ibusy defined?

2011-02-22 Thread sfjro
Ed W: > I tend to agree with the error though because I can't find where struct > aufs_ibusy is defined? The chroot kernel is using a few day old git > aufs2.1-standalone, but compiled "in tree" (not as a module). The > -utils is git as of some minutes ago, branch 2.1. It is defined in inclu

Compile error: where is struct aufs_ibusy defined?

2011-02-22 Thread Ed W
Hi, I am trying to compile aufs-util (2.1) in a uclibc chroot. I ran "make headers_install" in the chroot kernel tree, but then I seem to get the following compile error: # CPPFLAGS="-I /usr/src/linux/usr/include" make cc -I./libau -O -Wall -I /usr/src/linux/usr/include

Re: Compile error with 2.6.36.{2,3} and aufs-standalone.git

2011-01-18 Thread sfjro
Hello Ed, Ed W: >CC fs/aufs/vfsub.o > fs/aufs/vfsub.c: In function 'vfsub_lookup_hash': > fs/aufs/vfsub.c:155: error: implicit declaration of function 'lookup_hash' > fs/aufs/vfsub.c:155: warning: assignment makes pointer from integer > without a cast > fs/aufs/vfsub.c: In function 'vfs

Compile error with 2.6.36.{2,3} and aufs-standalone.git

2011-01-18 Thread Ed W
Hi, I'm trying to update my kernel and currently failing to build 2.6.36.3 with a git checkout from an hour ago (18th Jan 2011) of git-standalone I'm building into the kernel (not a module). I don't immediately suspect kernel .config, but abbreviated version below. Errors on compile are: #

Re: Compile error for aufs2-utils with kernel-2.6.31

2009-10-09 Thread Tommy[D]
sf...@users.sourceforge.net schrieb: > Hello, > > "Tommy[D]": >> make -j5 --load-average=3D8 CC=3Dx86_64-pc-linux-gnu-gcc AR=3Dx86_64-pc-l= >> inux-gnu-ar KDIR=3D/usr/src/linux >> C_INCLUDE_PATH=3D/var/tmp/portage/sys-fs/aufs2-0_p20090916/work/aufs2-sta= >> ndalone/include >> x86_64-pc-linux-gnu-g

Re: Compile error for aufs2-utils with kernel-2.6.31

2009-10-08 Thread sfjro
Hello, "Tommy[D]": > make -j5 --load-average=3D8 CC=3Dx86_64-pc-linux-gnu-gcc AR=3Dx86_64-pc-l= > inux-gnu-ar KDIR=3D/usr/src/linux > C_INCLUDE_PATH=3D/var/tmp/portage/sys-fs/aufs2-0_p20090916/work/aufs2-sta= > ndalone/include > x86_64-pc-linux-gnu-gcc -march=3Dnocona -O2 -pipe -I/usr/src/linux/in

Compile error for aufs2-utils with kernel-2.6.31

2009-10-08 Thread Tommy[D]
Hi, as some gentoo users pointed out, aufs2-utils fails to build with kernel 2.6.31. This is the output: make -j5 --load-average=8 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar KDIR=/usr/src/linux C_INCLUDE_PATH=/var/tmp/portage/sys-fs/aufs2-0_p20090916/work/aufs2-standalone/include x86

Re: Compile error in 2.6.21-rc5-git6-2

2007-04-05 Thread sfjro
Flvio_Moringa: > well, I found the problem... It's a patch applied by OpenSUSE to the > kernel related to apparmor (the SUSE version of SELinux)... Here's the > patch regarding the "vfs_symlink" function: ::: > Can you help me make a patch so that aufs compiles in this kernel? That > way a

Re: Compile error in 2.6.21-rc5-git6-2

2007-04-05 Thread Flávio Moringa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, well, I found the problem... It's a patch applied by OpenSUSE to the kernel related to apparmor (the SUSE version of SELinux)... Here's the patch regarding the "vfs_symlink" function: ### START ## Add a struct vfsmount parame

Re: Compile error in 2.6.21-rc5-git6-2

2007-04-04 Thread Sandino Flores Moreno
- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/defa

Re: Compile error in 2.6.21-rc5-git6-2

2007-04-04 Thread Flávio Moringa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm using the cvs version I downloaded today, so it's version 1.14. I'll take a look at the macros you said. Concerning the vfsmounts.. I'm sorry I really have no clue... It could be a patch made by opensuse... but I really don't know... Flá

Re: Compile error in 2.6.21-rc5-git6-2

2007-04-04 Thread sfjro
Hello Flavio, Flvio_Moringa: > i'm trying to compile aufs in kernel 2.6.21-rc5-git6-2 (in openSUSE 10.3 > alpha 2). > > It seems the file vfssub.h needs to be patched because all the VFS > helper functions from the kernel code have an extra argument (of type > struct vfmount)... here's the error

Compile error in 2.6.21-rc5-git6-2

2007-04-04 Thread Flávio Moringa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i'm trying to compile aufs in kernel 2.6.21-rc5-git6-2 (in openSUSE 10.3 alpha 2). It seems the file vfssub.h needs to be patched because all the VFS helper functions from the kernel code have an extra argument (of type struct vfmount)... here's