Nontrivial solutions for a boundary value problem with integral boundary conditions