Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* going glibc
@ 1996-07-19  4:20 Ben Goodwin
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Goodwin @ 1996-07-19  4:20 UTC (permalink / raw)


I'm going thru the README on azstarnet, and run smack into a problem 
compiling the kernel.  I take a virgin 2.0.7 kernel image, apply the
axp-diffs-2.0.7.gz patch, make config, make dep, then a make boot does the
following:
***********************
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -g 
-O2 -pipe
 -mno-fp-regs  -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/ufs_fs.h:18,
                 from /usr/src/linux/include/linux/ufs_fs_i.h:16,
                 from /usr/src/linux/include/linux/fs.h:228,
                 from /usr/src/linux/include/linux/tty.h:19,
                 from /usr/src/linux/include/linux/sched.h:24,
                 from init/main.c:20:
/usr/src/linux/include/linux/time.h:33: linux/timespecbits.h: No such file or directory
********************
Also missing is linux/namecompat.h, asm/termiobits.h, linux/namecompat.h,
asm/signum.h, then a bunch of warnings/errors (probably due to the missing
header files) ..
What am I missing?
RedHat 3.0.3 installation ..  Kernel running is virgin 2.0.7 - no compile
problems at all on that one.

I also noted that the following line in Makefile doesn't work:
LD      =$(CROSS_COMPILE)ld -warn-multiple-gp
ld complains that -warn-multiple-gp is an unrecognized option.

GCC is 2.7.1, straight from the RH dist - as is everything else on my
system.  
Can someone possibly enlighten me? :)  Thanks!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
:                 Benjamin C. Goodwin - ben@acol.com                      :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: going glibc
       [not found] <Pine.LNX.3.91.960719001451.24876A-100000@acol.com>
@ 1996-07-19  6:06 ` Richard Henderson
  1996-07-20  3:25   ` Ben Goodwin
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 1996-07-19  6:06 UTC (permalink / raw)


Benjamin C. Goodwin wrote:
> I'm going thru the README on azstarnet, and run smack into a problem 
> compiling the kernel.  I take a virgin 2.0.7 kernel image, apply the
> axp-diffs-2.0.7.gz patch, make config, make dep, then a make boot does the
> following:
> ***********************
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -g 
> -O2 -pipe
>  -mno-fp-regs  -c -o init/main.o init/main.c
> In file included from /usr/src/linux/include/linux/ufs_fs.h:18,
>                  from /usr/src/linux/include/linux/ufs_fs_i.h:16,
>                  from /usr/src/linux/include/linux/fs.h:228,
>                  from /usr/src/linux/include/linux/tty.h:19,
>                  from /usr/src/linux/include/linux/sched.h:24,
>                  from init/main.c:20:
> /usr/src/linux/include/linux/time.h:33: linux/timespecbits.h:
> No such file or directory

Odd.  I can't reproduce that.  The only difference in our process
is that I start with the linux 2.0.0 tarball and patch up en masse.

All I can say is: are your sources really virginal or have they been
slipping out the bedroom window at night to make out in the woods?

Here are my md5sum's (though only the last will likely be useful for you):

e693cf603bc6dcb5970bee83c5b464df  linux-2.0.tar.gz
81bc8e5fac1dc8f5d8a027d0e44d3f14  patch-2.0.1.gz
e85ab34cb30b3e046fa4808ccaaaeae6  patch-2.0.2.gz
79fd244a2e5bf8413f42c16c63d2f1c7  patch-2.0.3.gz
ebb6650f448cbc5a781939c30ee48e54  patch-2.0.4.gz
f827e00dcc154854396ca0496c0823ce  patch-2.0.5.gz
48a30182945e41a2c047b7d531c7b2d4  patch-2.0.6.gz
20ab9bc719267860baf705f17183f523  patch-2.0.7.gz
84e1d687f882f38ba76dd8f8f4a207b5  axp-diffs-2.0.7.gz

> I also noted that the following line in Makefile doesn't work:
> LD      =$(CROSS_COMPILE)ld -warn-multiple-gp
> ld complains that -warn-multiple-gp is an unrecognized option.

That is an option in binutils 2.7.  Just comment it out for now.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: going glibc
@ 1996-07-19 19:45 David Mosberger-Tang
  0 siblings, 0 replies; 4+ messages in thread
From: David Mosberger-Tang @ 1996-07-19 19:45 UTC (permalink / raw)


>>>>> On Fri, 19 Jul 1996 00:20:27 -0400 (EDT), Ben Goodwin <ben@acol.com> said:

  Ben> I'm going thru the README on azstarnet, and run smack into a
  Ben> problem compiling the kernel.  I take a virgin 2.0.7 kernel
  Ben> image, apply the axp-diffs-2.0.7.gz patch, make config, make
  Ben> dep, then a make boot does the following:

Are you certain the patch applied cleanly?  The best way is to cd
into the root directory of the kernel sources, then do
"zcat patchfile.gz | patch -p1".  The timespecbits.h file should
be there.  This is from axp-diffs-2.0.7.gz:

diff -urN 386/include/linux/timespecbits.h linux/include/linux/timespecbits.h
--- 386/include/linux/timespecbits.h	Wed Dec 31 17:00:00 1969
+++ linux/include/linux/timespecbits.h	Fri Jun 14 10:48:02 1996
@@ -0,0 +1,14 @@
+#ifndef _LINUX_TIMESPECBITS_H
+#define _LINUX_TIMESPECBITS_H
+
+struct timespec {
+	long	tv_sec;		/* seconds */
+	long	tv_nsec;	/* nanoseconds */
+};
+
+struct  itimerspec {
+        struct  timespec it_interval;    /* timer period */
+        struct  timespec it_value;       /* timer expiration */
+};
+
+#endif /* _LINUX_TIMESPECBITS_H */

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: going glibc
  1996-07-19  6:06 ` Richard Henderson
@ 1996-07-20  3:25   ` Ben Goodwin
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Goodwin @ 1996-07-20  3:25 UTC (permalink / raw)


On Fri, 19 Jul 1996, Richard Henderson wrote:

> Odd.  I can't reproduce that.  The only difference in our process
> is that I start with the linux 2.0.0 tarball and patch up en masse.

Actually I found that the patches stuck some stuff in /usr/src/386 ..
so I just copied the header files to the proper dirs and voila, all was 
well and I'm now running 2.0.7-axp kernel.  Perhaps I'll make a symlink :)

Next, gcc and gas .. woo woo

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
:                 Benjamin C. Goodwin - ben@acol.com                      :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-07-20  3:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-19  4:20 going glibc Ben Goodwin
     [not found] <Pine.LNX.3.91.960719001451.24876A-100000@acol.com>
1996-07-19  6:06 ` Richard Henderson
1996-07-20  3:25   ` Ben Goodwin
  -- strict thread matches above, loose matches on Subject: below --
1996-07-19 19:45 David Mosberger-Tang

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