How to code VHDL in one single .vhd file?
It is failing because there is no Single_Bit_Half_Adder in your library. However the code for it is in your file, so just remove the line use work.Single_Bit_Half_Adder; and it should be fine.