undefined reference to `main' when trying to build via OMK
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>
> 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
>> in the default configuration in cpukit/libmisc/dummy.
>> This can be because the application doesn't have its own configuration
>> or because it has a partial configuration and is missing something like
>> some network or filesystem configuration.
>> On Wed, Aug 17, 2016 at 8:23 AM, Pavel Pisa <ppisa4lists at pikron.com>
>>> 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,
>>> users mailing list
>>> users at rtems.org
>> users mailing list
>> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users