630 views
in System Integration by
Hello,
I'm getting the following error when I use "make" on "StartGccBuildEnvironment":

./Obj/DeviceDriver.o: In function `DeviceDriver_Initialize':
DeviceDriver.c:(.text.DeviceDriver_Initialize+0x24): undefined reference to `__vmt_ApplicationDeviceClass'
DeviceDriver.c:(.text.DeviceDriver_Initialize+0x28): undefined reference to `ApplicationDevice'
collect2.exe: error: ld returned 1 exit status
make: *** [EmWiApplication] Error 1
 

Can you help me please?
Thank you,
Lucas

1 Answer

0 votes
by
Hello Lucas,

based on the provided information it is difficult to find the reason for the linker error...

Which Build Environment and which version are you using?

Did you try the original 'DeviceIntegration' example and does this work?

What are your changes (maybe you can post your DeviceDriver.c file)?

Best regards,

Manfred.
by
Hello,

I was using the 9.0 version and it was ok, when I downloaded the 9.20 version it started to happen.

 

I'm using ""StartGccBuildEnvironment"

 

Regards,

Lucas

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...