Compiling: What am I doing wrong?

I had downloaded APM from master and compiled it on the JAN version of the RT image, everything was running great. I just downloaded the new image, and tried with both the official APM and emlid git and am running into the following:

pi@us2m01 ~/navio/ardupilot/ArduCopter $ sudo make configure
../mk/ WARNING - A /home/pi/navio/ardupilot/ file has been written
../mk/ Please edit the file to match your system configuration, if you use a different board or port
pi@us2m01 ~/navio/ardupilot/ArduCopter $ sudo make navio
building /tmp/
%% ArduCopter.cpp
make: *** No rule to make target '/home/pi/ardupilot/libraries/AP_Common/AP_Common.h', needed by '/tmp/'.  Stop.

Trying to compile on the rpi, of course.

Am I forgetting something? I can’t get anything to compile anymore.

Disregard due to my own stupidity. Seems to work fine without sudo!

Great that you have figured it out. I also suggest to upgrade to the latest Raspbian as here.