Elf Error 1
Contents |
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How
Make Elf Error 1 Eclipse
to Contribute Working Groups Automotive Internet of Things LocationTech Long-Term Support eclipse make error 1 PolarSys Science OpenMDM Toggle navigation Home Projects Forums Eclipse Community Forums Forum Search: Search Help make * * * error Register Login Home Home» Language IDEs» C / C++ IDE (CDT)» Can't make CodeSourcery G++ for ARM m4 work on Eclipse Show: Today's Messages :: Show
__libc_init_array
Polls :: Message Navigator Can't make CodeSourcery G++ for ARM m4 work on Eclipse [message #853257] Sun, 22 April 2012 22:04 Danny MMessages: 5Registered: April 2012 Junior Member Not sure if it's an Eclipse issue, either way, I could really really use some help. I have plenty of experience with microcontrollers, C, and the PIC MPLAB IDE. I now have the STM32F4 Discovery kit with the ARM Cortex m4 on it. So, time to learn a new thing, but the toolchain for the m4 seems to be less than "well-established". I tried to follow the procedure at http: //shareee.netne.net/wordpress/?p=5 to use CodeSourcery G++ Lite for Cortex m4 with the demo LED_Blink project, designed for the STM32F4 board, with the Eclipse Indigo IDE. I had trouble with the long list shown there in "Paths and Symbols", no such list was showing up by default and the install path names for my EABI package was somewhat different. I skipped that step, tried to compile, of course it bombed because it couldn't find certain files, I looked for where those files were and added them under "Paths and Symbols". Now I get a situation where there are no FILES which can't be found, so that's good, but an issue of unresolved symbols shows up from core_cm4.h: make: *** [Template.elf] Error 1 Symbol '__NVIC_PRIO_BITS' could not be resol
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only https://www.eclipse.org/forums/index.php/t/337111/ takes a minute: Sign up Eclipse Arduino make: *** error 1 up vote 2 down vote favorite Below is the error that I get when I try to build my project. I am unsure what file or directory it is talking about. All the files and directories are within the project directory. I followed the instructions in http://arduino.cc/playground/Code/Eclipse to set up http://stackoverflow.com/questions/11002866/eclipse-arduino-make-error-1 my IDE. Should the Arduino core files be within the project directory and specifically added to the Arduino core library? All I gave it was the liArduinoCore.a file that was produced by my Arduino IDE. Could this be the issue? The error message **** Build of configuration Debug for project CustomLEDPoi **** make all Building target: CustomLEDPoi.elf Invoking: AVR C++ Linker avr-gcc -Wl,-Map,CustomLEDPoi.map,--cref Wl,--gc-sections - L"C:\Users\Justin\workspaceArduino\arduino_core\src" -L"C:\Users\Justin\workspaceArduino\arduino_core\328P_16MHz Arduino\src" -L"C:\Users\Justin\workspaceArduino\CustomLEDPoi\arduinolib" -L"C:\Users\Justin\workspaceArduino\CustomLEDPoi\lib" -mmcu=atmega328p -o "CustomLEDPoi.elf" ./src/glowstick2.o ./lib/CShiftPWM.o ./lib/MeetAndroid.o ./lib/hsv2rgb.o ./arduinolib/HardwareSerial.o ./arduinolib/SPI.o -lArduinoCore avr-gcc.exe: Wl,--gc-sections: No such file or directory make: *** [CustomLEDPoi.elf] Error 1 **** Build Finished **** eclipse gcc makefile arduino avr-gcc share|improve this question edited Jun 14 '12 at 3:39 Peter Mortensen 10.2k1369107 asked Jun 12 '12 at 18:45 Spectrem 223623 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted It seems that a - is missing for Wl,--gc-sections. It should actually be -Wl,--gc-sections. Without the proper flag, the compiler assumes that it's a source file. You should check the makefile and verify. share|improve this answer answered Jun 13 '12 at 10:24 panickal 95
it enabled. Please turn JavaScript back on and reload this page.More questions in Kinetis Design Studio Where is this place located?NXP CommunityAll PlacesKinetis MicrocontrollersKinetis Design StudioLog in https://community.nxp.com/thread/356881 to create and rate content, and to follow, bookmark, and share content with other members.AnsweredAssumed Answered.elf errorQuestion asked by Kevyn Schwab on Jun 4, 2015Latest reply on Jun 8, 2015 by Kevyn Schwab Like • Show 0 Likes0 Comment • 6After adding and removing a WAIT component in my project, I rebuilt and error 1 got an .elf error. Here is the complete error message:make: *** [Ultrasonic Flow Sensor.elf] Error 1Location: line 0It's odd because this is literally all of the information that KDS gives me. How can I fix this?No one else has this questionMark as assumed answeredOutcomesVisibility: Kinetis Design Studio772 ViewsLast modified on Jun 4, 2015 5:26 elf error 1 AMTags:.elfContent tagged with .elferror.Content tagged with error.kdsContent tagged with kdsThis content has been marked as final. Show 6 comments6 RepliesNameEmail AddressWebsite AddressName(Required)Email Address(Required, will not be published)Website AddressAlice_Yang Jun 4, 2015 6:14 PMMark CorrectCorrect AnswerHello Kevyn,(1) Please show the detail error in "Console" window .(2) Please tell me Your KDS version , and the chip part number .BRAliceLike • Show 0 Likes0 Actions Kevyn Schwab @ null on Jun 5, 2015 8:33 AMMark CorrectCorrect AnswerHello Alice,Thank you for responding to me. The error message is accompanied by very little information. Here is what the console contains upon building my project:08:55:42 **** Incremental Build of configuration Debug for project Ultrasonic Flow Sensor ****make all'Building target: Ultrasonic Flow Sensor.elf''Invoking: Cross ARM C++ Linker'arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g3 -T "C:/Users/kschwab/workspace.kds/Ultrasonic Flow Sensor/Project_Settings/Linker_Files/ProcessorExpert.ld" -Xlinker --gc-sections -L"C:/Users/kschwab/workspace.kds/Ultrasonic Flow Sensor/Project_Settings/Linker_Files" -Wl,-Map,"Ultrasonic Flow Sensor.map" -nanolibc -o "Ultrasonic Flow Sensor.elf" ./Sources/Events.o ./Sources/Scheduler.o ./Sources/SpiCommunication.o ./Sources/UartCommunication.o ./Sources/main.o ./Sources/myMain.o ./Project_Settings/Startup_Code/startup.o ./Generated_Code/AS1.o ./Generated_Code/ASerialLdd1.o ./Generated_Code/BitIoLdd1.o ./Generated_Code/BitIoLdd2.o ./Generated_Code/Bit