samba 2.2.5-pre and solaris 9

Toomas Soome Toomas.Soome at microlink.ee
Fri Jun 7 06:34:02 GMT 2002


Gerald Carter wrote:
> 
> On Fri, 7 Jun 2002, Toomas Soome wrote:
> 
> >
> > hi!
> >
> > FYI: I got following error while compiling samba 2.2.5-pre. and it's
> > true, solaris ld does not support -E.
> >
> > Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
> > Linking bin/smbd
> > /usr/ccs/bin/ld: illegal option -- E
> 
> What compiler?  I don't seen in configure.in or Makefile.in
> where this would come from.  My compile on a Solaris 8 box
> using the Workshop 6.0 patch 2 compiler links ok (using /usr/ucb/ld
> for linking).  GCC is also ok.  Or does this only show up when using gcc
> and /usr/ucb/ld?
> 

[112] tsoome at muhv:samba/source> gcc --version
3.0.2

[113] tsoome at muhv:samba/source> uname -a
SunOS muhv 5.9 Generic sun4u sparc SUNW,Ultra-5_10

ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.343
/usr/ccs/bin/ld: illegal option -- E
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)

I added -v to get ld information. 

somehow configure set DYNEXP=-Wl,-E in Makefile and this is the source
of this problem of course. 

toomas
-- 
After the game the king and the pawn go in the same box.
		-- Italian proverb




More information about the samba-technical mailing list