Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

downloadable kernel module in workbench 3.1

36 views
Skip to first unread message

BK

unread,
Nov 3, 2009, 2:19:22 PM11/3/09
to
Hi,

I have a situation where

1. I create one super project as downloadable kernel module.
2. I create another sub project which is also a downloadable kernel
module.
3. Now i add sub project as a project reference to the super project.
4. Now I call a function in super project which is actully defined in
sub project.
5. It built perfectly, but when I run the super project I get
unresolved symbol for the function I called in the super project.

Can any one let me know what is going wrong here?

Thanks
BK.

VKG Ritsoft Technologies

unread,
Nov 6, 2009, 12:07:14 PM11/6/09
to

Hi,

When you add a sub project to a super project, the benefit you get is
during build i.e. you do not need to build each project seprately;
however you have to download both kernel module on to the target
seprately. Are you downloading both kernel modules on to the target?

Vipin Kumar | Ritsoft Technologies Pvt. Ltd. India
[Your partner for embedded development outsourcing needs]


BK

unread,
Nov 9, 2009, 2:06:25 PM11/9/09
to
On Nov 6, 9:07 am, VKG Ritsoft Technologies <vkg.rits...@gmail.com>
wrote:
> [Your partner for embedded development outsourcing needs]- Hide quoted text -
>
> - Show quoted text -

Hi,

I was thinking that adding a subproject will link them together. But
I think two DKMs cannot be linked if one is sub project of the
other.
The other way to try is, if we download two separate DKMs, will the
linking happens dynamically?

What is the other way?

Thanks

ritsoft ritsoft

unread,
Nov 10, 2009, 7:14:15 AM11/10/09
to

The other way is to create a library and link it with -L option in
build properties

Best Regards,

0 new messages