From: Lee W. W. <lw...@ds...> - 2007-10-10 18:43:19
|
I had the 2nd problem before. What I did was to go to the UART.h file = and remove all the <'> characters that are causing the problem. Thanks & Regards, Lee Wei Wei -----Original Message----- From: gum...@li... on behalf of Marq = Rasmussen Sent: Thu 10/11/2007 2:05 AM To: gum...@li... Subject: [Gumstix-users] Problems compiling robostix programs =20 I installed the avr gcc compiler as per instructions on this page http://docwiki.gumstix.org/Robostix_avr_gcc and then checked out the = entire robostix tree from the svn. When I try to compile the Simple-Servo = program I get the following error: ___________________________________________________________ marq@linux:~/robostix/Simple-Servo> make ../Rules.mk:205: warning: overriding commands for target `Simple-Servo' ../Rules.mk:14: warning: ignoring old commands for target `Simple-Servo' make: Circular Simple-Servo <- Simple-Servo dependency dropped. /home/marq/avr/bin/../lib/gcc/avr/4.2.0/../../../../avr/lib/avr5/crtm128.= o: In function `__bad_interrupt': ../../../../crt1/gcrt1.S:123: undefined reference to `main' make: *** [.o] Error 1 ___________________________________________________________ When I try to compile the Simple-Servo-2 or the Flash-LED programs I get = a different error: __________________________________________________________ marq@linux:~/robostix/Simple-Servo-2> make Compiling Simple-Servo-2.c ... In file included from Simple-Servo-2.c:24: ../Common/UART.h:91:42: error: missing terminating ' character ../Common/UART.h:95:42: error: missing terminating ' character ../Common/UART.h:153:39: error: missing terminating ' character ../Common/UART.h:157:39: error: missing terminating ' character ../Common/UART.h:198:39: error: missing terminating ' character ../Common/UART.h:202:39: error: missing terminating ' character ../Common/UART.h:249:39: error: missing terminating ' character ../Common/UART.h:253:39: error: missing terminating ' character ../Common/UART.h:294:39: error: missing terminating ' character ../Common/UART.h:298:39: error: missing terminating ' character make: *** [Simple-Servo-2.o] Error 1 ___________________________________________________ The only program I can get to compile is the Simple-Flasher program: ___________________________________________________ marq@linux:~/robostix/Simple-Flasher> make Compiling Simple-Flasher.c ... Compiling ../Common/Delay.c ... Compiling ../Common/Timer.c ... Linking Simple-Flasher.elf ... AVR Memory Usage: ----------------- Device: atmega128 Program: 622 bytes (0.5% Full) (.text + .data + .bootloader) Data: 3 bytes (0.1% Full) (.data + .bss + .noinit) Creating Simple-Flasher.hex ... ________________________________________________________ Any ideas on what I am doing wrong??? Thanks for your help guys Marq --=20 View this message in context: = http://www.nabble.com/Problems-compiling-robostix-programs-tf4602429.html= #a13141077 Sent from the Gumstix mailing list archive at Nabble.com. -------------------------------------------------------------------------= This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |