files, ports, procs saying not defined