Exercises 4 and 5 of Chapter 5 of Rudin's Real and complex analysis state:
4 Let $C$ be the space of all continuous function on $[0,1]$, with the supremum norm. Let $M$ consist of all $f\in C$ for which $$\int_0^{1/2}f(t)\,dt-\int_{1/2}^1f(t)\,dt=1.$$ Prove that $M$ is a closed convex subset of $C$ which contains no element of minimal norm.
5 Let $M$ be the set of all $f\in L^1([0,1])$, relative to Lebesgue measure, such that $$\int_0^1f(t)\,dt=1.$$ Show that $M$ is a closed convex subset of $L^1([0,1])$ which contains infinitely many elements of minimal norm. (Compare this and Exercise 4 with Theorem 4.10.)
You can guess what Theorem 4.10 is.