cmucam3-hardware (#1) - linker script issue (#211) - Message List
Hello,
I am installing the cmucam3 sdk under Cygwin in XP using the Quick-Start-Guide instructions in: http://www.cmucam.org/wiki/Windows-Quick-Start
I downloaded everything indicated and got the svn source as indicated in the quick start guide. I am currently trying to compile and get this error toward the end of the build:
$ make make[1]: Entering directory `/home/Usuario/cc3/projects/cmucam2'
CC cmucam2_lpc2106-cmucam3
c:/archivos de programa/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-eabi/4.2.3/../../../../arm-none-eabi/lib\libc.a(lib_a-isattyr.o): In function `_isatty_r': isattyr.c:(.text+0x18): undefined reference to `_isatty' collect2: ld returned 1 exit status make[1]: *** [cmucam2_lpc2106-cmucam3] Error 1 make[1]: Leaving directory `/home/Usuario/cc3/projects/cmucam2' make: *** [all] Error 2
I looked at the Sourcery docs in : Chapter 5. Using Sourcery G++ from the Command Line
They indicate to add a linker script:
arm-none-eabi-gcc -o hello hello.c -T script
I found mine in: /cygdrive/c/Archivos de programa/CodeSourcery/Sourcery G++ Lite/arm-none-eabi/lib
$ ls arm-names.inc generic-vfp.ld libcs3arm.a libm.a armv6-m generic.ld libcs3hosted.a libstdc++.a boards ldscripts libcs3unhosted.a libsupc++.a generic-hosted.ld libc.a libg.a thumb generic-vfp-hosted.ld libcs3.a libiberty.a thumb2
How do I add the linker script to the cmucam3 build?? I couldn't find it in the docs. Sorry to ask and thanks a lot for any help.
-
Message #558
I got the same error last night. I fixed it by installing an older version of the arm compiler. The version on the download page works http://www.cmucam.org/wiki/Downloads (filename: arm-2007q3-53-arm-none-eabi.exe). But not the one you get from going to CodeSourcery?'s homepage.
drx06/17/08 02:59:36 -
Message #559
Hi,
The latest svn has support for the newest CodeSourcery? release. (And in fact requires it.)
agoode06/17/08 20:02:47
