Error building SAMBA with smbwrapper support under Solaris 8

Robert Styma stymar at agcs.com
Fri Jan 11 05:54:04 GMT 2002


My work around for the problem was to
tweek the generated  makefile so the $(LD) variable
was assigned the value gcc instead of ld

This got me past the problem.  Another way of doing this is to
find the linking line in the makefile and tweek it there.

> "Ned Thomas (6757)" wrote:
> 
> I am trying to add smbwrapper support to my SAMBA 2.2.2 / Solaris 8 / SPARC
> config and get an error linking smbwrapper.so.  I'm trying to build support to
> test smbsh under Solaris 8.  Any help would be appreciated.
> 
> Thanks,
> Ned Thomas
> ned at ibsa.com
> 
> Using FLAGS =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
> -D_LARGEFILE_S"
> Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
> -D_LARGEFILE"
> Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
> Linking shared library bin/smbwrapper.so
> ld: fatal: option -h and building a dynamic executable are incompatible
> ld: fatal: Flags processing errors
> *** Error code 1
> make: Fatal error: Command failed for target `bin/smbwrapper.so'

-- 
Robert E. Styma 
Principal Engineer
AG Communication Systems, Phoenix - A subsidiary of Lucent
Email: stymar at agcs.com
Phone: 623-582-7323
FAX:   623-581-4884
Company:  http://www.agcs.com
Personal: http://www.swlink.net/~styma




More information about the samba mailing list