I figured it out. It's these at the end of ./config/i386/Linux/stubs.list: +history +readline +sys_shm +sys_sem +checker_api They are not found and it causes that particular instance of gen-stubs to crash. I changed gen-stubs.c so it dies more nicely: *** stubs/gen-stubs.c.orig Thu Jul 9 11:54:25 1998 --- stubs/gen-stubs.c Thu Jul 9 11:54:25 1998 *************** *** 320,329 **** --- 320,341 ---- { *funcname++ = 0; l = search_function (funcname, buffer); + if (l == NULL) + { + fprintf(stderr, "\"%s\" function not found\n", funcname); + error = 1; + continue; + } } else { l = search_function (buffer, NULL); + if (l == NULL) + { + fprintf(stderr, "\"%s\" function not found\n", buffer); + error = 1; + continue; + } if (l->flags & LIST_MULTIPLY) { fprintf (stderr, Thanks.