I added the include for <linux/compiler.h> to linux-2.6.14.3/include/asm-s390/sigcontext.h and that did resolve the undefined errors. Do you think we can get that fix sent upstream?
Thanks, Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Peter 1 Oberparleiter Sent: Wednesday, January 11, 2006 8:15 AM To: [email protected] Subject: Re: glibc compilation error Mark Post <[EMAIL PROTECTED]> wrote on 11.01.2006 08:09:58: > I'm trying to compile glibc 2.3.6 using linux 2.6.14.3 headers. I'm getting > this error: [...] > Apparently, __user isn't being defined anywhere in the chain of header files > being pulled in. Does anyone know where it _should_ be defined, and > how ../nptl/sysdeps/s390/tcb-offsets.sym should be modified to include > that file? I recently came across a possibly related bug report on the SUSE bugzilla database that suggested that "asm/sigcontext.h" is missing an "#include <linux/compiler.h>" statement which leads to "__user" being undefined. Maybe try adding that statement to the file and retry. Regards, Peter Oberparleiter ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
