Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Ask for help -- global pointer error

Hi,guys, i am trying to complie a C program to transfer data from memory to momory by using DMA, however ,the error is that "Unable to reach errno (at 0x00002020) from the global pointer (at 0x0000c07c) because the offset (-41052) is out of the allowed range, -32678 to 32767."

Can anyone help me to explain that? thank you~:)

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try compiling with the -G0 option. This disables the global pointer.

    Please go to the NiosII forum for futher help

    Stefaan