When I do emerge -u world emerge installs the wrong linux-headers for the kernel i use, is there a way to prevent that from happening. By the way why isn't there a linux headers with the kernel. They belong to eachother. Lots of programs don't work right with the wrong headers.
you can use 2.4 headers on a 2.6+ system just fine, sticking headers with sources just doesnt make any sense clean out the headers you dont want and emerge the one you do want (emerge -C linux-headers ; emerge linux26-headers) and everything should be fine