laptopc700 / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

CMUcam4 not supported by APM2.5? #558

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.included <CMUcam4.h> CMUCAM4 Library
2.included <CMUcom4.h> CMUCOM4 Library
3.

What is the expected output? What do you see instead?
Expected successful compiling. 

Errors Compiling and error message as attached.
core.a(HardwareSerial.cpp.o): In function `__vector_25':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:118: 
multiple definition of `__vector_25'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:130: first defined here
c:/users/max/desktop/flyer 
project/arduino-1.0.3/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../av
r/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
core.a(HardwareSerial.cpp.o): In function `__vector_36':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:152: 
multiple definition of `__vector_36'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:131: first defined here
core.a(HardwareSerial.cpp.o): In function `__vector_51':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:169: 
multiple definition of `__vector_51'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:132: first defined here
core.a(HardwareSerial.cpp.o): In function `__vector_54':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:186: 
multiple definition of `__vector_54'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:133: first defined here
core.a(HardwareSerial.cpp.o): In function `serialEvent()':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:113: 
multiple definition of `Serial'
ArduCopter_291_OA.cpp.o:(.bss.Serial+0x0): first defined here
c:/users/max/desktop/flyer 
project/arduino-1.0.3/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../av
r/bin/ld.exe: Warning: size of symbol `Serial' changed from 29 in 
ArduCopter_291_OA.cpp.o to 34 in core.a(HardwareSerial.cpp.o)
core.a(HardwareSerial.cpp.o): In function `serialEvent()':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:113: 
multiple definition of `Serial1'
ArduCopter_291_OA.cpp.o:(.bss.Serial1+0x0): first defined here
c:/users/max/desktop/flyer 
project/arduino-1.0.3/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../av
r/bin/ld.exe: Warning: size of symbol `Serial1' changed from 29 in 
ArduCopter_291_OA.cpp.o to 34 in core.a(HardwareSerial.cpp.o)
core.a(HardwareSerial.cpp.o): In function `serialEvent()':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:113: 
multiple definition of `Serial2'
ArduCopter_291_OA.cpp.o:(.bss.Serial2+0x0): first defined here
c:/users/max/desktop/flyer 
project/arduino-1.0.3/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../av
r/bin/ld.exe: Warning: size of symbol `Serial2' changed from 29 in 
ArduCopter_291_OA.cpp.o to 34 in core.a(HardwareSerial.cpp.o)
core.a(HardwareSerial.cpp.o): In function `serialEvent()':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:113: 
multiple definition of `Serial3'
ArduCopter_291_OA.cpp.o:(.bss.Serial3+0x0): first defined here
c:/users/max/desktop/flyer 
project/arduino-1.0.3/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../av
r/bin/ld.exe: Warning: size of symbol `Serial3' changed from 29 in 
ArduCopter_291_OA.cpp.o to 34 in core.a(HardwareSerial.cpp.o)
core.a(HardwareSerial.cpp.o): In function `__vector_26':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:227: 
multiple definition of `__vector_26'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:130: first defined here
core.a(HardwareSerial.cpp.o): In function `__vector_37':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:258: 
multiple definition of `__vector_37'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:131: first defined here
core.a(HardwareSerial.cpp.o): In function `__vector_52':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:275: 
multiple definition of `__vector_52'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:132: first defined here
core.a(HardwareSerial.cpp.o): In function `__vector_55':
C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3\hardware\arduino\cores\arduino/HardwareSerial.cpp:292: 
multiple definition of `__vector_55'
ArduCopter_291_OA.cpp.o:C:\Users\Max\Desktop\Flyer 
Project\arduino-1.0.3/ArduCopter_291_OA.ino:133: first defined here
ArduCopter_291_OA.cpp.o: In function `test_ins(unsigned char, Menu::arg 
const*)':
ArduCopter_291_OA.cpp:(.text._ZL8test_inshPKN4Menu3argE+0x80): warning: 
internal error: out of range error
ArduCopter_291_OA.cpp:(.text._ZL8test_inshPKN4Menu3argE+0x82): warning: 
internal error: out of range error
ArduCopter_291_OA.cpp.o: In function `setup_accel_scale(unsigned char, 
Menu::arg const*)':
ArduCopter_291_OA.cpp:(.text._ZL17setup_accel_scalehPKN4Menu3argE+0x40): 
warning: internal error: out of range error
ArduCopter_291_OA.cpp:(.text._ZL17setup_accel_scalehPKN4Menu3argE+0x42): 
warning: internal error: out of range error
ArduCopter_291_OA.cpp:(.text._ZL17setup_accel_scalehPKN4Menu3argE+0x58): 
warning: internal error: out of range error
ArduCopter_291_OA.cpp:(.text._ZL17setup_accel_scalehPKN4Menu3argE+0x5a): 
warning: internal error: out of range error
ArduCopter_291_OA.cpp.o: In function `setup_accel(unsigned char, Menu::arg 
const*)':
ArduCopter_291_OA.cpp:(.text._ZL11setup_accelhPKN4Menu3argE+0x30): warning: 
internal error: out of range error
ArduCopter_291_OA.cpp:(.text._ZL11setup_accelhPKN4Menu3argE+0x34): warning: 
internal error: out of range error
ArduCopter_291_OA.cpp.o:(.rodata._ZTV16DerivativeFilterIfLh7EE+0x6): warning: 
internal error: out of range error
ArduCopter_291_OA.cpp.o:(.rodata._ZTV16DerivativeFilterIfLh7EE+0xc): warning: 
internal error: out of range error
ArduCopter_291_OA.cpp.o:(.rodata._ZTV16DerivativeFilterIfLh7EE+0xe): warning: 
internal error: out of range error
AP_GPS\AP_GPS_MTK.cpp.o:(.rodata._ZTV10AP_GPS_MTK+0x4): warning: internal 
error: out of range error
AP_GPS\AP_GPS_MTK.cpp.o:(.rodata._ZTV10AP_GPS_MTK+0x6): warning: internal 
error: out of range error
..... 

What version of the product are you using? On what operating system?

APM2.5. using Arducopter version 2.91 software. 
Operating system: Windows 7

Please provide any additional information below.

Try troubleshooting the problem. Compiling is Successful when 
FastSerialPort0(Serial); FastSerialPort1(Serial1); FastSerialPort3(Serial3); is 
removed. During actual testing, quadcopter will not armed.

Original issue reported on code.google.com by dioson...@gmail.com on 11 Mar 2013 at 12:06

GoogleCodeExporter commented 9 years ago
Closing all issues on the old issues list by marking them WontFix.

If this is still a valid issue please re-raise it on the new GitHub issues 
list: https://github.com/diydrones/ardupilot/issues

Thanks!

Original comment by rmackay...@gmail.com on 21 Jul 2013 at 2:14