Ned Thomas (6757)
2002-Jan-10 15:45 UTC
Error building SAMBA with smbwrapper support under Solaris 8
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@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' -------------- next part -------------- HTML attachment scrubbed and removed
Shannon Fiume
2002-Jan-10 15:53 UTC
Error building SAMBA with smbwrapper support under Solaris 8
I get the same problem, compling with forte c update2. sol 8. sparcV9a The only options I've enabled is with debug and with syslog. Compiling smbwrapper/wrapped.c with -KPIC 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' thanks, shannon a. fiume shannon@autofracture.com On Thu, 10 Jan 2002, 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@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 Styma
2002-Jan-11 05:54 UTC
Error building SAMBA with smbwrapper support under Solaris 8
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@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@agcs.com Phone: 623-582-7323 FAX: 623-581-4884 Company: http://www.agcs.com Personal: http://www.swlink.net/~styma