That line of output suggests to me that gcc-3.4.6 is not the compiler that actually built this perl.
- which should be trivial to build. Does it build ok for you ?
That probably means it's not going to try to link to libperl.a .... which probably means that symbols such as 'Perl_Top_ptr', 'Perl_Ieval_root_ptr', 'Perl_dounwind', etc. will be undefined.