I2C testcase linking error

Joel Sherrill joel at rtems.org
Sun Jul 24 19:02:41 UTC 2016


The linking error looks like some piece of configuration information is
missing from the application. This results in the configuration information
from the application but being complete and another set being pulled in
from librtemscpu.a. that has the default configuration in it.

On Jul 24, 2016 2:06 AM, "punit vara" <punitvara at gmail.com> wrote:

> https://github.com/punitvara/rtems/tree/new
>
> You can reproduce linking error from this  new branch.
>
> On Sat, Jul 23, 2016 at 11:57 PM, Ben Gras <beng at shrike-systems.com>
> wrote:
>
>> All,
>>
>>
>> I tried to reproduce this. The I2C branch of your repo doesn't build
>> because of struct i2c not being defined. So I #if 0'd out all the
>> function bodies in i2c.c, and then everything builds, without linker
>> errors.
>>
>> What is your state now? Are you blocked on this (or anything else)
>> still? If so, can you help me reproduce, e.g. by creating a branch that
>> definitely exhibits the problem?
>>
>> I did build from scratch, if you have linking problems it may be an idea
>> to rm -rf the beagle build dir and reconfigure and rebuild, in case
>> there is a library hanging around with an extra object file it isn't
>> supposed to have that the buildsystem isn't updating.
>>
>> Cheers,
>>
>> Ben
>>
>>
>> On 22-07-16 14:26, punit vara wrote:
>> >
>> /root/development/rtems/b-NEW/arm-rtems4.12/c/beagleboneblack/cpukit/libmisc/../../../../../../../../NEW/c/src/../../cpukit/libmisc/dummy/default-configuration.c:23:
>> > multiple definition of
>> > `_Linker_set__Sysinit__RTEMS_tasks_Initialize_user_tasks_body'
>>
>>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160724/c0bd3b20/attachment-0002.html>


More information about the devel mailing list