ARM compiler error when building RTEMS for smdk2410

Vinu Rajashekhar vinutheraj at gmail.com
Tue Jul 13 15:44:43 UTC 2010


On Tue, Jul 13, 2010 at 9:07 PM, Vinu Rajashekhar <vinutheraj at gmail.com>wrote:

> On Fri, Jul 9, 2010 at 4:38 PM, Ajai James <ajai at sigtechwireless.com>wrote:
>
>>
>>
>> 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/started00061.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
>>
>>
>>
> That is the config.log in the top directory, I think you will get more
> specific details
> on the error if you check the config.log in
> '/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c'
>

Sorry it is
 '/home/rtems/rtems-4.10-work/rtems/build-rtems/arm-rtems4.10/c/smdk2410'
Then you will understand the exact error given by the C compiler while
trying to compile
and link the sample code.

> 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
>>
>>
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20100713/7e1c5da9/attachment.html>


More information about the users mailing list