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
rpm -qv glibc-kernheaders glibc-kernheaders-2.4-9.1.87
signature.asc
Description: OpenPGP digital signature