Skip to contentSkip to conversation

Error Compiling Embedded 860

DISCUSSION Arturo Nunez 3 participants 3 messages Mar 13, 2001 – Mar 14, 2001

lore
Share & tools
lore
#0 lore raw

Hello:
I have already installed :

- binutils-2.10.91.0.4
- gcc-2.95.2
- linuxppc_2_4 (from Bitkeeper)

But when I try to compile the Kernel for a
- 8xx Processor Type ( I have a 860)
Doesnt compile ..
The error I may see is:
-realpath(../8xx_io) failed, No such file or directory Ok Seems to be that doesnt fin the File... But I already have.. Any Idea about the Problem ??

Regards

Arturo Nunez

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 8 lines · In message <[email protected]> you wrote:

But when I try to compile the Kernel for a
- 8xx Processor Type ( I have a 860)
Doesnt compile ..
The error I may see is:
-realpath(../8xx_io) failed, No such file or directory Ok Seems to be that doesnt fin the File... But I already have.. Any Idea about the Problem ??

You can fix that easily:

arch/ppc/Makefile renamed from arch/ppc/Makefile.ORIG +1 -1
@@ -31,7 +31,7 @@
 endif
 
 ifdef CONFIG_8xx
-CFLAGS := $(CFLAGS) -mcpu=860 -I../8xx_io
+CFLAGS := $(CFLAGS) -mcpu=860 -I$(TOPDIR)/arch/ppc/8xx_io
 endif
 
 ifdef CONFIG_PPC64BRIDGE

Hope this helps,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Calm down, it's *__only* ones and zeroes.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 1 line · Wolfgang Denk

You can fix that easily:

I'm moving those damn files into asm-ppc, where I should have put them in the first place. I'll do this as part of 2.5.....

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/