ytomino / drake

Drake: A Runtime Library for gcc-Ada
https://github.com/ytomino/drake/wiki
MIT License
42 stars 10 forks source link

No rule to make target 'adalib/', needed by 'adalib/nosig.o'. Stop. #7

Closed Earnestly closed 6 years ago

Earnestly commented 6 years ago

Hi again,

I'm not sure when this happened but lately when attempting to build I get the following error:

mkdir -p build/nosig.build
mkdir -p adainclude
ln -s /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/adainclude/system.ads adainclude/system.ads
gcc -nostdinc -I./adainclude -gnatef -gnatg -gnatwP -gnatB -gnatVn -gnatn2 -gnatp -gnata -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c -o build/nosig.build/nosig.o /home/earnest/build/aur/drake-git/src/drake/source/obj/nosig.ads
make: *** No rule to make target 'adalib/', needed by 'adalib/nosig.o'.  Stop.

I can solve this by doing mkdir source/adalib.

This seems to indicate the mkdir -p rule for adalib isn't being run:

$(RTSDIR)/adalib:
    mkdir -p $@