I compiled linux with gcc-3.3.2-r5, so nvidia-kernel, but nvidia-kernel had a bunch of unresolved symbol. I finally realized that I could compile the module with gcc-3.2.2 from an old installation. So gcc should be the problem.
see http://forums.gentoo.org/viewtopic.php?t=191972&highlight=