Home arrow Support arrow Forums

Luminary Micro Forums

print

Gold Boarder
Click here to see the profile of this user

2008/09/23 05:47

Problem with LMI new lib with code-red1.6.0.2008

Hi

I am facing problem with the driverlib while using it in the code-red v-1.6.0.2008.

whenever I had tried to build any project like simple hello.c project it gave me following error message.

"
c:/code_red/red_suite_lmi/tools/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/bin/ ld.exe: cannot find -ldriver
collect2: ld returned 1 exit status
make: *** [HelloC_pro.axf] Error 1
"

though I had included the driver lib path and linker is also showed its path.

Please help me to sort out the problem.

login or register to reply

cb1

Platinum Boarder
Click here to see the profile of this user

2008/09/23 09:11

Re:Problem with LMI new lib with code-red1.6.0.2008

print-

Sometimes you appear to be moving sideways or (forgive me) bit backwards. When I helped you with your eeprom months ago you did not encounter these issues.

So - it must be that you have changed something. Have you the most current version of Code Red? Have you an appropriate version of LMI's PDL - do the two properly mate?

Errors with .axf files have been covered by these forums recently - that may be a good place to check too...

login or register to reply

print

Gold Boarder
Click here to see the profile of this user

2008/09/24 01:23

Re:Problem with LMI new lib with code-red1.6.0.2008

Hi cb1,

I know sometimes I made you confused, actually at that time I was using code-red v 1.5.2_4232 with old LM driverlibs and through which I was able to build my projects.
But this time I update my code-red by v 1.6.0_465 with the new set of LM driverlib.
After that I am facing this problem. My projects couldn't able to link the driver path.

So now what am I suppose to do?

login or register to reply

LMI Kyle

Senior Boarder
Click here to see the profile of this user

2008/09/25 09:35

Re:Problem with LMI new lib with code-red1.6.0.200

Has the driver library been built?

I recommend following the steps in the GettingStarted_RedSuite_V1.6.pdf (included in code_red folder) for creating a new DriverLib project (chapter 5).

login or register to reply

print

Gold Boarder
Click here to see the profile of this user

2008/09/26 03:41

Re:Problem with LMI new lib with code-red1.6.0.200

Hi Kyle,

I appritiate you but trust me I have done all the steps correctly while making the new DriverLib and I am still getting the problems while compile any project.

error message:

c:/code_red/red_suite_lmi/tools/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/bin/ ld.exe: cannot find -lusb

now I am really confused what to do next?

login or register to reply

cb1

Platinum Boarder
Click here to see the profile of this user

2008/09/26 05:40

Re:Problem with LMI new lib with code-red1.6.0.200

print-

Sorry to hear of your plight - please do follow the advice of LMI Kyle.

Your most recent error message has changed from your earlier post. We don't know if you have "cured" those earlier errors - and if so - how?

I always do best by creating smallest, simplest "blinky-style" program - and seeing if I can get my tool & library code to co-exist and work. Once you can do that - add just one portion of your new code at a time - seeing if it compiles without error. In this small, controlled, incremental manner you should be able to identify "exactly" which function/definition triggers the error.

login or register to reply