The official release of Linux 2.4.0 doesn't compile on powerpc. For now, to build a 2.4 kernel you will need to grab sources from the PowerPC development trees. Cort's pages have more information: http://www.fsmlabs.com/linuxppcbk.html