ARM compiler error when building RTEMS for smdk2410

Ajai James ajai at sigtechwireless.com
Fri Jul 9 11:08:30 UTC 2010


 

Hi All,

I am a newbie in RTEMS and Linux environment.

I was trying to compile RTEMS for ARM smdk2410 board using Fedora guest in
Virtual box with command

make RTEMS_BSP="smdk2410" after configure command as per the steps in 

http://rtems.org/onlinedocs/doc-current/share/rtems/html/started/started0006
1.html

 

 

Got an error as below

 

Checking whether the C compiler works... no

configure: error: in
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c/smdk2410':

configure: error: C compiler cannot create executables

See `config.log' for more details.

gmake[2]: *** [smdk2410] Error 1

gmake[2]: Leaving directory
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c'

make: *** [all-recursive] Error 1

 

On checking the config.log file, the relevant portion is

 

gmake[3]: Entering directory
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c/smdk2410'

gmake[3]: Leaving directory
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c/smdk2410'

checking for RTEMS_CPU_MODEL... s3c2410

checking for RTEMS_BSP_FAMILY... smdk2410

checking for CPU_CFLAGS... (cached) -mstructure-size-boundary=32
-mcpu=arm920t -mfpu=vfp -mfloat-abi=soft -DCPU_S3C2410

checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g

checking for style of include used by gmake... GNU

checking for arm-rtems4.10-gcc... arm-rtems4.10-gcc

checking for arm-rtems4.10-gcc... (cached) arm-rtems4.10-gcc

checking whether the C compiler works... no

configure: error: in
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c/smdk2410':

configure: error: C compiler cannot create executables

See `config.log' for more details.

gmake[2]: *** [smdk2410] Error 1

gmake[2]: Leaving directory
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory
`/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c'

make: *** [all-recursive] Error 1

 

Pls help

 

Regards,

Ajai James

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20100709/937ca2ed/attachment.html>


More information about the users mailing list