Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during linking "relocation truncated to fit" #3

Open
CR-G opened this issue Mar 1, 2017 · 0 comments
Open

Error during linking "relocation truncated to fit" #3

CR-G opened this issue Mar 1, 2017 · 0 comments

Comments

@CR-G
Copy link
Contributor

CR-G commented Mar 1, 2017

Code:
...
time = get_micros();
timeI = (time - upT);
usart_printnumber32(timeI);
usart_print("\n");
...

Error output:
[ 35%] Linking C executable ../bin/test/test_X
../bin/lib/libaavr.a(dht11.c.obj): In function getValues': /Users/User/Documents/aavrlib/src/peripherals/X.c:120:(.text+0x198): relocation truncated to fit: R_AVR_7_PCREL against no symbol'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/test/test_X] Error 1
make[1]: *** [test/CMakeFiles/test_X.dir/all] Error 2
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant