<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>Hi,</FONT></DIV>
<DIV><FONT face=Verdana size=2>        I'm 
new to both Makefiles and RTEMS. I found the documentation on RTEMS site very 
helpful. I followed the steps, though had some glitches in btw.</FONT></DIV>
<DIV><FONT face=Verdana size=2>1) While installing the m68k-gdb, got a failed 
dependency, libncurses.so.4. I had libncurses.so.5 and forced the installation 
using --nodeps. </FONT></DIV>
<DIV><FONT face=Verdana size=2>2) The listing of /opt/rtems/bin after the rpm 
installations was missing the c preprocessor, m68k-rtems-cpp. </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>3) The confgure command,</FONT></DIV>
<DIV>../rtems-ss-20021007/configure --target=m68k-rtems --enable-rtemsbsp=efi332 
\<BR>--disable-itron --enable-cxx --enable-tests --enable-docs 
--enable-networking<BR></DIV>
<DIV><FONT face=Verdana size=2>Went alright, but make produced the following 
output:( relevant parts only)</FONT></DIV>
<DIV><FONT face=Verdana size=2><FONT face="Times New Roman" 
size=3></FONT></FONT> </DIV>
<DIV><FONT face=Verdana size=2><FONT face="Times New Roman" size=3>Making all in 
cpu</FONT><BR><FONT face="Times New Roman" size=3>gmake[5]: Entering directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332/exec/score/cpu'<BR>Making all in 
m68k<BR>gmake[6]: Entering directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332/exec/score/cpu/m68k'mkdir 
o-optimize<BR>gcc --pipe -isystem 
../../../../../.././efi332/lib/include          
-O4 -fomit-frame-pointer<BR>-g -Wall -mcpu32  -o o-optimize/cpu.o -c 
../../../../../../../../rtems-ss-20021007/c/src/../../cpukit/score/cpu/m68k/cpu.c<BR>In 
file included from 
../../../../../../efi332/lib/include/rtems/score/cpu.h:23,<BR>                 
from 
../../../../../../efi332/lib/include/rtems/system.h:138,<BR>                 
from 
../../../../../../../../rtems-ss-20021007/c/src/../../cpukit/score/cpu/m68k/cpu.c:14:<BR>../../../../../../efi332/lib/include/rtems/score/m68k.h:228:2: 
#error "Unsupported CPU model<BR>-- are you sure you're running a 68k 
compiler?"<BR>cc1: Invalid option 
`cpu32'<BR>../../../../../../../../rtems-ss-20021007/c/src/../../cpukit/score/cpu/m68k/cpu.c: 
In function 
`_CPU_ISR_install_raw_handler':<BR>../../../../../../../../rtems-ss-20021007/c/src/../../cpukit/score/cpu/m68k/cpu.c:110: 
warning: assignment makes pointer from integer without a cast<BR>{standard 
input}: Assembler messages:<BR>{standard input}:344: Error: invalid character 
'.' in mnemonic<BR>gmake[6]: *** [o-optimize/cpu.o] Error 1<BR>gmake[6]: Leaving 
directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332/exec/score/cpu/m68k'<BR>gmake[5]: 
*** [all-recursive] Error 1<BR>gmake[5]: Leaving directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332/exec/score/cpu'<BR>gmake[4]: *** 
[all-recursive] Error 1<BR>gmake[4]: Leaving directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332/exec/score'<BR>gmake[3]: *** 
[all-recursive] Error 1<BR>gmake[3]: Leaving directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332/exec'<BR>gmake[2]: *** 
[all-recursive] Error 1<BR>gmake[2]: Leaving directory 
`/root/rtems/build_m68k/m68k-rtems/c/efi332'<BR>gmake[1]: *** [all-recursive] 
Error 1<BR>gmake[1]: Leaving directory 
`/root/rtems/build_m68k/m68k-rtems/c'<BR>make: *** [all-recursive] Error 
1</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I had exported /opt/rtems/bin in PATH, but why 
the script still  complaining abt a 68k compiler?</FONT></DIV>
<DIV><FONT face=Verdana size=2>Is the missing m68k preprocessor causing the 
problem?</FONT><FONT face=Verdana size=2>  Or is it because of a wrong 
configuration assumption that the -mcpu32 was used? </FONT></DIV>
<DIV><FONT face=Verdana size=2>        Expecting 
your comments,</FONT></DIV>
<DIV><FONT face=Verdana size=2>    Sudheesh</FONT></DIV>
<DIV><BR></DIV></BODY></HTML>