[Samba] Solaris: Linking bin/smbd, /usr/ccs/bin/ld: illegal option -- E

Chuck Theobald chuckt at darkwing.uoregon.edu
Mon Dec 13 22:33:18 GMT 2004


Hey Gordon,

If you install lots of open source software (e.g. compile much from 
source), I recommend you leave the Sun ld named ld.sun.  This way, you will 
not run into any Solaris-ld issues with other S/W.  GNU is the way!

Chuck


At 01:43 PM 12/13/2004, Gordon Thagard wrote:
>Well fancy that -  It worked!
>
># mv /usr/ccs/bin/ld /usr/ccs/bin/ld.sun
># ./configure
># make
># make install
># mv /usr/ccs/bin/ld.sun /usr/ccs/bin/ld
>
>Much thanks!
>
>Gerald (Jerry) Carter wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Gordon Thagard wrote:
>>| Solaris 9
>>| Samba 3.0.9
>>| gcc 3.3.2 (from SunFreeware)
>>| config opts: ./configure --prefix=/opt/samba
>>...
>>| Compiling smbd/server.c
>>| Linking bin/smbd
>>| /usr/ccs/bin/ld: illegal option -- E
>>| usage: ld [-6:abc:d:e...
>>
>>Use GNU ld is my suggestion.  I don't link the SUn linker.
>>I just rename /usr/ccs/bin/ld to something else
>>
>>
>>
>>
>>
>>cheers, jerry
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.2.4 (GNU/Linux)
>>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>>iD8DBQFBvfXEIR7qMdg1EfYRAp4TAJ99iIm0QDEew4mLOObAlL2xxHMOGQCgwGx7
>>OMThFi6kjTK/+RNUkbJeIF0=
>>=GvNh
>>-----END PGP SIGNATURE-----
>
>--
>Gordon Thagard, UNIX Systems Administrator
>
>FAMU-FSU College of Engineering
>Communications & Multimedia Services
>2525 Pottsdammer Street Suite A332-L
>Tallahassee, FL 32310-6046
>
>V: (850) 410-6449
>F: (850) 410-6484
>M: (850) 443-4220
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba

Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345



More information about the samba mailing list