Keil Linker Problem

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Keil Linker Problem

    In compiling the HelloWorld sample with a complete emWIN GUI.lib for the NXP1768 processor on the MCB1700 dev board I get the
    following Output in the Keil:
    Build target 'Target 1'
    assembling startup_LPC17xx.s...
    compiling BASIC_Hello1.c...
    BASIC_Hello1.c(56): warning: #111-D: statement is unreachable
    compiling system_LPC17xx.c...
    compiling GUIConf.c...
    compiling LCDConf.c...
    linking...
    HelloWorld.axf: Error: L6366E: GUICC_565.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUICC_565.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_Alloc.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_Alloc.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_Core.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_Core.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_Device.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_Device.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_DispStringHCenter.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_DispStringHCenter.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_GetStringDistX.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_GetStringDistX.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_SetFont.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_SetFont.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_SetTextMode.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_SetTextMode.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_Val.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_Val.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: LCD_GetEx.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object LCD_GetEx.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: LCD_Set.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object LCD_Set.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUIDRV_SPI_LPC1768.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUIDRV_SPI_LPC1768.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: F20F_ASCII.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object F20F_ASCII.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: F6x8.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object F6x8.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: FD24x32.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object FD24x32.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUICC_565_Index2Color.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUICC_565_Index2Color.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_AddDecMin.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_AddDecMin.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_AddDecShift.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_AddDecShift.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_CharLine.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_CharLine.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_CharM.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_CharM.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_CharPFrm.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_CharPFrm.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_DispString.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_DispString.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_DispStringAt.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_DispStringAt.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_Goto.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_Goto.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_SetOrg.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_SetOrg.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_SelectLayer.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_SelectLayer.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_UC.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_UC.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI__ManageCache.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI__ManageCache.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: LCD_Color.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object LCD_Color.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUICC_0.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUICC_0.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_SelectLCD.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_SelectLCD.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: LCD_GetNumDisplays.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object LCD_GetNumDisplays.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: GUI_CalcColorDist.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object GUI_CalcColorDist.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: LCD_SelectLCD.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object LCD_SelectLCD.o as its attributes are incompatible with the image attributes.
    HelloWorld.axf: Error: L6366E: LCD_UpdateColorIndices.o attributes are not compatible with the provided cpu and fpu attributes .
    HelloWorld.axf: Error: L6242E: Cannot link object LCD_UpdateColorIndices.o as its attributes are incompatible with the image attributes.
    Target not created
    Any idea on what I could be doing wrong?
    Files
    • HelloWorld.zip

      (11.78 kB, downloaded 522 times, last: )
  • Hi dshortridge,

    I had a look at your provided sources but could not see anything suspicious in it.

    Does the sample we provide for download from our website compile with your Keil installation ?
    You can find our eval package at the following location:
    segger.com/keil-mcb1760-eval-board.html

    Can you provide us with a complete project except for the emWin sources/objects so we can test it for ourselves ?
    Please only remove the emWin files out of the project physically but leave them in the project so we can reconstruct
    the file structure and can use the same settings for each file that you are using.


    Best regards,
    Oliver