look like attempting to compile old code with a new compiler.
Open the two files and edit them so the line indicated no longer triggers the warning.
print_mac() et al. is deprecated, you can simply use the printf format specifier "%pM" to print MAC addresses directly.
It should still compile though. What's the problem?
If you are going to make a new kernel, why not get the latest stable one - 2.6.34?
You probably shouldn't be using mandrake linux at all - especially not for a server.
Its a bit old - hand-maintaining it must be a pain!
Select a server distro instead.