Suresh Khatry wrote:
> Getting following warning when compiling 3.2.7 on Solaris 9 Sparc box. Using gcc 3.3
Erik Moyer <email@example.com> on Solaris 10.
> configure: WARNING: netinet/ip.h: present but cannot be compiled
> configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
> configure: WARNING: netinet/ip.h: see the Autoconf documentation
> configure: WARNING: netinet/ip.h: section "Present But Cannot Be Compiled"
> configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
> configure: WARNING: netinet/ip.h: in the future, the compiler will take precedence
> configure: WARNING: ## Report this to firstname.lastname@example.org ##
just testing a fix...
Created attachment 3892 [details]
Attached patch should fix the issue. Pleas verify as follows:
* apply the patch to 3.2.7 sources or to a checkout of v3-2-test
* cd samba-3.2.7/source (e.g.)
* run ./autogen.sh
* rm -f config.cache
* see config.log or output of configure
I have pushed the patch (or an adapted version) to all branches:
master, v3-3-test, v3-2-test, v3-0-test
Cheers - Michael
I have verified the patch on Solaris 10.
The build farm likes it, too:
The Solaris 8 build is fine, too:
But I noticed that the configure check for netinet/ip.h fails here because
some definitions from <netinet/in_systm.h> are missing.
I just tested another fix that settles this issue,
will push to all branches.
I am going to close this bug once that next commit has hit the build farm.
ok, the patch in devel has reached our Solaris 8 machine in the build farm:
I am closing this bug.
Please re-open when you do have any problems still.
Cheers - Michael