On Wednesday 18 January 2006 21:43, D. Bahi wrote: > Blaisorblade wrote: > > On Wednesday 18 January 2006 20:05, D. Bahi wrote:
> >> 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 > >> > >> both those lines look like this: > >> ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number, > >> (unsigned long) info); > > Replace occurrences of "struct user_desc" with "struct modify_ldt_ldt_s". > > It's the type of "info" in those lines. > super - this does the trick - thank you. > > You have 2.4 kernel headers in your distro, right? We'll need to care to > > that. I'm doing it now, even if I don't like the way. > > host is "Red Hat Enterprise Linux AS release 4 (Nahant)" kernel - not > up2date... so yes sir RHEL 4 is not the one with only kernel 2.6? What the hell happened there? > rpm -qv glibc-kernheaders > glibc-kernheaders-2.4-9.1.87 So old? Strange... are you sure that one is a RHEL 4? I mean, they use only 2.6 kernels and build NPTL glibc, how can those header work? -- 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