Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Yash Khemani <khemani@plexstar.com>
Subject: again: compiling glibc/kernel
Date: Mon, 06 Jan 1997 23:36:42 -0500	[thread overview]
Message-ID: <5d9453fcd0957910f9179b2174d93ba3.axp-list@archive.invalid> (raw)

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

             reply	other threads:[~1997-01-07  4:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-07  4:36 Yash Khemani [this message]
     [not found] <32D1D2DA.2AE@plexstar.com>
1997-01-07 15:46 ` again: compiling glibc/kernel Daniel Gruner
1997-01-07 17:39 ` Philip Blundell
  -- strict thread matches above, loose matches on Subject: below --
1997-01-08  0:57 Steven N. Hirsch
     [not found] <32D2F0FF.43D02E13@ibm.net>
1997-01-08 15:36 ` Philip Blundell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox