-
Notifications
You must be signed in to change notification settings - Fork 261
make error(s) #50
Copy link
Copy link
Open
Description
Hey, I tried installing the code and I followed all the steps up to make but when I ran make it gave me the following errors.
❱ make
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
/bin/sh: line 0: test: -lt: unary operator expected
sdcc --model-large --std-c99 -c src/main.c -o bin/main.rel
sdcc --model-large --std-c99 -c src/usb.c -o bin/usb.rel
sdcc --model-large --std-c99 -c src/usb_desc.c -o bin/usb_desc.rel
sdcc --model-large --std-c99 -c src/radio.c -o bin/radio.rel
sdcc --xram-loc 0x8000 --xram-size 2048 --model-large bin/main.rel bin/usb.rel bin/usb_desc.rel bin/radio.rel -o bin/dongle.ihx
objcopy -I ihex bin/dongle.ihx -O binary bin/dongle.bin
make: objcopy: No such file or directory
make: *** [dongle.bin] Error 1
❱
first off, grep -P doesn't work (or even exist)
second, I have no idea how make works because it says it ran test -lt and I don't see that in the makefile
and last it looks like it can't find obj copy or dongle.bin
Any help would be appreciated,
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels