Newbie still having compile problems.

Ralf Corsepius corsepiu at faw.uni-ulm.de
Sat Dec 21 12:38:25 UTC 2002


Am Sam, 2002-12-21 um 10.32 schrieb James Fitzsimons:
> Hi all,
> I managed to persuade the newer versions of binutils, gcc and newlib to
> compile on my machine ok, however when it came to building RTEMS I am still
> having a problem.
> 
> I verifed the operation of the cross toolset as in section 5.4 of the
> "getting started with RTEMS for c/c++ users" doc. The function f.c compiled
> ok and I didn't seem to have any problems building gcc so I can only assume
> the compiler is working correctly.
> 
> However I am getting an error in the configure phase of the build process
> for RTEMS. I am configuring with the following switches:
> 
> bash-2.05a$ ../rtems-ss-20021118/configure --target=m68k-rtems
> --disable-networking --disable-itron --enable-rtemsbsp=mrm332
> --prefix=/Users/james/robotdev/RTEMS/install
> 
> The error is pasted below.
> 
> Any advice would be much appreciated.
> 
> Regards,
> James Fitzsimons.
> 
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking for m68k-rtems-strip... m68k-rtems-strip
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking if cpu m68k is supported... yes
> checking for style of include used by make... GNU
> checking for m68k-rtems-gcc... m68k-rtems-gcc
> checking for m68k-rtems-gcc... (cached) m68k-rtems-gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
> configure: error: /bin/sh '../../../../rtems-ss-20021118/c/make/configure'
> failed for c/make

This kind of errors normally indicates a broken compiler installation.

Checking m68k-rtems/c/mrm323/make/config.log will probably tell you what
goes wrong. 

Also, if using m68k-rtems-gcc-3.2.1, make sure to use the very latest
version of it, because former versions are known to be broken (Sorry, I
don't have the version numbers at hand.).

Ralf





More information about the users mailing list