Could you be a bit more specific? You can send me the output of the
make offline, then I can see what the exact error is that gcc is
complaining about. It sounds as if it's missing some libraries. Perhaps
this simply means that you have to add '-lsocket -lnsl' to the gcc
command line.
To capture the output of make:
make >make.errors 2>&1
-- 
E-mail: galactus@stack.nl      | PGP encrypt if you can (Key ID 0x416A1A35)
http://www.stack.nl/~galactus/ | To find out more about PGP, send mail 
                               | with HELP PGP in the SUBJECT line to me.