Those are Fortran BLAS functions that are missing (ztrsm_, zgemm_, etc.). It should be getting those from ATLAS. Examine the ATLAS libf77blas.a with nm. It should have BLAS functions with a T before it (if I understand nm's cryptic output correctly), like this:
0000000000000000 T zgemm_
The order of libraries makes a difference, because the linker processes them in the order given. For instance,
lapack has to be before BLAS, since it uses BLAS. Here's the order I use on one project:
-llapack -lcblas -lf77blas -latlas -lifcore -ldl
You may not have or need the last two, -lifcore -ldl.