Skip to contentSkip to conversation

kernel compilation problem

DISCUSSION Charles Lepple 3 participants 3 messages Apr 15, 1999 MIPS

lore
Share & tools
lore
#0 lore raw

While configuring the kernel (2.2.5 from ftp.kernel.org), I get the following message:

Sound card support (CONFIG_SOUND) [N/y/m/?]

Quoted 1 line

scripts/Configure: drivers/sgi/char/Config.in: No such file or

directory
*
* Kernel hacking

Then, while executing 'make dep', I see a bunch of messages about 'SOCK_DGRAM' being redefined.

And when I try 'make zImage', it bombs compiling init/main.c -- there's a "parse error" in linux/sched.h, and lots of stuff breaks. I have the compile log if anyone can decipher it, but is this just a simple case of me overlooking a patch? Or where can I find a preconfigured kernel source tree?

Thanks in advance,

--
Charles Lepple
System Administrator, Virginia Tech EE Workstation Labs [email protected] || http://www.foo.tho.org/charles/

#1 lore raw
Quoted 8 lines · Charles Lepple

Then, while executing 'make dep', I see a bunch of messages about 'SOCK_DGRAM' being redefined.

And when I try 'make zImage', it bombs compiling init/main.c -- there's a "parse error" in linux/sched.h, and lots of stuff breaks. I have the compile log if anyone can decipher it, but is this just a simple case of me overlooking a patch? Or where can I find a preconfigured kernel source tree?

Get the kernel from {ftp,www}.linux.sgi.com.

Ralf

#2 lore raw
In reply to Charles Lepple

Hi,

Quoted 2 lines · Charles Lepple

While configuring the kernel (2.2.5 from ftp.kernel.org), I get the following message:

You have to get the kernel from cvs:

export CVSROOT=":pserver:[email protected]:/cvs" cvs login (cvs as password)
cvs -z3 checkout linux

The config is a little tricky. Look at ftp.linux.sgi.com/pub/linux/mips/test/vmlinux-indy-990212.conf as example

Quoted 1 line

And when I try 'make zImage', it bombs compiling init/main.c

"make zImage" doesn't work. Try "make vmlinux".

Matthias

Signature · 7 lines
Matthias Kleinschmidt
Cedar Dell 568B, Box 5398
UMass Dartmouth
285 Old Westport Rd.
North Dartmouth, MA 02747
Tel.:  +1 508 910 6851
email: [email protected]