I could update that code to handle recent 2.6.xx kernels, but I'd rather rip it out entirely. I suppose the code might be useful for the guy who does the Cygwin (Windows!!!) port, and there might be a person running a.out binaries.
My first suspicion is that you are using a broken libc. There have been some non-glibc ones that messed up the stack prior to calling main. The ELF notes were thus unavailable, causing procps to use the obsolete code that you see failing. My second suspicion is that you aren't using ELF. Might you also lack an MMU? If so you must be in considerable pain, as ps likes to mmap() a huge chunk of memory for the output buffer. ELF is the norm for 2.6.xx kernels. You might prefer the minimal.c version that can be found in the procps source package. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]