All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.5.47-bk6  hugetlbfs didn't compile
@ 2002-11-17 13:12 Helge Hafting
  2002-11-17 13:50 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Helge Hafting @ 2002-11-17 13:12 UTC (permalink / raw)
  To: linux-kernel

Here's the compile failure

make -f scripts/Makefile.build obj=fs/hugetlbfs
  gcc -Wp,-MD,fs/hugetlbfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include   
-DKBUILD_BASENAME=inode -DKBUILD_MODNAME=hugetlbfs   -c -o
fs/hugetlbfs/inode.o fs/hugetlbfs/inode.c
fs/hugetlbfs/inode.c: In function `hugetlb_zero_setup':
fs/hugetlbfs/inode.c:531: dereferencing pointer to incomplete type
fs/hugetlbfs/inode.c:553: warning: implicit declaration of function
`mntget'
fs/hugetlbfs/inode.c:553: warning: assignment makes pointer from integer
without a cast
fs/hugetlbfs/inode.c:521: warning: `root' might be used uninitialized in
this function
make[2]: *** [fs/hugetlbfs/inode.o] Error 1
make[1]: *** [fs/hugetlbfs] Error 2
make: *** [fs] Error 2

Helge Hafting

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.47-bk6  hugetlbfs didn't compile
  2002-11-17 13:12 2.5.47-bk6 hugetlbfs didn't compile Helge Hafting
@ 2002-11-17 13:50 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2002-11-17 13:50 UTC (permalink / raw)
  To: Helge Hafting; +Cc: linux-kernel

Em Sun, Nov 17, 2002 at 02:12:10PM +0100, Helge Hafting escreveu:
> Here's the compile failure

Hi posted a fix for this one, its just a matter of adding

#include <linux/mount.h> 

in this file.

- Arnaldo
 
> make -f scripts/Makefile.build obj=fs/hugetlbfs
>   gcc -Wp,-MD,fs/hugetlbfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include   
> -DKBUILD_BASENAME=inode -DKBUILD_MODNAME=hugetlbfs   -c -o
> fs/hugetlbfs/inode.o fs/hugetlbfs/inode.c
> fs/hugetlbfs/inode.c: In function `hugetlb_zero_setup':
> fs/hugetlbfs/inode.c:531: dereferencing pointer to incomplete type
> fs/hugetlbfs/inode.c:553: warning: implicit declaration of function
> `mntget'
> fs/hugetlbfs/inode.c:553: warning: assignment makes pointer from integer
> without a cast
> fs/hugetlbfs/inode.c:521: warning: `root' might be used uninitialized in
> this function
> make[2]: *** [fs/hugetlbfs/inode.o] Error 1
> make[1]: *** [fs/hugetlbfs] Error 2
> make: *** [fs] Error 2
> 
> Helge Hafting
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-17 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-17 13:12 2.5.47-bk6 hugetlbfs didn't compile Helge Hafting
2002-11-17 13:50 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.