A 9-month-old boy is suspected of having an immune deficiency because he had many recurrent infections with Streptococcus pneumoniae.Laboratory tests reveal a normal percentage of T cells and T-cell subsets but a lack of mature B cells and immunoglobulins.This boy most likely has: