linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RTAI+ELDK Compile Problems
@ 2005-02-08 11:09 Björn Östby
  2005-02-08 11:35 ` Re : " grave
  2005-02-08 21:58 ` Andrew Dennison
  0 siblings, 2 replies; 3+ messages in thread
From: Björn Östby @ 2005-02-08 11:09 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

I've got a major problem trying to compile RTAI using the ELDK cross compiler.
I'm using ELDK version 3.1, and my target is ppc_8xx (823). I have followed the instructions given at ftp://ftp.denx.de/pub/RTAI/24.1.12/README.install, using the
linuxppc_2_4_devel kernel (2004_04_30_1320) and rtai-24.1.12-denx. 

Now, the rtai patch works fine, and the kernel compiles, but when I try to compile rtai
The following error occurs:

/opt/eldk-3.1/ppc_8xx/usr/src/rtai-24.1.12/include/asm/rtai_srq.h: 
In function `rtai_srq':
/opt/eldk-3.1/ppc_8xx/usr/src/rtai-24.1.12/include/asm/rtai_srq.h:32: 
error: asm-specifier for variable `__sc_3' conflicts with asm clobber list

I have also tried other versions of rtai (3.0 and 3.1) but these give the same result.

I may also mention that when trying to compile any kernel except the one shipped with eldk and ppc_devel label_2004_04_30_1320, similar errors occur:

compile example from ppc_2_4_devel (label_2003_10_11_0005) 
using "make ARCH=ppc CROSS_COMPILE=ppc_8xx- uImage"

/opt/eldk-3.1/ppc_8xx/usr/src/linuxppc_2_4_devel/include/asm/unistd.h: In function `init':
/opt/eldk-3.1/ppc_8xx/usr/src/linuxppc_2_4_devel/include/asm/unistd.h:439: error: asm-specifier for variable `__sc_4' conflicts with asm clobber list

I have exported the CROSS_COMPILE variable and added the eldk-3.1/usr/bin and eldk-3.1/bin
directories to the path.

Can anyone tell me what's going on here or, better yet, how to solve it?.


Best regards,
Bjorn Ostby



[-- Attachment #2: Type: text/html, Size: 2959 bytes --]

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

end of thread, other threads:[~2005-02-08 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-08 11:09 RTAI+ELDK Compile Problems Björn Östby
2005-02-08 11:35 ` Re : " grave
2005-02-08 21:58 ` Andrew Dennison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).