em-408 GPS Module...

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:Well try a fresh download. I don't see why you should be getting those errors with that source code.
done that.
Still same error

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: em-408 GPS Module...

Post by adafruit_support_bill »

Same errors? Those are the errors you get if you try to compile an empty file. What steps exactly are you doing to compile/upload this file?

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:Same errors? Those are the errors you get if you try to compile an empty file. What steps exactly are you doing to compile/upload this file?
what steps should I take ?
never had this before…

very odd.
I will look over the whole thing again.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: em-408 GPS Module...

Post by adafruit_support_bill »

what steps should I take ?
  • Open the IDE (empty file)
    Paste in the code exactly as you posted above.
    Click on the 'Verify' (checkmark) button.

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:
what steps should I take ?
  • Open the IDE (empty file)
    Paste in the code exactly as you posted above.
    Click on the 'Verify' (checkmark) button.
Nope Blink Works but this does not…

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: em-408 GPS Module...

Post by adafruit_support_bill »

Hmmm. :?

Click on "File->Preferences" and enable the option to "Show verbose output" for compiles.

Compile again and post the output.

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:Hmmm. :?

Click on "File->Preferences" and enable the option to "Show verbose output" for compiles.

Compile again and post the output.









/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/new.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/new.cpp.o
new.cpp: In function 'void readline()':
new.cpp:98: warning: array subscript has type 'char'
new.cpp:101: warning: array subscript has type 'char'
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/utility /Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/SoftwareSerial.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/SoftwareSerial/SoftwareSerial.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/SoftwareSerial.cpp:59: warning: only initialized variables can be placed into program memory area
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/WInterrupts.c -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/WInterrupts.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/wiring.c -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/wiring_analog.c -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_analog.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/wiring_digital.c -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_digital.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/wiring_pulse.c -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_pulse.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/wiring_shift.c -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_shift.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/CDC.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/CDC.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/HardwareSerial.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/HardwareSerial.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/HID.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/HID.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/IPAddress.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/IPAddress.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/main.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/new.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/new.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/Print.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Stream.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/Stream.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Tone.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/Tone.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Tone.cpp:108: warning: only initialized variables can be placed into program memory area
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/USBCore.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/USBCore.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/WMath.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/WMath.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/WString.cpp -o/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/WString.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/WInterrupts.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_analog.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_digital.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_pulse.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/wiring_shift.c.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/CDC.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/HardwareSerial.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/HID.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/IPAddress.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/main.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/new.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/Print.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/Stream.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/Tone.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/USBCore.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/WMath.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/WString.cpp.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -Os -Wl,--gc-sections -mmcu=atmega328p -o /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/new.cpp.elf /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/new.cpp.o /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/SoftwareSerial/SoftwareSerial.cpp.o /var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp/core.a -L/var/folders/nn/sx57x4zs5jq5yjnrw6z68t7c0000gp/T/build8086632045674010689.tmp -lm
core.a(main.cpp.o): In function `main':
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:11: undefined reference to `setup'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:14: undefined reference to `loop'

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: em-408 GPS Module...

Post by adafruit_support_bill »

No idea. Your output looks pretty much the same as what I see - except for the errors.
Do you have any other instances of the IDE open? Close all but the one with the problem sketch.

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:No idea. Your output looks pretty much the same as what I see - except for the errors.
Do you have any other instances of the IDE open? Close all but the one with the problem sketch.
A simple example sketch works I winder why this one does not…

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: em-408 GPS Module...

Post by adafruit_support_bill »

What OS are you running this on? You might want to post this issue over at www.arduino.cc too.

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:What OS are you running this on? You might want to post this issue over at http://www.arduino.cc too.
lion

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

freedom wrote:
adafruit_support wrote:What OS are you running this on? You might want to post this issue over at http://www.arduino.cc too.
lion
I can confirm this fails on all my macs

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

freedom wrote:
adafruit_support wrote:What OS are you running this on? You might want to post this issue over at http://www.arduino.cc too.
lion
their web site seems to be broken it has not worked properly for a few days

freedom
 
Posts: 24
Joined: Thu Mar 10, 2011 6:35 am

Re: em-408 GPS Module...

Post by freedom »

adafruit_support wrote:What OS are you running this on? You might want to post this issue over at http://www.arduino.cc too.
OK I got it working with….
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif

but why would that work when…

#if ARDUINO >= 100
 #include "Arduino.h"
 #include "SoftwareSerial.h"
#else
 #include "WProgram.h"
 #include "SoftwareSerial.h"
#endif

did not

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: em-408 GPS Module...

Post by adafruit_support_bill »

That's odd too. Probably some subtle difference in the mac environment. I'll have to track down a mac and see if I can reproduce it here.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”