Skip to contentSkip to conversation

uml compile error

DISCUSSION Adrian Bunk 4 participants 5 messages Feb 8, 2008 – Feb 13, 2008 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

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

Signature · 14 lines
       "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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 7 lines · Adrian Bunk

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 <[email protected]>

UML: fix hostfs build

We need to include mount.h to get vfsmount.

fs/hostfs/hostfs_kern.c +1 -0
index d0549cb..5222345 100644
@@ -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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 10 lines · Jiri Kosina
Quoted 7 lines · Adrian Bunk

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

Quoted 8 lines

I guess we need this one?

From: Jiri Kosina <[email protected]>

UML: fix hostfs build
...

Thanks that fixed it.

cu
Adrian

Signature · 4 lines
       "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
#3 lore raw
In reply to Adrian Bunk
Quoted 11 lines · Adrian Bunk

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

#4 lore raw
Quoted 11 lines · Rafael J. Wysocki
Quoted 10 lines · Adrian Bunk

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

Quoted 3 lines
Quoted 1 line

<-- snip -->

Has it been fixed in the mainline?

Yes.

Quoted 1 line

Rafael

cu
Adrian

Signature · 14 lines
       "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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel