Arun,
It is likely that you have a package named fpu_test that's not yet compiled when you are compiling floating_point_unit_test.vhd file. Can you show us initial 10 lines of file floating_point_unit_test.vhd? Is there a use clause as:
use work.fpu_test.all;
or some thing?
If so, analyse the file that contains fpu_test pkg first. Note that VHDL compilation is order-dependent.
arun it not fpu_test library s missing.. it means that u first compile the unit => fpu_test in the work directory, then do compile other files that has dependecy with fpu_test, u error will be gone