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.

IAR linker problem while compiling raster example

Hello, i try to compile raster example from StarterWare, but i get these errors:

Error[Li005]: no definition for "IntMasterIRQEnable" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "IntAINTCInit" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "IntRegister" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "IntPrioritySet" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "IntSystemEnable" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "LCDBackLightEnable" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "UPDNPinControl" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "LCDModuleClkConfig" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "LCDPinMuxSetup" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\main.o]
Error[Li005]: no definition for "LCDVersionGet" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\raster.o]
Error[Lp011]: section placement failed
          unable to allocate space for sections/blocks with a total estimated minimum size of 0x1775a8 bytes in <[0x402f0400-0x40307fff]> (total uncommitted space 0x17bc4).
Error while running Linker

Any idea why i am getting this ? or did i forgot include some file, and in that case which one ? ( i am using beaglebone )

  • Since this is a Linker error, the implementation (ie. definitioin) of the routines referenced in the associated .o files can not be found by the linker.  Therefore, yes, something needs to be included or fed into the Linker to allow it to resolve these issues.

    My first gues is that a particular library file is either not specified to the linker in the build options of the IAR project, or the path to the library is not what the linker is expecting.  I would suggest looking in that area first.

  • i try to find missing files, but had no luck. if any one know where missing functions are declared, that would be great

  • A quick search in Windows explorer (or other file grep-like utility) suggests that these routines would be found in the ./system_config and ./platform directory trees, specifically in the ./system_config/armv7a/am335x/interrupt.c and ./platform/evmAM335x/lcd.c files.

    It seems to me these would ultimately feed into the following libraries referenced by the IAR project file .exp.

    .\binary\armv7a\ewarm\am335x\evmAM335x\platform\platform.a
    .\binary\armv7a\ewarm\am335x\system_config\system.a

    You mentioned before you were working on the beaglebone.  Note that the raster example is not in the beaglebone (at least for version 2.00.00.07 of StarterWare), so you must be porting that example over from another platform.  You should expect to need to work through these types of issues when doing that.

  • i include not beaglebone files, but that demo board with lcd. still errors (for some reason i can't find text inside file with windows search, so it is tricky for me)
    goal is to connect LCD with controller (SSD1963 in LIDD mode, but so far no progress.in bit bang method i connected it very easy, but it is very slow, like 1fps)

    can i found example how to use LIDD mode ?

    (now new errors)
    Error[Li005]: no definition for "EVMProfileGet" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\lcd.o]
    Error[Li005]: no definition for "I2C0ModuleClkConfig" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\lcd.o]
    Error[Li005]: no definition for "I2CPinMuxSetup" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\lcd.o]
    Error[Li005]: no definition for "GPIO0Pin7PinMuxSetup" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\lcd.o]
    Error[Li005]: no definition for "CPUirqe" [referenced from C:\Users\Kilohercas\Desktop\Beaglebone\Debug\Obj\interrupt.o]
    Error[Lp011]: section placement failed
              unable to allocate space for sections/blocks with a total estimated minimum size of 0x177c7c bytes in <[0x402f0400-0x40307fff]> (total uncommitted
    again, did search inside all starterware folder, nothing come up (it looks like windows don't search inside .h file, i modified search to scan inside file in control pannel, but it didn't do any good )

    If some one is capable to develop code for communication with lcd controller (send data, send command via I80 bus, i could even pay for that, since my knowledge is not for the task )

  • I think You are Not Added some libraries ... (.a files)