Hi, I am compiling Samba-3.0.1 on a Solaris 9 machine. I have gcc-3.3.2. Running "make" fails. Thanks for your advice. PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin # ./configure --with-included-popt --with-gnu-ld # make .... Linking bin/smbd /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) ... collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1. Shane ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005
Have you tried without "--with-gnu-ld"? I would expect you are using /usr/ccs/bin/ld which is the Sun version of ld. I've compiled on Solaris 9 without any problems on several systems and releases of Samba 3.x thanks Andy. -----Original Message----- From: S D [mailto:sh302@lycos.com] Posted At: 23 January 2004 08:03 Posted To: Samba Conversation: [Samba] Samba compile error Subject: [Samba] Samba compile error Hi, I am compiling Samba-3.0.1 on a Solaris 9 machine. I have gcc-3.3.2. Running "make" fails. Thanks for your advice. PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin # ./configure --with-included-popt --with-gnu-ld # make .... Linking bin/smbd /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) ... collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1. Shane ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
On Fri, 2004-01-23 at 19:02, S D wrote:> Hi, > I am compiling Samba-3.0.1 on a Solaris 9 machine. > I have gcc-3.3.2. Running "make" fails. Thanks for > your advice. > > PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin > > # ./configure --with-included-popt --with-gnu-ldI think the problem here is that you need to ensure that the gnu LD is the one actually being used. Try reworking your path again. Where is the gnu ld? Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040125/4d1acaaf/attachment.bin