Hi,
sorry for the long delay. The errors your script throws at compilation time shows that you're using an outdated ns-3 version.
Since there are many important bugs that have been patched in ns-3 in the latest release, I'd strongly suggest to fix the errors and use the newest ns-3.
As a side note, we can't really offer help on outdated ns-3 version.
Last but not least, your script uses a "PcfWifiMacHelper", and this is not part of ns-3, making the compilation impossible.
T.