This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error compiling in Keil. driverlib.lib?

hi, here is a screen shot:

doesn't driverlib.lib have the files to take care of this error? Any help would be great. Thanks

  • Hi,

       Attach your project files here for review.

       Also possible that you have a Keil settings that is causing this. What you can do is compare a known working example program settings to your Keil project settings.

    - kel

  • The function that is undefined/unresolved is SystemInit.  This is not a driverlib function It is coming from startup_tm4c123.s this file is usually the interrupt table and other init stuff from the compiler.

    This looks like an issue on the Keil side not the DriverLib side.

  • thanks for the help so far. Anyone know where I find step be step instructions? I know the problem is in the finer details of starting a new project and in the options.  Is tivaWare 2.1 compatible with Keil 4.73? I copied most of the settings from a working example. The only setting I couldn't just type was in the options...Linker tab...Scatter File. So, I made a new file...name it TryAgain.sct...copied the code from a working example. Then I compiled I got a different error:

    Build target 'Target 1'

    assembling TryAgain.sct...
    TryAgain.sct(25): error: A1355U: A Label was found which was in no AREA
    ".\TryAgain.axf" - 1 Error(s), 0 Warning(s).
    Target not created

    I used Keil in a edx microcontroller course and liked it more than ccs. I'm having this problem because we never went over starting a new project from scratch.