On 06/09/00 15:10:50 -0400 Jan Hrabe <[EMAIL PROTECTED]> wrote:
+-----
| LIBS=-ldl -lafsauthent -lafsrpc -ldes -llwp -lrx -lrxkad -lrxstat -lubik
| -lacl -lafsadminutil -lafsint -laudit -lauth -lauth.krb -lbos -lbosadmin
| -lbubasics -lbudb -lbutm -lbxdb -lcfgadmin -lclientadmin -lcmd -lcom_err
| -ldir -lfsprobe -lgtx -lkasadmin -lkauth -lkauth.krb -lnull -lprocmgmt
| -lprot -lptsadmin -lsys -ltermlib -lusd -lvldb -lvolser -lvosadmin
| -lxstat_cm -lxstat_fs -lpthread -lpthreads -lpthreads_compat
+--->8

This is AIX?

Samba 2.0.7 with --with-afs built properly here; AFS headers and libraries 
are in the standard /usr/afsws/{include,lib}.

Minimal libraries to add for AIX:

-lafsauthent -lafsrpc -lrxkad -lrx -llwp -ldes -lpthreads_compat

| 6. Now I repeatedly tried "make" and edited the offending AFS headers
+--->8

I've only run into one edit-the-headers problem on AIX, and IIRC it 
involved AFS headers defining {,u_}int{8,16,32,64} types which AIX 4.3.2 
headers already define.

I did have to apply the following patch to Samba to resolve some conflicts 
on various platforms:

--- samba-2.0.7-dist/source/include/includes.h  Tue Apr 25 19:06:46 2000
+++ samba-2.0.7/source/include/includes.h       Mon Jun 12 14:22:00 2000
@@ -336,7 +336,7 @@

 #ifdef HAVE_SYS_SECURITY_H
 #include <sys/security.h>
-#include <prot.h>
+#include </usr/include/prot.h>
 #define PASSWORD_LENGTH 16
 #endif  /* HAVE_SYS_SECURITY_H */

--- samba-2.0.7-dist/source/passdb/pass_check.c Tue Jul 20 21:25:12 1999
+++ samba-2.0.7/source/passdb/pass_check.c      Mon Jun 12 14:23:30 2000
@@ -137,6 +137,8 @@

 #ifdef WITH_AFS

+#define DES_DEFS
+#define __XDR_INCLUDE__
 #include <afs/stds.h>
 #include <afs/kautils.h>


-- 
brandon s. allbery     [os/2][linux][solaris][japh]    [EMAIL PROTECTED]
system administrator        [WAY too many hats]          [EMAIL PROTECTED]
electrical & computer engineering                                      KF8NH
carnegie mellon university      ["better check the oblivious first" -ke6sls]

Reply via email to