Compiling, but not resolving IP address