Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Compiling new kernel...
@ 1996-11-03 21:29 Rob Allen
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Allen @ 1996-11-03 21:29 UTC (permalink / raw)


I am trying to compile a new kernel (2.0.23) on a new Alpha (PC164) machine
that I just received, and I am having big time problems... I am very
familiar with compiling on x86, so I am trying to do the same here. The
first thing I did was to make sure the links in /usr/include were set
properly, this is what I did in /usr/include:

ln -s /usr/src/linux/include/asm-alpha asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi

I, obviously, unpacked the kernel in /usr/src. I then found a file called
axp-diffs-2.0.21 and ran patch on it like this (from /usr/src):

cat axp-diffs-2.0.21 | patch -p0

It appeared to update various files and added new *.h files in
/usr/src/linux. I then ran `make config`, and configured the kernel the way
I need it. Here is where I really started guessing! I am used to running at
this time `make dep | make clean` and then `make zImage`. `make dep` and
`make clean` seem to run fine, but then it says there is no target for
`make zImage`. So I started looking through the Makefile, and found boot &
vmlinux. I tried them both, but the kernel would never compile properly. So
before I start asking about specific problems with the kernel compile
errors, I thought I would see if I am even following the right procedures
here...????

If you are needing more info on my system PLEASE let me know.

Thanks,
-Rob

+--------------------------------------------------------------------+
|     _/     _/ _/_/_/_/_/  _/_/_/_/      Rob Allen                  |
|    _/_/   _/     _/     _/              Internet Administrator     |
|   _/ _/  _/     _/       _/_/_/         NTS Communications, Inc.   |
|  _/   _/_/     _/             _/        (806) 762-4565 ext. 4110   |
| _/     _/     _/       _/_/_/_/         E-Mail: roba@ntscom.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

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

* Re: Compiling new kernel...
       [not found] <3.0b36.32.19961103152916.00694844@ntscom.com>
@ 1996-11-03 22:32 ` Marc Singer
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Singer @ 1996-11-03 22:32 UTC (permalink / raw)


> I am trying to compile a new kernel (2.0.23) on a new Alpha (PC164) machine
> that I just received, and I am having big time problems... 

[deletia]

Funny you should ask.  I just started doing this today and found a few snags.

I'm compiling 2.0.24 (it has the big ping patch).  I took the stock
386 sources and generated the /usr/src/linux source tree.  Then ,I
applied the axp-diffs-2.0.21.gz patch.  The trouble with it is that it
puts new include files in a 386 directory.  The trick here is to patch
this way.

  cd /usr/src/linux
  zcat axp-diffs-2.0.21.gz | patch -p1 >& patchlog

Note that we patch from within the linux source directory. If you
don't do this, you will need to move the files from the /usr/src/386
tree into the /usr/src/linux tree.

I'm not done compiling, but I suspect this will get you closer to the
final solution.

-- Marc Singer

--
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

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

end of thread, other threads:[~1996-11-03 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3.0b36.32.19961103152916.00694844@ntscom.com>
1996-11-03 22:32 ` Compiling new kernel Marc Singer
1996-11-03 21:29 Rob Allen

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