[Samba] Building Samba 3.2.0 on Solaris with Sun compiler

David Eisner deisner at gmail.com
Mon Jul 21 21:09:18 GMT 2008


I was able to build Samba 3.0.x under Solaris 10 using the Sun Studio
compiler (cc) and the Solaris ld (/usr/ccs/bin/ld) that it uses.

Trying to build Samba 3.2.0, however, I immediately run into a problem
where the build process assumes the linker understands
"--version-script", which is specific to the GNU linker:

  Linking shared library bin/libtalloc.so
  /usr/ccs/bin/ld: illegal option -- version-script
  usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
          [-64]           enforce a 64-bit link-edit

Is this a bug?

Thanks.

-David




-- 
David Eisner http://cradle.brokenglass.com


More information about the samba mailing list