undefined reference to `main' when trying to build via OMK

Joel Sherrill joel at rtems.org
Wed Aug 17 19:04:07 UTC 2016


Your main() was likely a C++ symbol and the default dummy
configuration expects it to be a C symbol.

Anyone have any idea how to be more flexible on this point?

On Wed, Aug 17, 2016 at 1:07 PM, Saeed Ehteshamifar <salpha.2004 at gmail.com>
wrote:

> I ported my app to C and it worked.
>
> On Wed, Aug 17, 2016 at 5:03 PM, Joel Sherrill <joel at rtems.org> wrote:
>
>> The main() unresolved issue is that for some reason the application is
>> pulling
>> in the default configuration in cpukit/libmisc/dummy.
>>
>> This can be because the application doesn't have its own configuration
>> defined
>> or because it has a partial configuration and is missing something like
>> say
>> some network or filesystem configuration.
>>
>> On Wed, Aug 17, 2016 at 8:23 AM, Pavel Pisa <ppisa4lists at pikron.com>
>> wrote:
>>
>>> Hello Saeed,
>>>
>>> On Wednesday 17 of August 2016 11:24:12 Saeed Ehteshamifar wrote:
>>> > Hello,
>>> >
>>> > I have a CPP RTEMS app that builds fine with the RTEMS Makefile but
>>> when I
>>> > try to build it via OMK, I get the following output:
>>>
>>> we I have not used OMK with C++ on RTEMS. So it is quite possible
>>> that there is some rule missing. I look at that but for integration
>>> into RTEMS ecosystem, you should probably try WAF or other
>>> RTEMS maintainers preferred system.
>>>
>>> Best wishes,
>>>
>>>              Pavel
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160817/33a91c8c/attachment-0002.html>


More information about the users mailing list