Operating System - HP-UX
1757127 Members
2774 Online
108858 Solutions
New Discussion юеВ

Re: Compile samba with krb5

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor
Solution

Re: Compile samba with krb5

>I have remove implicit-function-declaration from makefile Compile.  same error

 

What does the makefile output fragment and error look like?

I'm not sure if you need to remove -pedantic too?

uxbeginner22
Trusted Contributor

Re: Compile samba with krb5

Removed pedantic and Werror

 

:(

 

In file included from ../../../include/k5-int.h:182,
                 from dnsglue.h:51,
                 from dnsglue.c:30:
../../../include/k5-trace.h:93:20: warning: anonymous variadic macros were introduced in C99
dnsglue.c: In function тАШkrb5int_dns_initтАЩ:
dnsglue.c:138: error: implicit declaration of function тАШres_initтАЩ
dnsglue.c:152: error: implicit declaration of function тАШres_searchтАЩ
dnsglue.c: In function тАШkrb5int_dns_expandтАЩ:
dnsglue.c:233: error: implicit declaration of function тАШdn_expandтАЩ
dnsglue.c: In function тАШkrb5int_dns_nextansтАЩ:
dnsglue.c:340: warning: comparison is always false due to limited range of data type
*** Codice di uscita errore 1

 

uxbeginner22
Trusted Contributor

Re: Compile samba with krb5

Whoops!

My fault: i have edited only Makefile on top src,i have to edit also Makefile on gssglue dir(os)

Compile fine with gcc and gnu make.

With hpux compiler fail.

Now i try samba...