Skip to contentSkip to conversation

Newbie questions

DISCUSSION Scott Miller 2 participants 3 messages Jan 19, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

Hi.

I'm trying to build a MIPS kernel (2.4) and I'm stuck.

I'm using the MIPS SDE-lite installed on a linux box, but I don't think I have it configured properly. (I have to define things like -D_MIPS_SZLONG in CPPFLAGS to get it to compile.)

I've gotten it all to compile, but it fails to link at the end with undefined reference to handle_reserved, handle_watch, handle_adel, etc. I assume these are intrinsics in the MIPS libraries, but I can't find them.

Is there a missing step in my configuration, or am I using the wrong tools?

Signature · 2 lines
"Outside of a dog, a book is a mans best friend. Inside of a dog, it's
 too dark to read." - Groucho Marx
#1 lore raw
Quoted 11 lines · Scott Miller

I'm trying to build a MIPS kernel (2.4) and I'm stuck.

I'm using the MIPS SDE-lite installed on a linux box, but I don't think I have it configured properly. (I have to define things like -D_MIPS_SZLONG in CPPFLAGS to get it to compile.)

I've gotten it all to compile, but it fails to link at the end with undefined reference to handle_reserved, handle_watch, handle_adel, etc.
I assume these are intrinsics in the MIPS libraries, but I can't find them.

Is there a missing step in my configuration, or am I using the wrong tools?

You must use a compiler targeted for mips(el)-linux.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw

I'm moving again. Thank you!

Quoted 6 lines · Geert Uytterhoeven
Quoted 1 line · Scott Miller

Is there a missing step in my configuration, or am I using the wrong tools?

You must use a compiler targeted for mips(el)-linux.