I use x86 solaris. I got these messages compiling wine-20050111.
configure: WARNING: sys/reg.h: present but cannot be compiled
configure: WARNING: sys/lwp.h: present but cannot be compiled
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: arpa/nameser.h: present but cannot be compiled
configure: WARNING: GL/glx.h: present but cannot be compiled
checking for assembler keyword for word values... configure: error: could not discover how to specify word values with assembler.