All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] 2.6.16-rc1-um20060118 tls compile problem
@ 2006-01-19  1:46 William Stearns
  2006-01-19  4:13 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: William Stearns @ 2006-01-19  1:46 UTC (permalink / raw)
  To: Jeff Dike, ML-uml-devel; +Cc: William Stearns

Good evening, Jeff,
 	This is with your quilt set from today.

   CC      arch/um/os-Linux/tls.o
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'
arch/um/os-Linux/tls.c:48: warning: function declaration isn't a prototype
arch/um/os-Linux/tls.c:48: warning: data definition has no type or storage 
class
arch/um/os-Linux/tls.c:49: error: syntax error before 'set_thread_area'
arch/um/os-Linux/tls.c:49: warning: type defaults to 'int' in declaration 
of '_syscall1'
arch/um/os-Linux/tls.c:49: warning: function declaration isn't a prototype
arch/um/os-Linux/tls.c:49: warning: data definition has no type or storage 
class
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
arch/um/os-Linux/tls.c: In function 'do_set_thread_area_tt':
arch/um/os-Linux/tls.c:55: warning: implicit declaration of function 
'set_thread_area'
arch/um/os-Linux/tls.c: At top level:
arch/um/os-Linux/tls.c:62: warning: 'struct modify_ldt_t' declared inside 
parameter list
arch/um/os-Linux/tls.c: In function 'do_get_thread_area_tt':
arch/um/os-Linux/tls.c:66: warning: implicit declaration of function 
'get_thread_area'
make[1]: *** [arch/um/os-Linux/tls.o] Error 1
make: *** [arch/um/os-Linux] Error 2


[root@sparrow ~]# rpm -q gcc glibc-devel glibc-kernheaders
gcc-4.0.2-8.fc4
glibc-devel-2.3.5-10.3
glibc-kernheaders-2.4-9.1.94

 	Please let me know if there's more I can provide or try.  Thanks 
for all your work on this.
 	Cheers,
 	- Bill

---------------------------------------------------------------------------
Do you smoke after sex?
Why, do you know, I've never looked!
(Courtesy of Matthias Urlichs <smurf@noris.de>)
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com).  Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at:   http://www.stearns.org
--------------------------------------------------------------------------


-------------------------------------------------------
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-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] 3+ messages in thread

* Re: [uml-devel] 2.6.16-rc1-um20060118 tls compile problem
  2006-01-19  1:46 [uml-devel] 2.6.16-rc1-um20060118 tls compile problem William Stearns
@ 2006-01-19  4:13 ` Jeff Dike
  2006-01-20  3:00   ` William Stearns
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2006-01-19  4:13 UTC (permalink / raw)
  To: William Stearns; +Cc: ML-uml-devel

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"



> 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.

				Jeff


-------------------------------------------------------
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-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] 3+ messages in thread

* Re: [uml-devel] 2.6.16-rc1-um20060118 tls compile problem
  2006-01-19  4:13 ` Jeff Dike
@ 2006-01-20  3:00   ` William Stearns
  0 siblings, 0 replies; 3+ messages in thread
From: William Stearns @ 2006-01-20  3:00 UTC (permalink / raw)
  To: Jeff Dike; +Cc: ML-uml-devel

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 <rct@merkin.csap.af.mil>)
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com).  Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at:   http://www.stearns.org
--------------------------------------------------------------------------


-------------------------------------------------------
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-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] 3+ messages in thread

end of thread, other threads:[~2006-01-20  3:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19  1:46 [uml-devel] 2.6.16-rc1-um20060118 tls compile problem William Stearns
2006-01-19  4:13 ` Jeff Dike
2006-01-20  3:00   ` William Stearns

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.