Unable to compile the source code

Comments

31 comments

  • Avatar
    Michael Johnson

    HI,

    A project created with version 1.7 will link to package files as $(StudioDir)/targets. Later versions require these files to be linked as $(PackagesDir)/targets. You can "Edit Solution As Text" and replace occurrences of $(StudioDir)/targets with $(PackagesDir)/targets. The modified project file can be used in version 1.7 as it has the $(PackagesDir) macro.

    Regards

    Michael

    0
    Comment actions Permalink
  • Avatar
    navin

    Hi Michel,

     

    Thanks for the reply,

    I am new in this tool  please can you tell me the exact location and path.

     

    Regards,

    Naveen.

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Hi Naveen,

    Sorry I'm talking about the .hzp file - you'll have to edit it using the text editor to replace all occurences of $(StudioDir)/targets with $(PackagesDir)/targets.

    Regards

    Michael

    0
    Comment actions Permalink
  • Avatar
    navin

    Hi Michael,

     

    Thank you so much for reply,

     

    .hzp file changed as per your inputs but still some errors are displaying.

    Error logs :

    Building ‘avatar_gc_gui’ from solution ‘avatar_gc_gui’ in configuration ‘ARM Flash Debug’
    Compiling ‘avtar_gc_main.c’
    implicit declaration of function 'func_mastreaddata' [-Wimplicit-function-declaration]
    'return' with no value, in function returning non-void
    declared here
    'return' with no value, in function returning non-void
    declared here
    implicit declaration of function 'ReadUInt'; did you mean 'ReadUInit'? [-Wimplicit-function-declaration]
    implicit declaration of function 'ReadInt'; did you mean 'ReadInit'? [-Wimplicit-function-declaration]
    implicit declaration of function 'GetInjID'; did you mean 'GetDetID'? [-Wimplicit-function-declaration]
    implicit declaration of function 'DisplayActflow'; did you mean 'DisplayClear'? [-Wimplicit-function-declaration]
    implicit declaration of function 'Getmaxdetflow' [-Wimplicit-function-declaration]
    implicit declaration of function 'SummaryInjector' [-Wimplicit-function-declaration]
    implicit declaration of function 'SummaryDetector' [-Wimplicit-function-declaration]
    implicit declaration of function 'summary' [-Wimplicit-function-declaration]
    Compiling ‘uart.c’
    Compiling ‘GuiDisplay.c’
    Compiling ‘GuiLib.c’
    Compiling ‘GuiStruct.c’
    Compiling ‘GuiVar.c’
    Compiling ‘gui.c’
    implicit declaration of function 'DisPkdcarrFlow' [-Wimplicit-function-declaration]
    implicit declaration of function 'DiscarrFlow'; did you mean 'DisplayActflow'? [-Wimplicit-function-declaration]
    implicit declaration of function 'Find_Rprogrammed' [-Wimplicit-function-declaration]
    implicit declaration of function 'funcTotalRampTime' [-Wimplicit-function-declaration]
    Compiling ‘KeyBoard.c’
    implicit declaration of function 'FuncInstall_irq' [-Wimplicit-function-declaration]
    implicit declaration of function 'funcReadDataFromSlave'; did you mean 'funcSendCommandToSlave'? [-Wimplicit-function-declaration]
    implicit declaration of function 'DrawStr' [-Wimplicit-function-declaration]
    implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
    Compiling ‘epc.c’
    implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
    implicit declaration of function 'atol' [-Wimplicit-function-declaration]
    implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
    Compiling ‘flow.c’
    Compiling ‘GuiFont.c’
    Compiling ‘LCDBritnes.c’
    Assembling ‘crt0.s’
    Assembling ‘Philips_LPC230X_Startup.s’
    constant expression expected
    constant expression expected
    constant expression expected
    constant expression expected
    constant expression expected
    constant expression expected
    constant expression expected
    Compiling ‘LPC230x.c’
    Compiling ‘VIC_PL192.c’
    Assembling ‘VIC_PL192_irq_handler.s’
    Build failed

     

    Regards,

    Naveen.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Is ‘Philips_LPC230X_Startup.s' a project local file? If so can you compare it to the one that is in $(PackagesDir)/targets/Philips_LPC210X

    0
    Comment actions Permalink
  • Avatar
    navin

    Yes Philips_LPC230X_Startup.s is project file and located in folder ,

    attaching .zhp image and listed package directory in file

     

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Which source file is producing the error message?

    0
    Comment actions Permalink
  • Avatar
    navin

    Philips_LPC230X_Startup.s file is producing error message.

    please check the below image.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Are you using the clang assembler? If so switch to the gnu assembler.

    0
    Comment actions Permalink
  • Avatar
    navin

    Yes i am using clang assembler , i changed gnu some error are listed below please check the image.

    0
    Comment actions Permalink
  • Avatar
    navin

    After changing GNU below error are generated.

    Error logs :

    Linking avatar_gc_gui.elf
    avatar_gc_gui ARM Flash Debug/uart.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/uart.c:55: multiple definition of `intCounter'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:224: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:89: multiple definition of `gcSplitNum'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:143: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:169: multiple definition of `Dispmv'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:236: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:170: multiple definition of `splitstatus'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:141: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:282: multiple definition of `epcpara'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:548: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
    .bss is too large to fit in SRAM memory segment
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libc_v4t_a_le_eabi.a(libc2.o): In function `__aeabi_errno_addr':
    libc2.c:(.text.libc.__aeabi_errno_addr+0x4): undefined reference to `__aeabi_read_tp'
    .bss is too large to fit in SRAM memory segment
    Build failed

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Can't explain the multiple definition errors - are these symbols defined in more than one source file? You may be able to set the "No COMMON" property to "No" if this is the case.

    Did you rebuild, this should get rid of the wchar error.

    You have a project local crt0.s, merge the changes in from $(StudioDir)/source to get __aeabi_read_tp.

    0
    Comment actions Permalink
  • Avatar
    navin

    Symbols are defined only one time in source file,

    The source code clean and rebuild multiple times still same issue.

    In crt0.s file searched StudioDir and get_aeabi_read_tp string but not found.

     

    0
    Comment actions Permalink
  • Avatar
    navin

    Dear Michel,

    Thanks for continuous support,

    After change all configuration below are errors still generating.

    Q : Did you rebuild, this should get rid of the wchar error.

      A :   Yes rebuild the source code multiple times , I am not seen wchar error in logs

     

    Q : You have a project local crt0.s, merge the changes in from $(StudioDir)/source to get __aeabi_read_tp.

      A :   please can you explain above one not able to understand

     

    Please help me on this issue .

     

    Regards,

    Naveen.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Try setting the Wide Character Size property to be 16-bit and rebuild. 

    The source of __aeabi_read_tp (supplied in $(StudioDir)/source/crt0.s) needs to be merged into your local copy of crt0.s

    0
    Comment actions Permalink
  • Avatar
    navin

    After changing Wide char size 16 bit below errors are generated.

    Errors :

    Building ‘avatar_gc_gui’ from solution ‘avatar_gc_gui’ in configuration ‘ARM Flash Debug’
    Compiling ‘avtar_gc_main.c’
    implicit declaration of function 'func_mastreaddata' [-Wimplicit-function-declaration]
    'return' with no value, in function returning non-void
    declared here
    'return' with no value, in function returning non-void
    declared here
    implicit declaration of function 'ReadUInt'; did you mean 'ReadUInit'? [-Wimplicit-function-declaration]
    implicit declaration of function 'ReadInt'; did you mean 'ReadInit'? [-Wimplicit-function-declaration]
    implicit declaration of function 'GetInjID'; did you mean 'GetDetID'? [-Wimplicit-function-declaration]
    implicit declaration of function 'DisplayActflow'; did you mean 'DisplayClear'? [-Wimplicit-function-declaration]
    implicit declaration of function 'Getmaxdetflow' [-Wimplicit-function-declaration]
    implicit declaration of function 'SummaryInjector' [-Wimplicit-function-declaration]
    implicit declaration of function 'SummaryDetector' [-Wimplicit-function-declaration]
    implicit declaration of function 'summary' [-Wimplicit-function-declaration]
    Linking avatar_gc_gui.elf
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:89: multiple definition of `gcSplitNum'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:144: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:169: multiple definition of `Dispmv'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:237: first defined here
    avatar_gc_gui ARM Flash Debug/uart.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/GuiDisplay.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/GuiLib.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/GuiStruct.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/GuiVar.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/KeyBoard.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/epc.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/flow.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/GuiFont.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/LCDBritnes.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/LPC230x.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    avatar_gc_gui ARM Flash Debug/VIC_PL192.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    C:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/lib/liblpc2000_v4t_a_le_eabi.a(liblpc2000_lpc23xx_get_cclk.o) uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libm_v4t_a_le_eabi.a(libm2.o) uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libc_v4t_a_le_eabi.a(libc2.o) uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libvfprintf_v4t_a_le_eabi.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libvfscanf_v4t_a_le_eabi.o uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail
    .bss is too large to fit in SRAM memory segment
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libc_v4t_a_le_eabi.a(libc2.o): In function `__aeabi_errno_addr':
    libc2.c:(.text.libc.__aeabi_errno_addr+0x4): undefined reference to `__aeabi_read_tp'
    .bss is too large to fit in SRAM memory segment
    Build failed

    Configuration :

    The source of __aeabi_read_tp (supplied in $(StudioDir)/source/crt0.s) needs to be merged into your local copy of crt0.s

    sorry for asking again this one  __aeabi_read_tp source how to get ?

    My local copy crt0.s file available but wat should be merged and how ?

    please help me on this .

    Regards,

    Naveen. 

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Set the property at the project level not the file level. I guess you have .o or .a files in the project?

    The source of __aeabi_read_tp Is in $(StudioDir)/source/crt0.s

    0
    Comment actions Permalink
  • Avatar
    navin

    How to set the property Wide char size at the project level ?

    Project files are  .o

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Right click on the project node in the project explorer and select "Properties".

    Are there any external library or object files in the project?

    0
    Comment actions Permalink
  • Avatar
    navin

    After change W char 32 below errors are generated

    Linking avatar_gc_gui.elf
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:89: multiple definition of `gcSplitNum'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:144: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:169: multiple definition of `Dispmv'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:237: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
    .bss is too large to fit in SRAM memory segment
    avatar_gc_gui ARM Flash Debug/crt0.o: In function `memory_set':
    undefined reference to `__tdata_load_start__'
    undefined reference to `__tdata_start__'
    undefined reference to `__tdata_end__'
    undefined reference to `__tbss_start__'
    undefined reference to `__tbss_end__'
    avatar_gc_gui ARM Flash Debug/crt0.o: In function `__aeabi_read_tp':
    undefined reference to `__tbss_start__'
    .bss is too large to fit in SRAM memory segment
    Build failed

     

    Are there any external library or object files in the project?

    In My project folder name is LP19Vers  in this folder contains one more folder ARM Flash Debug , this folder contains the all object files.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Remove references to liblpc2000$(LibExt) this is what is causing the wchar errors.

    You have a project local flash_placement.xml file then merge in the changes of $(StudioDir)/targets/flash_placement.xml.

    0
    Comment actions Permalink
  • Avatar
    navin

    Hi Michel,

     

    Thanks for the reply,

     

    After modification compiled source code , the build showing as failed but not showing any errors ,

    please check the attached image.

    How to debug this issues ?

    How tocheck the erros logs.

     

    Regards,

    Naveen.

    0
    Comment actions Permalink
  • Avatar
    navin

    Build Failed Output Logs :

    Building ‘avatar_gc_gui’ from solution ‘avatar_gc_gui’ in configuration ‘ARM Flash Debug’
    1> Compiling ‘avtar_gc_main.c’
    2> Compiling ‘uart.c’
    3> Compiling ‘GuiDisplay.c’
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:616:9: warning: implicit declaration of function 'func_mastreaddata' [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:3068:9: warning: 'return' with no value, in function returning non-void
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:3061:15: note: declared here
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:3152:8: warning: 'return' with no value, in function returning non-void
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:3145:15: note: declared here
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:3961:21: warning: implicit declaration of function 'ReadUInt'; did you mean 'ReadUInit'? [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:4331:7: warning: implicit declaration of function 'ReadInt'; did you mean 'ReadInit'? [-Wimplicit-function-declaration]
    4> Compiling ‘GuiLib.c’
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:6465:11: warning: implicit declaration of function 'GetInjID'; did you mean 'GetDetID'? [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:7016:19: warning: implicit declaration of function 'DisplayActflow'; did you mean 'DisplayClear'? [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:7279:59: warning: implicit declaration of function 'Getmaxdetflow' [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:9686:4: warning: implicit declaration of function 'SummaryInjector' [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:9806:4: warning: implicit declaration of function 'SummaryDetector' [-Wimplicit-function-declaration]
    1> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c:9987:7: warning: implicit declaration of function 'summary' [-Wimplicit-function-declaration]
    3> Compiling ‘GuiStruct.c’
    2> Compiling ‘GuiVar.c’
    3> Compiling ‘gui.c’
    2> Compiling ‘epc.c’
    4> Compiling ‘KeyBoard.c’
    1> Compiling ‘flow.c’
    2> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\epc.c:156:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
    2> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\epc.c:248:11: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration]
    2> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\epc.c:353:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
    3> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\gui.c:1884:9: warning: implicit declaration of function 'DisPkdcarrFlow' [-Wimplicit-function-declaration]
    3> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\gui.c:1894:7: warning: implicit declaration of function 'DiscarrFlow'; did you mean 'DisplayActflow'? [-Wimplicit-function-declaration]
    3> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\gui.c:4451:19: warning: implicit declaration of function 'Find_Rprogrammed' [-Wimplicit-function-declaration]
    3> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\gui.c:4452:3: warning: implicit declaration of function 'funcTotalRampTime' [-Wimplicit-function-declaration]
    4> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\KeyBoard.c:113:3: warning: implicit declaration of function 'FuncInstall_irq' [-Wimplicit-function-declaration]
    4> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\KeyBoard.c:218:6: warning: implicit declaration of function 'funcReadDataFromSlave'; did you mean 'funcSendCommandToSlave'? [-Wimplicit-function-declaration]
    4> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\KeyBoard.c:404:6: warning: implicit declaration of function 'DrawStr' [-Wimplicit-function-declaration]
    4> C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\KeyBoard.c:586:7: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
    2> Compiling ‘GuiFont.c’
    4> Compiling ‘LCDBritnes.c’
    1> Assembling ‘crt0.s’
    3> Assembling ‘Philips_LPC230X_Startup.s’
    4> Compiling ‘LPC230x.c’
    2> Compiling ‘VIC_PL192.c’
    1> Assembling ‘VIC_PL192_irq_handler.s’
    1> Generating linker script ‘avatar_gc_gui.ld’
    1> Linking avatar_gc_gui.elf
    1> C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/ld: warning: avatar_gc_gui ARM Flash Debug/gui.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
    Build failed

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Do you have the wide character property set on a file? You shouldn't need to do this now you have removed the reference to the library file. Use "Open Solution In Editor" to check.

    0
    Comment actions Permalink
  • Avatar
    navin

    Hi Michael,

    Thanks  for the reply,

    still errors are generated.

    Error logs :

    Building ‘avatar_gc_gui’ from solution ‘avatar_gc_gui’ in configuration ‘ARM Flash Debug’
    avatar_gc_gui ARM Flash Debug/avtar_gc_main.o does not exist.
    Compiling ‘avtar_gc_main.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/avtar_gc_main.d" -MQ "avatar_gc_gui ARM Flash Debug/avtar_gc_main.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\avtar_gc_main.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/avtar_gc_main.asm"
    implicit declaration of function 'func_mastreaddata' [-Wimplicit-function-declaration]
    'return' with no value, in function returning non-void
    declared here
    'return' with no value, in function returning non-void
    declared here
    implicit declaration of function 'ReadUInt'; did you mean 'ReadUInit'? [-Wimplicit-function-declaration]
    implicit declaration of function 'ReadInt'; did you mean 'ReadInit'? [-Wimplicit-function-declaration]
    implicit declaration of function 'GetInjID'; did you mean 'GetDetID'? [-Wimplicit-function-declaration]
    implicit declaration of function 'DisplayActflow'; did you mean 'DisplayClear'? [-Wimplicit-function-declaration]
    implicit declaration of function 'Getmaxdetflow' [-Wimplicit-function-declaration]
    implicit declaration of function 'SummaryInjector' [-Wimplicit-function-declaration]
    implicit declaration of function 'SummaryDetector' [-Wimplicit-function-declaration]
    implicit declaration of function 'summary' [-Wimplicit-function-declaration]
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/avtar_gc_main.asm" -o "avatar_gc_gui ARM Flash Debug/avtar_gc_main.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/avtar_gc_main.asm"
    avatar_gc_gui ARM Flash Debug/uart.o does not exist.
    Compiling ‘uart.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/uart.d" -MQ "avatar_gc_gui ARM Flash Debug/uart.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\uart.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/uart.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/uart.asm" -o "avatar_gc_gui ARM Flash Debug/uart.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/uart.asm"
    avatar_gc_gui ARM Flash Debug/GuiDisplay.o does not exist.
    Compiling ‘GuiDisplay.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -mlong-calls -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiDisplay.d" -MQ "avatar_gc_gui ARM Flash Debug/GuiDisplay.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\GuiDisplay.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiDisplay.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiDisplay.asm" -o "avatar_gc_gui ARM Flash Debug/GuiDisplay.o"
    avatar_gc_gui ARM Flash Debug/GuiLib.o does not exist.
    Compiling ‘GuiLib.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiLib.d" -MQ "avatar_gc_gui ARM Flash Debug/GuiLib.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\GuiLib.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiLib.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiLib.asm" -o "avatar_gc_gui ARM Flash Debug/GuiLib.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiLib.asm"
    avatar_gc_gui ARM Flash Debug/GuiStruct.o does not exist.
    Compiling ‘GuiStruct.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiStruct.d" -MQ "avatar_gc_gui ARM Flash Debug/GuiStruct.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\GuiStruct.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiStruct.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiStruct.asm" -o "avatar_gc_gui ARM Flash Debug/GuiStruct.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiStruct.asm"
    avatar_gc_gui ARM Flash Debug/GuiVar.o does not exist.
    Compiling ‘GuiVar.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiVar.d" -MQ "avatar_gc_gui ARM Flash Debug/GuiVar.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\GuiVar.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiVar.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiVar.asm" -o "avatar_gc_gui ARM Flash Debug/GuiVar.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiVar.asm"
    avatar_gc_gui ARM Flash Debug/gui.o does not exist.
    Compiling ‘gui.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/gui.d" -MQ "avatar_gc_gui ARM Flash Debug/gui.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\gui.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/gui.asm"
    implicit declaration of function 'DisPkdcarrFlow' [-Wimplicit-function-declaration]
    implicit declaration of function 'DiscarrFlow'; did you mean 'DisplayActflow'? [-Wimplicit-function-declaration]
    implicit declaration of function 'Find_Rprogrammed' [-Wimplicit-function-declaration]
    implicit declaration of function 'funcTotalRampTime' [-Wimplicit-function-declaration]
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/gui.asm" -o "avatar_gc_gui ARM Flash Debug/gui.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/gui.asm"
    avatar_gc_gui ARM Flash Debug/KeyBoard.o does not exist.
    avatar_gc_gui ARM Flash Debug/epc.o does not exist.
    Compiling ‘epc.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/epc.d" -MQ "avatar_gc_gui ARM Flash Debug/epc.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\epc.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/epc.asm"
    implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
    implicit declaration of function 'atol' [-Wimplicit-function-declaration]
    implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/epc.asm" -o "avatar_gc_gui ARM Flash Debug/epc.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/epc.asm"
    Compiling ‘KeyBoard.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/KeyBoard.d" -MQ "avatar_gc_gui ARM Flash Debug/KeyBoard.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\KeyBoard.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/KeyBoard.asm"
    implicit declaration of function 'FuncInstall_irq' [-Wimplicit-function-declaration]
    implicit declaration of function 'funcReadDataFromSlave'; did you mean 'funcSendCommandToSlave'? [-Wimplicit-function-declaration]
    implicit declaration of function 'DrawStr' [-Wimplicit-function-declaration]
    implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/KeyBoard.asm" -o "avatar_gc_gui ARM Flash Debug/KeyBoard.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/KeyBoard.asm"
    avatar_gc_gui ARM Flash Debug/flow.o does not exist.
    Compiling ‘flow.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/flow.d" -MQ "avatar_gc_gui ARM Flash Debug/flow.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\flow.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/flow.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/flow.asm" -o "avatar_gc_gui ARM Flash Debug/flow.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/flow.asm"
    avatar_gc_gui ARM Flash Debug/GuiFont.o does not exist.
    Compiling ‘GuiFont.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiFont.d" -MQ "avatar_gc_gui ARM Flash Debug/GuiFont.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\GuiFont.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiFont.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiFont.asm" -o "avatar_gc_gui ARM Flash Debug/GuiFont.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/GuiFont.asm"
    avatar_gc_gui ARM Flash Debug/LCDBritnes.o does not exist.
    Compiling ‘LCDBritnes.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LCDBritnes.d" -MQ "avatar_gc_gui ARM Flash Debug/LCDBritnes.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\LCDBritnes.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LCDBritnes.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LCDBritnes.asm" -o "avatar_gc_gui ARM Flash Debug/LCDBritnes.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LCDBritnes.asm"
    avatar_gc_gui ARM Flash Debug/crt0.o does not exist.
    Assembling ‘crt0.s’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/crt0.d" -MQ "avatar_gc_gui ARM Flash Debug/crt0.o" -quiet -lang-asm C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\crt0.s -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/crt0_PP.s"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/crt0_PP.s" -o "avatar_gc_gui ARM Flash Debug/crt0.o" -g -gdwarf-4
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/crt0_PP.s"
    avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup.o does not exist.
    Assembling ‘Philips_LPC230X_Startup.s’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup.d" -MQ "avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup.o" -quiet -lang-asm C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\Philips_LPC230X_Startup.s -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup_PP.s"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup_PP.s" -o "avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup.o" -g -gdwarf-4
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup_PP.s"
    avatar_gc_gui ARM Flash Debug/LPC230x.o does not exist.
    Compiling ‘LPC230x.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LPC230x.d" -MQ "avatar_gc_gui ARM Flash Debug/LPC230x.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\LPC230x.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LPC230x.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LPC230x.asm" -o "avatar_gc_gui ARM Flash Debug/LPC230x.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/LPC230x.asm"
    avatar_gc_gui ARM Flash Debug/VIC_PL192.o does not exist.
    Compiling ‘VIC_PL192.c’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -mtp=soft -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192.d" -MQ "avatar_gc_gui ARM Flash Debug/VIC_PL192.o" -quiet -g2 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-wchar -fshort-enums -fno-common C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\VIC_PL192.c -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192.asm"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192.asm" -o "avatar_gc_gui ARM Flash Debug/VIC_PL192.o"
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192.asm"
    avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler.o does not exist.
    Assembling ‘VIC_PL192_irq_handler.s’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork -nostdinc "-isystemC:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/include" "-isystemC:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/include" -I. -D__SHORT_WCHAR -D__SIZEOF_WCHAR_T=2 -D__ARM_ARCH_4T__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=4 -D__CROSSWORKS_MINOR_VERSION=1 -D__CROSSWORKS_REVISION=1 -D__TARGET_PROCESSOR=LPC2478 -DOSCILLATOR_CLOCK_FREQUENCY=12000000 -DDEBUG -D__FLASH_BUILD -D__ARM -MD "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler.d" -MQ "avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler.o" -quiet -lang-asm C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09\VIC_PL192_irq_handler.s -o "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler_PP.s"
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=arm7tdmi-s -mlittle-endian -mfloat-abi=soft -mthumb-interwork "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler_PP.s" -o "avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler.o" -g -gdwarf-4
    rm "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler_PP.s"
    C:/Users/naveenkumar.p/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/v4/packages/lib/liblpc2000_v4t_a_le_eabi_swc.a does not exist.
    avatar_gc_gui ARM Flash Debug/avatar_gc_gui.elf does not exist.
    Generating linker script ‘avatar_gc_gui.ld’
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/bin/mkld" -memory-map-file C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/Philips_LPC2478_MemoryMap.xml -section-placement-file C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/flash_placement.xml -check-segment-overflow -symbols __STACKSIZE__=1024;__STACKSIZE_IRQ__=256;__STACKSIZE_FIQ__=256;__STACKSIZE_SVC__=0;__STACKSIZE_ABT__=0;__STACKSIZE_UND__=0;__HEAPSIZE__=1024 "C:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/avatar_gc_gui.ld"
    Linking avatar_gc_gui.elf
    "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/gcc/arm-none-eabi/bin/ld" -X --omagic -ereset_handler -defsym=__vfprintf=__vfprintf_float_long -defsym=__vfscanf=__vfscanf_float_long_cc --fatal-warnings -EL --gc-sections "-TC:/Users/naveenkumar.p/Desktop/GC_Project/LCPU_Ver1.09/avatar_gc_gui ARM Flash Debug/avatar_gc_gui.ld" -Map "avatar_gc_gui ARM Flash Debug/avatar_gc_gui.map" -u_vectors -o "avatar_gc_gui ARM Flash Debug/avatar_gc_gui.elf" --emit-relocs --start-group "avatar_gc_gui ARM Flash Debug/avtar_gc_main.o" "avatar_gc_gui ARM Flash Debug/uart.o" "avatar_gc_gui ARM Flash Debug/GuiDisplay.o" "avatar_gc_gui ARM Flash Debug/GuiLib.o" "avatar_gc_gui ARM Flash Debug/GuiStruct.o" "avatar_gc_gui ARM Flash Debug/GuiVar.o" "avatar_gc_gui ARM Flash Debug/gui.o" "avatar_gc_gui ARM Flash Debug/KeyBoard.o" "avatar_gc_gui ARM Flash Debug/epc.o" "avatar_gc_gui ARM Flash Debug/flow.o" "avatar_gc_gui ARM Flash Debug/GuiFont.o" "avatar_gc_gui ARM Flash Debug/LCDBritnes.o" "avatar_gc_gui ARM Flash Debug/crt0.o" "avatar_gc_gui ARM Flash Debug/Philips_LPC230X_Startup.o" "avatar_gc_gui ARM Flash Debug/LPC230x.o" "avatar_gc_gui ARM Flash Debug/VIC_PL192.o" "avatar_gc_gui ARM Flash Debug/VIC_PL192_irq_handler.o" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libarm_v4t_a_le_eabi_swc.a" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libdebugio_dcc_v4t_a_le_eabi_swc.a" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libm_v4t_a_le_eabi_swc.a" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libc_v4t_a_le_eabi_swc.a" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libcpp_v4t_a_le_eabi_swc.a" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libdebugio_v4t_a_le_eabi_swc.a" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libvfprintf_v4t_a_le_eabi_swc.o" "C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libvfscanf_v4t_a_le_eabi_swc.o" --end-group
    avatar_gc_gui ARM Flash Debug/uart.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/uart.c:55: multiple definition of `intCounter'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:224: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:89: multiple definition of `gcSplitNum'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:143: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:169: multiple definition of `Dispmv'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:236: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:170: multiple definition of `splitstatus'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:141: first defined here
    avatar_gc_gui ARM Flash Debug/gui.o:C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/gui.c:282: multiple definition of `epcpara'
    C:\Users\naveenkumar.p\Desktop\GC_Project\LCPU_Ver1.09/avtar_gc_main.c:548: first defined here
    .bss is too large to fit in SRAM memory segment
    C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.1/lib/libc_v4t_a_le_eabi_swc.a(libc2.o): In function `__aeabi_errno_addr':
    libc2.c:(.text.libc.__aeabi_errno_addr+0x4): undefined reference to `__aeabi_read_tp'
    .bss is too large to fit in SRAM memory segment
    Build failed

     

    0
    Comment actions Permalink
  • Avatar
    navin

    Is ‘Philips_LPC230X_Startup.s' a project local file? If so can you compare it to the one that is in $(PackagesDir)/targets/Philips_LPC210X

     

    Philips_LPC210X file not available in target directory.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Should look something like

     

    0
    Comment actions Permalink
  • Avatar
    navin

    Hi Michael,

    Thanks for the reply,

    Philips_LPC210X file not showing in folder, please can you check attachmentPlease help on this issue, I am new in using tool any settings required, how to solve this issues ?

    Regards,

    Nv
    .

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Use File | Open Studio Folder | Targets Folder

    0
    Comment actions Permalink
  • Avatar
    navin

    Local file (Philips_LPC230X_Startup.s):

    #include <targets/LPC2000.h>
    #define SRAM_EXCEPTIONS
    #define STARTUP_FROM_RESET // comment this line STARTUP_FROM_RESET for debugging
    #if OSCILLATOR_CLOCK_FREQUENCY==12000000

    /* Fosc = 12Mhz, Fcco = 288Mhz, cclk = 72Mhz, usbclk = 48Mhz */
    #ifndef PLLCFG_VAL
    #define PLLCFG_VAL ((11 << PLLCFG_MSEL_BIT) | (0 << PLLCFG_NSEL_BIT))
    #endif
    #ifndef CCLKCFG_VAL
    #define CCLKCFG_VAL 3
    #endif
    #ifndef USBCLKCFG_VAL
    #define USBCLKCFG_VAL 5
    #endif

    #endif

    #ifndef MAMCR_VAL
    #define MAMCR_VAL 2
    #endif

    #ifndef MAMTIM_VAL
    #define MAMTIM_VAL 3
    #endif

    .section .vectors, "ax"
    .code 32
    .align 0
    .global _vectors
    .global reset_handler

    /*****************************************************************************
    * Exception Vectors *
    *****************************************************************************/
    _vectors:
    ldr pc, [pc, #reset_handler_address - . - 8] /* reset */
    ldr pc, [pc, #undef_handler_address - . - 8] /* undefined instruction */
    ldr pc, [pc, #swi_handler_address - . - 8] /* swi handler */
    ldr pc, [pc, #pabort_handler_address - . - 8] /* abort prefetch */
    ldr pc, [pc, #dabort_handler_address - . - 8] /* abort data */
    #ifdef VECTORED_IRQ_INTERRUPTS
    .word 0xB9206E58 /* boot loader checksum */
    ldr pc, [pc, #-0x120] /* irq handler */
    #else
    .word 0xB8A06F60 /* boot loader checksum */
    ldr pc, [pc, #irq_handler_address - . - 8] /* irq handler */
    #endif
    ldr pc, [pc, #fiq_handler_address - . - 8] /* fiq handler */

    reset_handler_address:
    #ifdef STARTUP_FROM_RESET
    .word reset_handler
    #else
    .word reset_wait
    #endif
    undef_handler_address:
    .word undef_handler
    swi_handler_address:
    .word swi_handler
    pabort_handler_address:
    .word pabort_handler
    dabort_handler_address:
    .word dabort_handler
    #ifndef VECTORED_IRQ_INTERRUPTS
    irq_handler_address:
    .word irq_handler
    #endif
    fiq_handler_address:
    .word fiq_handler

    .section .init, "ax"
    .code 32
    .align 0

    /******************************************************************************
    * *
    * Default exception handlers *
    * *
    ******************************************************************************/
    reset_handler:
    ldr r0, =SCB_BASE

    #if defined(PLLCFG_VAL) && !defined(NO_PLL_ENABLE)
    /* Configure PLL Multiplier/Divider */
    ldr r1, [r0, #PLLSTAT_OFFSET]
    tst r1, #PLLSTAT_PLLC
    beq 1f

    /* Disconnect PLL */
    ldr r1, =PLLCON_PLLE
    str r1, [r0, #PLLCON_OFFSET]
    mov r1, #0xAA
    str r1, [r0, #PLLFEED_OFFSET]
    mov r1, #0x55
    str r1, [r0, #PLLFEED_OFFSET]
    1:
    /* Disable PLL */
    ldr r1, =0
    str r1, [r0, #PLLCON_OFFSET]
    mov r1, #0xAA
    str r1, [r0, #PLLFEED_OFFSET]
    mov r1, #0x55
    str r1, [r0, #PLLFEED_OFFSET]

    /* Enable main oscillator */
    ldr r1, [r0, #SCS_OFFSET]
    orr r1, r1, #SCS_OSCEN
    str r1, [r0, #SCS_OFFSET]
    1:
    ldr r1, [r0, #SCS_OFFSET]
    tst r1, #SCS_OSCSTAT
    beq 1b

    /* Select main oscillator as the PLL clock source */
    ldr r1, =1
    str r1, [r0, #CLKSRCSEL_OFFSET]

    /* Set PLLCFG */
    ldr r1, =PLLCFG_VAL
    str r1, [r0, #PLLCFG_OFFSET]
    mov r1, #0xAA
    str r1, [r0, #PLLFEED_OFFSET]
    mov r1, #0x55
    str r1, [r0, #PLLFEED_OFFSET]

    /* Enable PLL */
    ldr r1, =PLLCON_PLLE
    str r1, [r0, #PLLCON_OFFSET]
    mov r1, #0xAA
    str r1, [r0, #PLLFEED_OFFSET]
    mov r1, #0x55
    str r1, [r0, #PLLFEED_OFFSET]

    #ifdef CCLKCFG_VAL
    /* Set the CPU clock divider */
    ldr r1, =CCLKCFG_VAL
    str r1, [r0, #CCLKCFG_OFFSET]
    #endif

    #ifdef USBCLKCFG_VAL
    /* Set the CPU clock divider */
    ldr r1, =USBCLKCFG_VAL
    str r1, [r0, #USBCLKCFG_OFFSET]
    #endif

    /* Wait for PLL to lock */
    1:
    ldr r1, [r0, #PLLSTAT_OFFSET]
    tst r1, #PLLSTAT_PLOCK
    beq 1b
    /* PLL Locked, connect PLL as clock source */
    mov r1, #(PLLCON_PLLE | PLLCON_PLLC)
    str r1, [r0, #PLLCON_OFFSET]
    mov r1, #0xAA
    str r1, [r0, #PLLFEED_OFFSET]
    mov r1, #0x55
    str r1, [r0, #PLLFEED_OFFSET]
    /* Wait for PLL to connect */
    1:
    ldr r1, [r0, #PLLSTAT_OFFSET]
    tst r1, #PLLSTAT_PLLC
    beq 1b
    #endif

    /* Initialise memory accelerator module */
    mov r1, #0
    str r1, [r0, #MAMCR_OFFSET]
    ldr r1, =MAMTIM_VAL
    str r1, [r0, #MAMTIM_OFFSET]
    ldr r1, =MAMCR_VAL
    str r1, [r0, #MAMCR_OFFSET]

    #if defined(SRAM_EXCEPTIONS)
    /* Copy exception vectors into SRAM */
    mov r8, #0x40000000
    ldr r9, =_vectors
    ldmia r9!, {r0-r7}
    stmia r8!, {r0-r7}
    ldmia r9!, {r0-r6}
    stmia r8!, {r0-r6}

    /* Re-map interrupt vectors from SRAM */
    ldr r0, =SCB_BASE
    mov r1, #2 /* User RAM Mode. Interrupt vectors are re-mapped from SRAM */
    str r1, [r0, #MEMMAP_OFFSET]
    #endif /* SRAM_EXCEPTIONS */

    b _start

    #ifndef STARTUP_FROM_RESET
    reset_wait:
    b reset_wait
    #endif

    /******************************************************************************
    * *
    * Default exception handlers *
    * These are declared weak symbols so they can be redefined in user code. *
    * *
    ******************************************************************************/
    undef_handler:
    b undef_handler

    swi_handler:
    b swi_handler

    pabort_handler:
    b pabort_handler

    dabort_handler:
    b dabort_handler

    fiq_handler:
    b fiq_handler

    irq_handler:
    b irq_handler

    .weak undef_handler, swi_handler, pabort_handler, dabort_handler, fiq_handler, irq_handler

     

     

     

    Target file (Philips_LPC210X_Startup.s) :

     

    #ifndef PLLCFG_VAL

    #if OSCILLATOR_CLOCK_FREQUENCY==10000000

    /* Fosc = 10Mhz, P = 2, M = 6 : Fcco = 240Mhz, cclk = 60Mhz */
    #define PLLCFG_VAL 0x25

    #elif OSCILLATOR_CLOCK_FREQUENCY==12000000

    /* Fosc = 12Mhz, P = 2, M = 5 : Fcco = 240Mhz, cclk = 60Mhz */
    #define PLLCFG_VAL 0x24

    #elif OSCILLATOR_CLOCK_FREQUENCY==14745600

    /* Fosc = 14.7456Mhz, P = 2, M = 4 : Fcco = 235.9296Mhz, cclk = 58.9824Mhz */
    #define PLLCFG_VAL 0x23

    #endif
    #endif

    #ifndef MAMCR_VAL
    #define MAMCR_VAL 2
    #endif

    #ifndef MAMTIM_VAL
    #define MAMTIM_VAL 3
    #endif

    #ifndef VPBDIV_VAL
    #define VPBDIV_VAL 2
    #endif

    #define PCB_BASE 0xE002C000
    #define PCB_PINSEL0_OFFS 0x00
    #define PCB_PINSEL1_OFFS 0x04
    #define PCB_PINSEL2_OFFS 0x14

    #define SCB_BASE 0xE01FC000
    #define SCB_MAMCR_OFFS 0x000
    #define SCB_MAMTIM_OFFS 0x004
    #define SCB_MEMMAP_OFFS 0x040
    #define SCB_PLLCON_OFFS 0x080
    #define SCB_PLLCFG_OFFS 0x084
    #define SCB_PLLSTAT_OFFS 0x088
    #define SCB_PLLFEED_OFFS 0x08C
    #define SCB_VPBDIV_OFFS 0x100

    #define EMC_BASE 0xFFE00000
    #define EMC_BCFG0_OFFS 0x00
    #define EMC_BCFG1_OFFS 0x04
    #define EMC_BCFG2_OFFS 0x08
    #define EMC_BCFG3_OFFS 0x0C

    .section .vectors, "ax"
    .code 32
    .align 0
    .global _vectors
    .global reset_handler

    /*****************************************************************************
    * Exception Vectors *
    *****************************************************************************/
    _vectors:
    ldr pc, [pc, #reset_handler_address - . - 8] /* reset */
    ldr pc, [pc, #undef_handler_address - . - 8] /* undefined instruction */
    ldr pc, [pc, #swi_handler_address - . - 8] /* swi handler */
    ldr pc, [pc, #pabort_handler_address - . - 8] /* abort prefetch */
    ldr pc, [pc, #dabort_handler_address - . - 8] /* abort data */
    #ifdef VECTORED_IRQ_INTERRUPTS
    .word 0xB9205F88 /* boot loader checksum */
    ldr pc, [pc, #-0xFF0] /* irq handler */
    #else
    .word 0xB8A06F60 /* boot loader checksum */
    ldr pc, [pc, #irq_handler_address - . - 8] /* irq handler */
    #endif
    ldr pc, [pc, #fiq_handler_address - . - 8] /* fiq handler */

    reset_handler_address:
    #ifdef STARTUP_FROM_RESET
    .word reset_handler
    #else
    .word reset_wait
    #endif
    undef_handler_address:
    .word undef_handler
    swi_handler_address:
    .word swi_handler
    pabort_handler_address:
    .word pabort_handler
    dabort_handler_address:
    .word dabort_handler
    #ifndef VECTORED_IRQ_INTERRUPTS
    irq_handler_address:
    .word irq_handler
    #endif
    fiq_handler_address:
    .word fiq_handler

    .section .init, "ax"
    .code 32
    .align 0

    /******************************************************************************
    * *
    * Default exception handlers *
    * *
    ******************************************************************************/
    reset_handler:
    ldr r0, =SCB_BASE

    #if defined(PLLCFG_VAL) && !defined(NO_PLL_ENABLE)
    /* Configure PLL Multiplier/Divider */
    ldr r1, =PLLCFG_VAL
    str r1, [r0, #SCB_PLLCFG_OFFS]
    /* Enable PLL */
    mov r1, #0x1
    str r1, [r0, #SCB_PLLCON_OFFS]
    mov r1, #0xAA
    str r1, [r0, #SCB_PLLFEED_OFFS]
    mov r1, #0x55
    str r1, [r0, #SCB_PLLFEED_OFFS]
    /* Wait for PLL to lock */
    pll_lock_loop:
    ldr r1, [r0, #SCB_PLLSTAT_OFFS]
    tst r1, #0x400
    beq pll_lock_loop
    /* PLL Locked, connect PLL as clock source */
    mov r1, #0x3
    str r1, [r0, #SCB_PLLCON_OFFS]
    mov r1, #0xAA
    str r1, [r0, #SCB_PLLFEED_OFFS]
    mov r1, #0x55
    str r1, [r0, #SCB_PLLFEED_OFFS]
    #endif

    /* Initialise memory accelerator module */
    mov r1, #0
    str r1, [r0, #SCB_MAMCR_OFFS]
    ldr r1, =MAMTIM_VAL
    str r1, [r0, #SCB_MAMTIM_OFFS]
    ldr r1, =MAMCR_VAL
    str r1, [r0, #SCB_MAMCR_OFFS]

    /* Configure the VPB clock */
    ldr r1, =VPBDIV_VAL
    str r1, [r0, #SCB_VPBDIV_OFFS]

    #if defined(PINSEL0_VAL) || defined(PINSEL1_VAL) || defined(PINSEL2_VAL)
    /* Configure Pins */
    ldr r0, =PCB_BASE
    #endif
    #if defined(PINSEL0_VAL)
    ldr r1, =PINSEL0_VAL
    str r1, [r0, #PCB_PINSEL0_OFFS]
    #endif
    #if defined(PINSEL1_VAL)
    ldr r1, =PINSEL1_VAL
    str r1, [r0, #PCB_PINSEL1_OFFS]
    #endif
    #if defined(PINSEL2_VAL)
    ldr r1, =PINSEL2_VAL
    str r1, [r0, #PCB_PINSEL2_OFFS]
    #endif

    #if defined(BCFG0_VAL) || defined(BCFG1_VAL) || defined(BCFG2_VAL) || defined(BCFG3_VAL)
    /* Configure EMI */
    ldr r0, =EMC_BASE
    #endif
    #if defined(BCFG0_VAL)
    ldr r1, =BCFG0_VAL
    str r1, [r0, #EMC_BCFG0_OFFS]
    #endif
    #if defined(BCFG1_VAL)
    ldr r1, =BCFG1_VAL
    str r1, [r0, #EMC_BCFG1_OFFS]
    #endif
    #if defined(BCFG2_VAL)
    ldr r1, =BCFG2_VAL
    str r1, [r0, #EMC_BCFG2_OFFS]
    #endif
    #if defined(BCFG3_VAL)
    ldr r1, =BCFG3_VAL
    str r1, [r0, #EMC_BCFG3_OFFS]
    #endif

    #if defined(SRAM_EXCEPTIONS)
    /* Copy exception vectors into SRAM */
    mov r8, #0x40000000
    ldr r9, =_vectors
    ldmia r9!, {r0-r7}
    stmia r8!, {r0-r7}
    ldmia r9!, {r0-r6}
    stmia r8!, {r0-r6}

    /* Re-map interrupt vectors from SRAM */
    ldr r0, =SCB_BASE
    mov r1, #2 /* User RAM Mode. Interrupt vectors are re-mapped from SRAM */
    str r1, [r0, #SCB_MEMMAP_OFFS]
    #endif /* SRAM_EXCEPTIONS */

    b _start

    #ifndef STARTUP_FROM_RESET
    reset_wait:
    b reset_wait
    #endif

    /******************************************************************************
    * *
    * Default exception handlers *
    * These are declared weak symbols so they can be redefined in user code. *
    * *
    ******************************************************************************/
    undef_handler:
    b undef_handler

    swi_handler:
    b swi_handler

    pabort_handler:
    b pabort_handler

    dabort_handler:
    b dabort_handler

    fiq_handler:
    b fiq_handler

    irq_handler:
    b irq_handler

    .weak undef_handler, swi_handler, pabort_handler, dabort_handler, fiq_handler, irq_handler

     

    Above attached file selected Philips_LPC210X folder contains only one file .

     

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.