Hallo Leute,
ich habe von meinen Microchip Studio Projekt erstellt und habe einen Include erstellt (Header-Datei und C-Datei). Nach Kompilieren kommt eine Fehlermeldung die ich nicht weis was der Fehler ist.
Könnt ihr mir helfen?
Grüße
Patrick Dreger
-----------------------------------------------------------------
Hi guys,
I have created from my Microchip Studio project and have created an include (header file and C file). After compiling comes an error message which I don't know what the error is.
Can you help me?
Greetings
Patrick Dreger
Error-Code
Severity |Description |Line |Column Error |invalid operands (*UND* and *UND* sections) for `/' |29 |1 Error |invalid operands (*UND* and *UND* sections) for `|' |53 |1 Error |recipe for target 'Includes/I2C_Master.o' failed |82 |1 OUTPUT: ------ Build started: Project: Leuchtmitteltester, Configuration: Debug AVR ------ Build started. Project "Leuchtmitteltester.cppproj" (default targets): Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!=''). Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "E:\Microchip Studio\Leuchtmitteltester\Leuchtmitteltester\Leuchtmitteltester.cppproj" (target "Build" depends on it): Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll". Task "RunCompilerTask" Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 8 --output-sync Building file: ../Includes/I2C_Master.c Invoking: AVR8/GNU C Compiler : 5.4.0 C:\Users\PATRIC~1\AppData\Local\Temp\ccs5r0nb.s: Assembler messages: C:\Users\Patrick Dreger\AppData\Local\Temp\ccs5r0nb.s(29,1): error: invalid operands (*UND* and *UND* sections) for `/' C:\Users\Patrick Dreger\AppData\Local\Temp\ccs5r0nb.s(53,1): error: invalid operands (*UND* and *UND* sections) for `|' make: *** [Includes/I2C_Master.o] Error 1 "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -x c -funsigned-char -funsigned-bitfields -DDEBUG -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.6.364\include" -Og -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega32 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.6.364\gcc\dev\atmega32" -c -std=gnu99 -MD -MP -MF "Includes/I2C_Master.d" -MT"Includes/I2C_Master.d" -MT"Includes/I2C_Master.o" -o "Includes/I2C_Master.o" "../Includes/I2C_Master.c" E:\Microchip Studio\Leuchtmitteltester\Leuchtmitteltester\Debug\Makefile(82,1): error: recipe for target 'Includes/I2C_Master.o' failed Done executing task "RunCompilerTask" -- FAILED. Done building target "CoreBuild" in project "Leuchtmitteltester.cppproj" -- FAILED. Done building project "Leuchtmitteltester.cppproj" -- FAILED. Build FAILED. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========