• Skip to primary navigation
  • Skip to main content
FDI: Future Designs, Inc.

FDI

Future Designs, Inc.

  • Products
    • μEZ GUI
    • ELI
    • ΣyG
    • Modular Development Kits – DK
    • Other Products
    • End of Life
    • All Products (By part number)
  • Engineering Design
  • Production
  • Support
    • Forums
  • About FDI
    • News
    • Management
    • Partners
    • Distributors
    • Practices
    • Careers
    • New Customer Referral
  • Contact Us
  • Show Search
Hide Search

Compile Warning?

Homepage › Forums › μEZ › Software › Compile Warning?

  • This topic has 0 replies, 1 voice, and was last updated 4 months, 2 weeks ago by Logan Moon.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • February 6, 2025 at 10:30 pm #16832
    Logan Moon
    Keymaster

      (This message was transferred over from our old forum)
      Posted August 19, 2015
      By Todd DeBoer
      [hr]
      On 7/27/11 Dcck asked, “I just downloaded the latest Crossworks 2.1 and tried to compile the

      uEZ\\Build\\uEZ GUI\\uEZGUI-2478-70WVE\\CrossWorks2.0\\UEZGUIDemo
      I also just downloaded uEZ 1.09

      These are the linker errors I get.
      C:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_targetio_impl_v4t_a_le.a(libc_targetio_impl.o): In function `getchar’:
      libc_targetio_impl.c:(.text.libc.getchar+0x0): multiple definition of `getchar’
      ARM Flash Debug/uEZGUI_2478_70WVE_uEZPlatform.o:C:/Projects/uEZ/Build/uEZ GUI/uEZGUI-2478-70WVE/CrossWorks2.0/UEZGUIDemo/../../../../../Source/Platform/FDI/uEZGUI_2478_70WVE/uEZGUI_2478_70WVE_uEZPlatform.c:229: first defined here
      Warning: ../../../../../Source/Processor/NXP/LPC2478/LPC247x_USBHost_Crossworks2.0.o does not support interworking, whereas ARM Flash Debug/uEZGUI-2478-70WVE.elf does

      It seems there is a getchar function in the uEZGUI_2478_70WVE_uEZPlatform.c file and is causing a multiple definition because that function is also in stdio.
      I really don’t know what to make of the Warning other than it should like the LPC247x_USBHost_Crossworks2.0.o may have been compiled in thumb mode.???”
      [hr]
      (Follow up post)

      Answered:

      I was able to get the project to compile to compile with version Crossworks 2.0.7, so there must be a change in the compiler’s library.

      As a quick fix, you can modify uEZGUI_2478_70WVE_uEZPlatform.c by removing the getchar definition. It isn’t being used in the uEZGUIDemo currently.

    • Author
      Posts
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Log In

    Partners

    NXP
    Renesas

    ARM
    SEGGER

    STMicroelectronics
    SAFERTOS

    FreeRTOS

    Copyright © 2025 Future Designs, Inc. | μEZ GUI | ELI | Engineering Design | Production | Privacy Policy | Log in