in reply to Re: Perl build failed on Solaris 2.8 !!! (#define)
in thread Perl build failed on Solaris 2.8 !!!
I had a similar problem with building pam ldap software on Solaris. Although it's been over a year.
I noticed /usr/include/sys is being used. You may want to try modifying your Makefile so that it points to the headerfiles used by gcc. This may end up in /usr/local/lib depending on were gcc was installed.