Generate an error for undefined external variables encountered during resolve process.