Advertisement
tthtlc

codesourcery

May 17th, 2014
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. tthtlchome:/home/tthtlc/Downloads/linux-3.14.4>/root/sat/bin/arm-none-eabi-gcc -static test.c -o mytest -nostdlib -lnosys
  2. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008000
  3. /tmp/ccZkeoH2.o: In function `main':
  4. test.c:(.text+0xc): undefined reference to `puts'
  5. collect2: ld returned 1 exit status
  6.  
  7.  
  8. tthtlchome:/home/tthtlc/Downloads/linux-3.14.4>/root/sat/bin/arm-none-eabi-gcc -static test.c -o mytest -nostdlib
  9. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008000
  10. /tmp/ccl72HMS.o: In function `main':
  11. test.c:(.text+0xc): undefined reference to `puts'
  12. collect2: ld returned 1 exit status
  13.  
  14.  
  15. /root/sat/bin/arm-none-eabi-gcc -static test.c -o mytest
  16. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
  17. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/stdlib/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/stdlib/exit.c:65: undefined reference to `_exit'
  18. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
  19. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/sbrkr.c:60: undefined reference to `_sbrk'
  20. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-writer.o): In function `_write_r':
  21. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/writer.c:58: undefined reference to `_write'
  22. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-closer.o): In function `_close_r':
  23. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/closer.c:53: undefined reference to `_close'
  24. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-fstatr.o): In function `_fstat_r':
  25. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/fstatr.c:62: undefined reference to `_fstat'
  26. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-isattyr.o): In function `_isatty_r':
  27. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/isattyr.c:58: undefined reference to `_isatty'
  28. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-lseekr.o): In function `_lseek_r':
  29. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/lseekr.c:58: undefined reference to `_lseek'
  30. /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-readr.o): In function `_read_r':
  31. /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/readr.c:58: undefined reference to `_read'
  32. collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement