linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] uml compile error
@ 2008-02-08 22:32 Adrian Bunk
  2008-02-09  0:05 ` Jiri Kosina
  2008-02-13 22:24 ` [SPAM] " Rafael J. Wysocki
  0 siblings, 2 replies; 5+ messages in thread
From: Adrian Bunk @ 2008-02-08 22:32 UTC (permalink / raw)
  To: Miklos Szeredi, jdike; +Cc: linux-kernel, user-mode-linux-devel

Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:

<-- snip  -->

...
  CC      fs/hostfs/hostfs_kern.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’:
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] uml compile error
  2008-02-08 22:32 [uml-devel] uml compile error Adrian Bunk
@ 2008-02-09  0:05 ` Jiri Kosina
  2008-02-09  0:25   ` Adrian Bunk
  2008-02-13 22:24 ` [SPAM] " Rafael J. Wysocki
  1 sibling, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2008-02-09  0:05 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Andrew Morton, jdike, Miklos Szeredi, linux-kernel,
	user-mode-linux-devel

On Sat, 9 Feb 2008, Adrian Bunk wrote:

> Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> <-- snip  -->
> ...
>   CC      fs/hostfs/hostfs_kern.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function 'hostfs_show_options':
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1

I guess we need this one?



From: Jiri Kosina <jkosina@suse.cz>

UML: fix hostfs build

We need to include mount.h to get vfsmount.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>

diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index d0549cb..5222345 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -12,6 +12,7 @@
 #include <linux/pagemap.h>
 #include <linux/statfs.h>
 #include <linux/seq_file.h>
+#include <linux/mount.h>
 #include "hostfs.h"
 #include "init.h"
 #include "kern.h"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] uml compile error
  2008-02-09  0:05 ` Jiri Kosina
@ 2008-02-09  0:25   ` Adrian Bunk
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2008-02-09  0:25 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Adrian Bunk, Miklos Szeredi, user-mode-linux-devel, jdike,
	linux-kernel, Andrew Morton

On Sat, Feb 09, 2008 at 01:05:15AM +0100, Jiri Kosina wrote:
> On Sat, 9 Feb 2008, Adrian Bunk wrote:
> 
> > Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> > <-- snip  -->
> > ...
> >   CC      fs/hostfs/hostfs_kern.o
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function 'hostfs_show_options':
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> > make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
> 
> I guess we need this one?
> 
> 
> 
> From: Jiri Kosina <jkosina@suse.cz>
> 
> UML: fix hostfs build
>...

Thanks that fixed it.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* [SPAM] Re: [uml-devel] uml compile error
  2008-02-08 22:32 [uml-devel] uml compile error Adrian Bunk
  2008-02-09  0:05 ` Jiri Kosina
@ 2008-02-13 22:24 ` Rafael J. Wysocki
  2008-02-13 22:28   ` Adrian Bunk
  1 sibling, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2008-02-13 22:24 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: jdike, Miklos Szeredi, linux-kernel, user-mode-linux-devel

On Friday, 8 of February 2008, Adrian Bunk wrote:
> Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> 
> <-- snip  -->
> 
> ...
>   CC      fs/hostfs/hostfs_kern.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
> 
> <--  snip  -->

Has it been fixed in the mainline?

Rafael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] uml compile error
  2008-02-13 22:24 ` [SPAM] " Rafael J. Wysocki
@ 2008-02-13 22:28   ` Adrian Bunk
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2008-02-13 22:28 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: jdike, Miklos Szeredi, linux-kernel, user-mode-linux-devel

On Wed, Feb 13, 2008 at 11:24:31PM +0100, Rafael J. Wysocki wrote:
> On Friday, 8 of February 2008, Adrian Bunk wrote:
> > Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> > 
> > <-- snip  -->
> > 
> > ...
> >   CC      fs/hostfs/hostfs_kern.o
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’:
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> > make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
> > 
> > <--  snip  -->
> 
> Has it been fixed in the mainline?

Yes.

> Rafael

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2008-02-13 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 22:32 [uml-devel] uml compile error Adrian Bunk
2008-02-09  0:05 ` Jiri Kosina
2008-02-09  0:25   ` Adrian Bunk
2008-02-13 22:24 ` [SPAM] " Rafael J. Wysocki
2008-02-13 22:28   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox