xfs
[Top] [All Lists]

Re: Can't get samba 2.2.3a to compile with ACL support (with logs)

To: Lars Weitze <cd@xxxxxxxxxxxx>
Subject: Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 19 Apr 2002 09:37:57 +1000
Cc: samba@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20020418190627.6a4dc65c.cd@kalkatraz.de>; from cd@kalkatraz.de on Thu, Apr 18, 2002 at 07:06:27PM +0200
References: <20020418190627.6a4dc65c.cd@kalkatraz.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hello,

On Thu, Apr 18, 2002 at 07:06:27PM +0200, Lars Weitze wrote:
> I've compiled everything: the whole acl package, the attr package the
> xfs-progs etc. from the SGI CVS. I've installed all the devel packages.
> 
> But Samba 2.2.3a configure tells me that it can't find ACL support.
> 
> The line in the logs reads:
> configure:12853: gcc -o conftest -O  -D_LARGEFILE64_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE   conftest.c -lacl  -lcups
> /usr/lib/libacl.so: undefined reference to `fgetxattr'
> /usr/lib/libacl.so: undefined reference to `removexattr'
> /usr/lib/libacl.so: undefined reference to `setxattr'
> /usr/lib/libacl.so: undefined reference to `fsetxattr'
> /usr/lib/libacl.so: undefined reference to `getxattr'
> 

The fix is to add "-lattr" to that link line above... this should
be added into Samba's configure checks somewhere I guess (libacl.so
now makes use of the syscalls defined in libattr.so).

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>