It appears that you are running old cc on Panther (which does not know -undefined dynamic_lookup). Make sure you install/upgrade Developer Tools that matches Panther. FYI Encode builds hairlessly on my Panther.
Dan the Encode Maintainer
Thank you for the quick response.
I have installed the latest tools (Decemver 2002) but I not the gcc updater I'm just getting that and hope this is what you mean.
Dec 2002 gcc Updater
This GCC updater includes the new GCC 3.3 compiler in addition to other updates that will allow development of G5 optimized code with the December 2002 Mac OS X Developer Tools.