Problem with linker

Sysprogs forums Forums VisualGDB Problem with linker

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29631
    Hajoe-2
    Participant

    I’m evaluating VisualGDB for my company. For our linux devices it works fine. But now i have a problem with our Nios2 devices (using an altera toolchain). I set up the project using the VisualGDB embbeded project wizzard.  The project builds fine with all subprojects (static linked libraries) but when the linker wants to link the binary itself i get the following:

    Linking C executable xxxxx.elf
    corelib/libcorelib.a:1: error: expected identifier or ‘(‘ before ‘!’ token
    corelib/libcorelib.a:2: error: stray ‘`’ in program
    corelib/libcorelib.a:3:1: warning: null character(s) ignored
    corelib/libcorelib.a:3: error: stray ‘\1’ in program
    corelib/libcorelib.a:3:5: warning: null character(s) ignored
    corelib/libcorelib.a:3:7: warning: null character(s) preserved in literal

    and so on…

    The linker seems to have a problem with the ” character. What shall i do?

     

    #29632
    support
    Keymaster

    Hi,

    This looks like a bug in a specific toolchain, rather than a VisualGDB issue. We can gladly help you find the root cause and devise a workaround, however as the issue is not in VisualGDB itself, we would have to charge a consulting fee for this work. Please contact our sales for a quote if you are interested.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.