I managed to resolve the above by getting a new *cfg file. I can't see any difference between the two, but it's working.
However now I have a new error. When it comes to the compilation of Telemac3D there's a problem with the condim.f source, giving both a syntax error and unclassifiable statement (please see image attached.)
I've not edited the file. I've tried replacing condim.f with previous versions but the error persists. I've attached the file.
Would appreciate any insight!