こんにちはゲストさん。会員登録(無料)して質問・回答してみよう!

回答受付中の質問

[Joystick.elf] Error 1とは

tennsyでドット絵を作ろうとしたのですが
C:\Users\本名\Desktop\Switch-Fightstick-1.2.0f>python bin2c.py supura0717ikatako.data > image.c
Traceback (most recent call last):
File "bin2c.py", line 51, in <module>
main(sys.argv[1:])
File "bin2c.py", line 34, in main
with open('image.c', 'w') as f:
IOError: [Errno 13] Permission denied: 'image.c'
------------------------------------------------------------------
C:\Users\本名\Desktop\Switch-Fightstick-1.2.0f>> python bin2c.py supura0717ikatako.data

C:\Users\本名\Desktop\Switch-Fightstick-1.2.0f>make
0 [main] sh 11676 sync_with_child: child 11368(0x1A8) died before initialization with status code 0xC0000142
143 [main] sh 11676 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
0 [main] sh 19588 sync_with_child: child 18764(0x1B4) died before initialization with status code 0xC0000142
166 [main] sh 19588 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
0 [main] sh 19196 sync_with_child: child 20264(0x1B8) died before initialization with status code 0xC0000142
765 [main] sh 19196 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
[INFO] : Begin compilation of project "Joystick"...

avr-gcc (WinAVR 20100110) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[GCC] : Compiling C file "image.c"
avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=at90usb1286 -fshort-enums -fno-inline-small-functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections -I. -DARCH=ARCH_AVR8 -DF_CPU=16000000UL -mrelax -fno-jump-tables -x c -Os -std=gnu99 -Wstrict-prototypes -DUSE_LUFA_CONFIG_HEADER -IConfig/ -I. -I./LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BOARD_NONE -DF_USB=16000000UL -MMD -MP -MF obj/image.d image.c -o obj/image.o
[LNK] : Linking object files into "Joystick.elf"
avr-gcc obj/Joystick.o obj/Descriptors.o obj/image.o obj/HIDParser.o obj/Device_AVR8.o obj/EndpointStream_AVR8.o obj/Endpoint_AVR8.o obj/Host_AVR8.o obj/PipeStream_AVR8.o obj/Pipe_AVR8.o obj/USBController_AVR8.o obj/USBInterrupt_AVR8.o obj/ConfigDescriptors.o obj/DeviceStandardReq.o obj/Events.o obj/HostStandardReq.o obj/USBTask.o -o Joystick.elf -lm -Wl,-Map=Joystick.map,--cref -Wl,--gc-sections -Wl,--relax -mmcu=at90usb1286
obj/Joystick.o: In function `GetNextReport':
C:\Users\本名\Desktop\Switch-Fightstick-1.2.0f/Joystick.c:360: undefined reference to `image_data'
C:\Users\本名\Desktop\Switch-Fightstick-1.2.0f/Joystick.c:360: undefined reference to `image_data'
make: *** [Joystick.elf] Error 1

とでて画像のような変なことになります。
原因と対策を教えてください。何卒宜しくお願い致します。

投稿日時 - 2018-07-21 14:31:09

QNo.9520367

困ってます

回答(0)

この質問にはまだ回答がついていません。
あなたが最初に回答してみませんか?