Compile problem on Solaris --with-smbwrapper
Steve Kennedy
steve at gbnet.org
Tue Oct 16 10:19:21 GMT 2001
On Tue, Oct 16, 2001 at 09:15:29AM -0500, samba-technical at thewrittenword.com wrote:
> On Tue, Oct 16, 2001 at 09:17:08AM -0400, David Collier-Brown wrote:
> > David Collier-Brown wrote:
> > > The command is
> > > ld -shared -o bin/smbwrapper.so
> > > the message is
> > > ld: fatal: option -h and building a dynamic executable are
> > > incompatible
> > > This is from the -shared, which is gcc-specific, but I'm using cc,
> > > so it fails with puzzling error messages
> > > When I change -sharedwhich smbsh to -G, all I get is
> > whoops,
> > When I change -shared to -G, all I get is
> > > ---
> > > ld.so.1: smbsh: fatal: relocation error: file
> > > /usr/local/samba/bin/smbwrapper.so: symbol charset_initialize:
> > > referenced symbol not found
With Forte C this should probably be -B dynamic -G
Steve
--
home steve at gbnet.org * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU
work steve at thus.net * tel +44-(0)207 483 1169 FAX +44-(0)207 483 2455
www http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842 (fax to email)
bits steve at gbnet.net * mob +44-(0)7775755503 Epage steve-pager at gbnet.net
More information about the samba-technical
mailing list