Compile problems on Solaris 2.6

Ken Raeburn raeburn at MIT.EDU
Tue Oct 31 11:36:22 EST 2006


On Oct 30, 2006, at 19:31, tomaddox at gmail.com wrote:
> To follow up, I started pulling out references to IPV6 and INET6
> whenever they caused make to fail.  Now I'm getting the following
> errors in addrinfo-test.c:

That's just a test program to compare the fake version of getaddrinfo  
in our tree (there for working around bugs in system versions, like  
not filling in some fields of the result properly, or not having been  
implemented) against the system version.

> make[2]: *** [addrinfo-test.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [fake-addrinfo-test.o] Error 1

The file addrinfo-test.c is compiled into two test programs, once to  
use the system version of getaddrinfo, and once with the krb5 tree  
version of getaddrinfo built into it.  The second set of errors  
indicate that maybe the test for IPPROTO_NONE should be  
conditionalized (test for 0 if the macro doesn't exist).  The first  
set is because the test program isn't going to build on a system  
without IPv6 support; just disable addrinfo-test in your makefile.   
(Or disable both; it is just a test program, and not one we use in  
"make check", only for manual testing.)

Ken



More information about the Kerberos mailing list