Skip to contentSkip to conversation

Compiling kernel on HardHat

DISCUSSION Takeshi Hakamada 2 participants 4 messages Aug 6, 1998 – Aug 10, 1998 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

I have installed HardHat on R5000 Indy and it is very cool. Installation procedure becomes much easier than previous release. I admire all your effort to port Linux for SGI system.

I tried to compile kernel on HardHat using RPM kernel(2.1.100) source, I can't build kernel due to following error.
In arch/mips/sgi/kernel/setup.c,

setup.c:18: asm/vector.h: No such file or directory

Error message shows that I need to have include/asm/vector.h. How can I get vector.h? Do I have to get latest kernel source from ftp.linux.sgi.com?

Cheers,
Takeshi

--
Takeshi Hakamada
Nihon Silicon Graphics
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300

#1 lore raw
Quoted 5 lines · Takeshi Hakamada

I tried to compile kernel on HardHat using RPM kernel(2.1.100) source, I can't build kernel due to following error.
In arch/mips/sgi/kernel/setup.c,

setup.c:18: asm/vector.h: No such file or directory

that's already fixed in the CVS repository. You just have to remove the #include in setup.c.

Quoted 3 lines

Error message shows that I need to have include/asm/vector.h. How can I get vector.h? Do I have to get latest kernel source from ftp.linux.sgi.com?

As this should be the only change, you don't need to.

Thomas.

Signature · 3 lines
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <[email protected]>]
#2 lore raw

Hi Thomas,

Thanks for your help. I'll try to remove #include in setup.c and build kernel tonight.

Cheers,
Takeshi

From: Thomas Bogendoerfer <[email protected]>
Message-ID: <[email protected]>

Quoted 22 lines · Takeshi Hakamada
Quoted 5 lines

I tried to compile kernel on HardHat using RPM kernel(2.1.100) source, I can't build kernel due to following error.
In arch/mips/sgi/kernel/setup.c,

setup.c:18: asm/vector.h: No such file or directory

that's already fixed in the CVS repository. You just have to remove the #include in setup.c.

Quoted 3 lines

Error message shows that I need to have include/asm/vector.h. How can I get vector.h? Do I have to get latest kernel source from ftp.linux.sgi.com?

As this should be the only change, you don't need to.

Thomas.

Signature · 3 lines
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <[email protected]>]
#3 lore raw
In reply to Thomas Bogendoerfer

I can successfully compile kernel after removing #include.

BTW, I brought SGI Linux Indy to TLUG(Tokyo Linux Users Group, mainly consists of English speaking people who lives in Japan) meeting and show them HardHat. They are very interested in SGI Linux project.

Cheers,
Takeshi

From: Thomas Bogendoerfer <[email protected]>
Message-ID: <[email protected]>

Quoted 10 lines · Takeshi Hakamada
Quoted 5 lines

I tried to compile kernel on HardHat using RPM kernel(2.1.100) source, I can't build kernel due to following error.
In arch/mips/sgi/kernel/setup.c,

setup.c:18: asm/vector.h: No such file or directory

that's already fixed in the CVS repository. You just have to remove the #include in setup.c.

Quoted 12 lines
Quoted 3 lines

Error message shows that I need to have include/asm/vector.h. How can I get vector.h? Do I have to get latest kernel source from ftp.linux.sgi.com?

As this should be the only change, you don't need to.

Thomas.

Signature · 3 lines
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <[email protected]>]

--
Takeshi Hakamada
Nihon Silicon Graphics
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Phone: +81-45-682-3712, Fax: +81-45-682-0856
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300