You also need to tell which libraries to link with using the flag -l (that's a lower-case L). The linking directive should look something like:
Code:
gcc -o myprogram mypart1.o mypart2.o ... mypartn.o -L /path/to/festivallibs -lFestival -lestools -lestbase -leststring
Since those libraries are static libraries (indicated by .a) you may need the flag -static also. But I'm not sure that you need that, so try without it first.
And of course, you'll want to write all this in a Makefile
If this didn't solve the problem, could you please tell exactly what the error messages are?
Regards
Martin