samba 2.2.5-pre and solaris 9

Andrew Morgan morgan at orst.edu
Fri Jun 7 10:35:01 GMT 2002


On 7 Jun 2002, Mike Gerdts wrote:

> On Fri, 2002-06-07 at 13:10, David Lee wrote:
> > Can Dave-CB shed any light on Solaris "ld", including any possible changes
> > in the new Solaris 9?
>
> A quick look at the getopt(3C) option string suggests that there was no
> change in options:
>
> Solaris 9:
>
>     % strings /usr/ccs/bin/ld | grep :
>     ...
>     6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?
>
> Solaris 8:
>
>     % strings /usr/ccs/bin/ld | grep :
>     ...
>     6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?
>
>     % ld -E
>     ld: illegal option -- E
>
> Mike

It seems like the proper method is to use gcc to do the linking rather
than ld, if the compiler is gcc.  I remember doing this when I compiled
pam_ldap on Solaris 8.

If you are using Sun's Workshop compiler, use the linker in
/usr/ccs/bin/ld.

	Andy





More information about the samba-technical mailing list