Compiling error and core dump

"Yihua Philip Sheng" <[email protected]> Fri, 3 Jan 2003 11:32:36 -0600
Newsgroups gmane.network.samba.binaries
Message-ID <[email protected]>
When I tried to compile the new version (2.2.7a) on Sun Solaris 7 and 8
machine, it gives me the following error:
 
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
Linking bin/smbd
/usr/ccs/bin/ld: illegal option -- E
usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:]
file(s)
        [-a]            create an absolute file
        [-b]            do not do special PIC relocations in a.out
        [-c file]       record configuration `file'
        [-d y|n]        operate in dynamic|static mode
        [-e sym]        use `sym' as entry point address
        [-f name]       specify library for which this file is an
auxiliary filter
        ....
 
I then link the /usr/ccs/bin/ld to gnu's ld, it worked. All the binaries
were generated successfully. But both smbd and nmbd gave core dump when
I run them. Any suggestion to fix it?
 
Thanks,
 
Philip