[PATCH]Make VFS modules work under Solaris and AIX

Andrew Bartlett abartlet at pcug.org.au
Tue May 21 03:50:02 GMT 2002

Juergen Hasch wrote:
> Am Montag, 20. Mai 2002 01:18 schrieb Juergen Hasch:
> > Am Montag, 20. Mai 2002 00:56 schrieb Juergen Hasch:
> > > Hi,
> > > attached is a patch and a few new files to make VFS modules work under
> > > Solaris and AIX.
> > > I have tested it with Solaris 8 using gcc and Sun Workshop cc. For AIX I
> > > tested it with gcc and xlc_r. Linux still works, too :-)
> > >
> > > samba_core.patch changes configure.in and Makefile.in in the samba source
> > > directory. The patch is needed to access symbols within smbd from a VFS
> > > module.
> > > The files configure.in and Makefile.in go to the examples/VFS directory.
> > > After running autoconf you can execute configure to create a new Makefile
> > > which will have the correct settings for Linux, AIX and Solaris.
> >
> > Oops, actually I only wanted to save the message to my drafts folder and
> > send it after some sleep. But here is the patch anyway...
> > It applies to SAMBA_2_2 CVS.
> Here are the slightly updated patches for Samba HEAD.
> Makefile.in.patch and configure.in.patch apply to samba/source, Makefile.in
> and configure.in go to samba/examples/VFS.

Just looking at the configure.in/Makefile.in patchs (for source/), I'm
wondering if you really meant to use the DYNEXP variable, rather than a
new one?

DYNEXP is meant to be set to the appropriate linker flags for dynamic
function export (which is what you are trying to do, isn't it?

(it is also used by pdbedit/smbpasswd for dynamic passdb modules)

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba-technical mailing list