Now it compiles.
Btw.. make clean says:
scripts/Makefile.clean:17:
/usr/src/um/linux-2.6.16-rc2/fs/hostfs/Makefile: No such file or directory
make[2]: *** No rule to make target
`/usr/src/um/linux-2.6.16-rc2/fs/hostfs/Makefile'. Stop.
make[1]: *** [fs/hostfs] Error 2
make: *** [_clean_fs] Error 2
// Joel
On Thu, 9 Feb 2006, Blaisorblade wrote:
On Wednesday 08 February 2006 23:30, Joel Palmius wrote:
Well, after I updated I got another compile error at the same place:
CC arch/um/os-Linux/start_up.o
CC arch/um/os-Linux/time.o
CC arch/um/os-Linux/tls.o
arch/um/os-Linux/tls.c: In function `os_set_thread_area':
arch/um/os-Linux/tls.c:22: error: dereferencing pointer to incomplete type
arch/um/os-Linux/tls.c: In function `os_get_thread_area':
arch/um/os-Linux/tls.c:36: error: dereferencing pointer to incomplete type
make[1]: *** [arch/um/os-Linux/tls.o] Error 1
make: *** [arch/um/os-Linux] Error 2
This is not the same as the user_desc stuff, right?
Most likely yes. In those two lines the code is using the variables declared
as "struct user_desc *" or "struct modify_ldt_ldt_s *" (depending on whether
you applied or not "user-desc" from the series).
Since you use Gentoo like me, omit the "user-desc" patch. If it still doesn't
work, let us know.
==============
*Jeff*, a side note: in
http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.16-rc2/patches/user-desc
these two prototypes have no chance of compiling if you don't add "struct"
before "modify_ldt_ldt_s" - enable CONFIG_MODE_TT to see this.
-int do_set_thread_area_tt(struct user_desc *info)
+int do_set_thread_area_tt(modify_ldt_ldt_s *info)
{
int ret;
@@ -59,7 +59,7 @@ int do_set_thread_area_tt(struct user_de
return ret;
}
-int do_get_thread_area_tt(struct user_desc *info)
+int do_get_thread_area_tt(modify_ldt_ldt_s *info)
{
int ret;
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user