audit VFS example
Brad Sahr
bsahr at macromedia.com
Fri Aug 4 22:28:00 GMT 2000
Should I be adding the -rdynamic flag to the Makefile in the
samba/samples/VFS directory? When I do this, it yields a shared object that
is identical to the original, resulting in the same "undefined symbol..."
error.
Also, if I modify the configure.in file (would this be the LDSHFLAGS
variable?) in the samba/source directory, the output of it doesn't appear to
affect the Makefile over in the samba/samples/VFS directory.
Is is possible that the error has to do with some type of version
incompatibility? I'm compiling the latest Samba source on a red hat linux
6.2 install.
Brad
-----Original Message-----
From: samba-technical-admin at samba.org
[mailto:samba-technical-admin at samba.org]On Behalf Of Tim Potter
Sent: Thursday, August 03, 2000 4:56 PM
To: Brad Sahr
Cc: Samba Technical List
Subject: Re: audit VFS example
Brad Sahr writes:
> I've created the sample VFS audit.so file and configured the smb.conf file
> to use the audit.so, but when I attempt to read the share, I get the
> following error message in the log.smbd file:
>
> Error opening /root/samba/examples/VFS/audit.so:
> /root/samba/examples/VFS/audit.so: undefined symbol: default_vfs_ops
For linux you need to add -rdynamic to the LDFLAGS in the
Makefile. I think there are other flags required for other
operating systems - this sort of stuff should really go into the
configure.in script somewhere.
Tim.
More information about the samba-technical
mailing list