2 Answers
2

most of the kernel modules you will build expect /usr/src/linux to point to the sources of the kernel you want to build the module for, so the first thing to do here is to create that link:

ln -s /usr/src/linux-3.3.38-gentoo /usr/src/linux

Then try and configure your kernel the way you did it.

cd /usr/src/linux
make menuconfig

Note: Gentoo would have created this link for you if you had switched the USE flag symlink on for sys-kernel/gentoo-sources. You can tell Gentoo which USE flag should be turned on by package by adding an entry in the file /etc/portage/package.use.

If you're using gentoo-source and already in gentoo environment, the app-admin/eselect tool will help you do this:

eselect kernel list

and

eselect kernel set

And if you are not familiar with kernel installation genkernel can be very helpful. You might want to use --config= and --menuconfig, which is not documented in HandBook(HandBook is just a step-by-step guide form some dev's perspective, many tools it mentioned are underestimated by fresh readers).