I got the following problem when compiling linux 2.6.0 + 2.6.0libata1 patch. (On a recent Intel motherboard with SATA, so I applied the libata patch.)
Since I noticed this problem at the Gentoo bugs site as well ( http://bugs.gentoo.org/show_bug.cgi?id=36812 )
I decided to publish this patch, to help others.
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xa7784): In function `ata_std_bios_param':
: undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1
* gen_die(): Could not copy kernel binary to boot
The following patch fixes this. Best regards, and happy 2004!