I was having the same problems compiling X11R5 on a IPC sunos 4.1.3.
If you compile with 'make -k World' it will not stop on the
ld errors. As was stated in another post the clients with the
errors still run correctly.