From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5d9453fcd0957910f9179b2174d93ba3.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701070405.WAA25904@alpha2.csd.uwm.edu> Date: Mon, 06 Jan 1997 23:36:42 -0500 From: Yash Khemani Subject: again: compiling glibc/kernel hi, this is a recap of my current state in trying to compile glibc 1.99/kernel 2.0.27 on my udb running rhl/axp v4.0. i'm trying to compile kernel v2.0.27 (fetched from sunsite.unc.edu) in order to make use of features not included in the kernel accompanying the rhl/axp v4.0 distribution. as i understand the issue, glibc is required for compiling the kernel. i fetched glibc v1.99 along with glibc-crypt and glibc-linuxthreads from ftp.redhat.com and placed the latter two in the glibc directory. i then proceded to do a: ./configure --enable-add-ons=des-crypt,linuxthreads --disable sanity checks in the glibc src dir. i had to disable sanity checks even though it did not complain as it might if you exclude "--enable-add-ons=des-crypt,linuxthreads" i've tried it with and without... btw, i checked to make sure that /usr/src/linux/include/asm points to asm-alpha in the same directory. while doing make, i get the following error when it is in the sunrpc directory. LD_LIBRARY_PATH=..:../elf:../nss ../elf/ld.so.1 ./rpcgen -c rpcsvc/bootparam.x -o xbootparam.cT ld.so.1: memory violation at pc=00004cf4 rp=000044d4 (bad address = 00000000) make: *** [xbootparam.c] Segmentation fault i get the same error if i do make in the sunrpc directory. then, i changed the Makeconfig in the glibc main directory as per instructions of shirsch@ibm.net: > I have > the same problem here. In frustration, I hacked Makeconfig so that it > doesn't try to directly execute the loader. Try the patch attached. see his Makeconfig.diff in previous axp-list mailing. that gets past make trying to run ld.so.1. but now there are problems running the rpcgen and rpcinfo just compiled in the sunrpc directory. the file exists, and is chmod 755, but when you run it, it says "Command not found." make fails doing: LD_LIBRARY_PATH=..:../elf:../nss ./rpcgen -c rpcsvc/bootparam.x -o bootparam.xT it says: /bin/sh: ./rpcgen: No such file or directory make: *** [xbootparam.c] Error 126 if i do a /usr/bin/rpcgen -c rpcsvc/bootparam.x -o bootparam.xT it works. so there seems to be a problem compiling rpcgen. any help on how to resolve this would be sincerely appreciated! thanks! yash -- +-------------------------------------------------------------------+ | Yash L. Khemani | E-Mail: khemani@plexstar.com | | Plexstar, Inc., Reston, VA | WWW: http://www.plexstar.com | +-------------------------------------------------------------------+ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com