Compiling Apple Top on Linux

Hello all.

I recently tried compiling Apple's version of top on my Linux system. Can someone with some C experience explain why it won't build . . . and any tips to getting it to compile.

Any help appreciated.

BTW, you can pick up the Apple source code here:

http://www.opensource.apple.com/darwinsource/tarballs/apsl/top-15.tar.gz

Thanks.
Blah