Re: compilation error

"Lamarque V. Souza" <[email protected]> Mon, 19 Aug 2013 06:14:04 -0300
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
On Monday 19 August 2013 10:03:16 Milan Oravec wrote:
>Hi, I'm stuck with following compilation error in 3.11-rc series:
>
>mm/shmem.c: In function ‘shmem_tmpfile’:
>mm/shmem.c:1974:2: error: too few arguments to function ‘shmem_get_inode’
>mm/shmem.c:1364:22: note: declared here
>make[1]: *** [mm/shmem.o] Error 1
>make: *** [mm] Error 2
>make: *** Waiting for unfinished jobs....
>  VDSOSYM arch/x86/vdso/vdso-syms.lds
>  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
>  VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
>  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
>  VDSOSYM arch/x86/vdso/vdso32-syms.lds
>  LD      arch/x86/vdso/built-in.o
>  LD      arch/x86/built-in.o
>
>.config is the same as in 3.10.x TOI patched and for 3.10.x works fine.
>And compilation of TOI unpatched 3.11-rc source works fine too.
>
>Is anybody getting similar problem, or how can I pass it?

	Hi,

	Use http://tuxonice.net/downloads/all/tuxonice-for-linux-head-3.11.0-rc5-2013-08-13.patch.bz2 and it should compile fine. Passing 0 (zero) as the 
missing argument of shmem_get_inode also works.

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br

_______________________________________________
TuxOnIce-devel mailing list
[email protected]
http://lists.tuxonice.net/listinfo/tuxonice-devel