brathahn

atmel studio output i2c problem

Jun 1st, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. ------ Build started: Project: test_i2c, Configuration: Debug AVR ------
  2. Build started.
  3. Project "test_i2c.cppproj" (default targets):
  4. Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
  5. Target "CoreBuild" in file "E:\Programme\Atmel\Studio\7.0\Vs\Compiler.targets" from project "D:\AVR_data\test\test_i2c\test_i2c\test_i2c.cppproj" (target "Build" depends on it):
  6. Task "RunCompilerTask"
  7. Shell Utils Path E:\Programme\Atmel\Studio\7.0\shellUtils
  8. E:\Programme\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 8 --output-sync
  9. Building file: .././main.cpp
  10. Invoking: AVR8/GNU C Compiler : 5.4.0
  11. "E:\Programme\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-g++.exe" -funsigned-char -funsigned-bitfields -DDEBUG -I"E:\Programme\Atmel\Studio\7.0\Packs\atmel\ATtiny_DFP\1.3.229\include" -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=attiny26 -B "E:\Programme\Atmel\Studio\7.0\Packs\atmel\ATtiny_DFP\1.3.229\gcc\dev\attiny26" -c -MD -MP -MF "main.d" -MT"main.d" -MT"main.o" -o "main.o" ".././main.cpp"
  12. Finished building: .././main.cpp
  13. Building target: test_i2c.elf
  14. Invoking: AVR8/GNU Linker : 5.4.0
  15. "E:\Programme\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-g++.exe" -o test_i2c.elf i2cmaster.o main.o -Wl,-Map="test_i2c.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=attiny26 -B "E:\Programme\Atmel\Studio\7.0\Packs\atmel\ATtiny_DFP\1.3.229\gcc\dev\attiny26"
  16. D:\AVR_data\test\test_i2c\test_i2c\Debug\Makefile(118,1): error: recipe for target 'test_i2c.elf' failed
  17. main.o: In function `main':
  18. D:\AVR_data\test\test_i2c\test_i2c\main.cpp(5,1): error: undefined reference to `i2c_init()'
  19. collect2.exe(0,0): error: ld returned 1 exit status
  20. make: *** [test_i2c.elf] Error 1
  21. The command exited with code 2.
  22. Done executing task "RunCompilerTask" -- FAILED.
  23. Done building target "CoreBuild" in project "test_i2c.cppproj" -- FAILED.
  24. Done building project "test_i2c.cppproj" -- FAILED.
  25.  
  26. Build FAILED.
  27. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment