Automounter AMD with LDAP

From: David RAVAIL <ravail_at_enstimac.fr>
Date: Fri, 02 Jul 2004 16:18:22 +0200
Hello, I'm trying to install the AMD automounter with ldap support on a 
FreeBSD 5.2.1.
I downloaded the lastest sources of am-utils and i configured it.
When I want to make it, i have an error like this :
$make
make  all-recursive
Making all in libamu
make  all-am
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  
-I../include    -g -O2   -c
-o misc_rpc.lo `test -f 'misc_rpc.c' || echo './'`misc_rpc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c misc_rpc.c -o 
misc_rpc.o
*** Error code 1

../include/am_utils.h:613: syntax error before '*' token
../include/am_utils.h:694: syntax error before '*' token
../include/am_utils.h:950: syntax error before '*' token

Stop in /usr/src/am-utils/am-utils-6.0.9/libamu.
*** Error code 1

Stop in /usr/src/am-utils/am-utils-6.0.9/libamu.
*** Error code 1

Stop in /usr/src/am-utils/am-utils-6.0.9.
*** Error code 1

Stop in /usr/src/am-utils/am-utils-6.0.9.


====================================================================
                                                        
===include/am_utils.h===

ligne 613:
extern void compute_automounter_nfs_args(nfs_args_t *nap, mntent_t *mntp);

ligne 694:
extern void compute_nfs_args(nfs_args_t *nap, mntent_t *mntp, int 
genflags, struct sockaddr_in *
ip_addr, u_long nfs_version, char *nfs_proto, am_nfs_handle_t *fhp, char 
*host_name, char *fs_na
me); extern enum clnt_stat pmap_ping(struct sockaddr_in *address);

ligne 950:
extern void print_nfs_args(const nfs_args_t *nap, u_long nfs_version);
===================================================================

Did somebody successed in installing am-utils on a FreeBSD 5.2.1??
Received on Fri Jul 02 2004 - 12:23:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC