From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <053a4bfe7a7903fe7225a2ec1cc86c64.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199611232231.PAA01836@panda.mosberger> Date: Sat, 23 Nov 1996 15:31:46 -0700 From: David Mosberger-Tang Subject: Re: Compiling 2.1.13 >>>>> On Sat, 23 Nov 1996 17:21:59 -0500 (EST), Vik Bajaj said: Vik> | That may be the problem. | | I started with RH3.0.3, and Vik> have built my own ELF stuff since. | However, header files for Vik> the kernel are supposed to be self-contained. | If you have RH Vik> 4.0, you may have paid for it, so I suppose you should | ask Vik> EWT or someone at RedHAT*. Vik> I have exactly the same problem. My understanding is that Vik> 2.1.13 should compile simply by setting arch=alpha in the Vik> Makefile; unfortunately, it reports various missing header Vik> files even on a make menuconfig. This is because on most distributions /usr/include/asm and /usr/include/linux are symlinks to the corresponding directories in /usr/src/linux. So both are right: the kernel _is_ self-contained, yet it fails to build on top of RH4.0 or any other distribution built against the early glibc. The solution is easy though: replace the symlinks with the actual contents of the relevant directories. Something like: $ su # become root $ rm /usr/include/linux /usr/include/asm $ cp -a /usr/src/linux/linux /usr/include $ cp -a /usr/src/linux/asm-alpha /usr/include should work (but I didn't try the above commands, so don't follow blindly...). Another option would be to upgrade to the most recent glibc snapshot, but I'm not sure to what degree this is recommended (unless you're a hacker). Richard? --david -- 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