Please use code tags when you post large sections of compiler output
If you loaded compiletc, cmake, Xorg-7.7-3d-dev, pulseaudio-dev, cups-dev, ffmpeg-dev, gst-plugins-base-dev and pcsc-lite-dev, I don't think you should get this error, but you can check which extension supplies modem.h by using the "provides" function of the apps gui.