From: William S. <wst...@po...> - 2006-01-20 03:01:26
|
Good evening, Jeff, On Wed, 18 Jan 2006, Jeff Dike wrote: > On Wed, Jan 18, 2006 at 08:46:07PM -0500, William Stearns wrote: >> arch/um/os-Linux/tls.c:48: error: syntax error before 'get_thread_area' >> arch/um/os-Linux/tls.c:48: warning: type defaults to 'int' in declaration >> of '_syscall1' > > Can you try this patch for this one? > > Index: linux-2.6.15/arch/um/os-Linux/tls.c > =================================================================== > --- linux-2.6.15.orig/arch/um/os-Linux/tls.c 2006-01-18 13:40:01.000000000 -0500 > +++ linux-2.6.15/arch/um/os-Linux/tls.c 2006-01-18 22:18:57.000000000 -0500 > @@ -1,5 +1,6 @@ > #include <errno.h> > #include <sys/ptrace.h> > +#include <linux/unistd.h> > #include <asm/ldt.h> > #include "uml-config.h" That patch helped. >> arch/um/os-Linux/tls.c:51: warning: 'struct modify_ldt_t' declared inside >> parameter list >> arch/um/os-Linux/tls.c:51: warning: its scope is only this definition or >> declaration, which is probably not what you want > > For these, try backing out the user-desc patch. You may one of those > primitive beings who lacks a modify_ldt_t in your asm/ldt.h. Actually I don't need to revert this one; after reverting the compile fails. Leaving it in works. The compile finishes. Thanks again for your help, Jeff and Blaisor. Cheers, - Bill --------------------------------------------------------------------------- "Microsoft's biggest and most dangerous contribution to the software industry may be the degree to which it has lowered user expectations." -- Esther Schindler, OS/2 Magazine (Courtesy of Bob Tracy - TDS <rc...@me...>) -------------------------------------------------------------------------- William Stearns (wst...@po...). Mason, Buildkernel, freedups, p0f, rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org -------------------------------------------------------------------------- |