Gordon Thagard
2004-Dec-13 19:50 UTC
[Samba] Solaris: Linking bin/smbd, /usr/ccs/bin/ld: illegal option -- E
Solaris 9 Samba 3.0.9 gcc 3.3.2 (from SunFreeware) config opts: ./configure --prefix=/opt/samba Hello, I'm having some trouble compiling the latest samba. Even using "--with-gnu-ld" as a configuration switch it still wants to use the Solaris-native ld. Of course, the gcc from SunFreeware says as much: "It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages are installed." BTW, it was a standard install which means that the SUNW developer packages *are* installed. And I'll need that stuff to compile perl modules later. Being that I'm a Sysadmin and not a Coder, does anyone have any insights? A google search only pointed to that fact that this problem exists. There was no working solution I could find. Here's the error message again: Compiling smbd/server.c Linking bin/smbd /usr/ccs/bin/ld: illegal option -- E usage: ld [-6:abc:d:e... ... Thank you to any and all who may be of assistance. Cheers,
Gerald (Jerry) Carter
2004-Dec-13 20:05 UTC
[Samba] Solaris: Linking bin/smbd, /usr/ccs/bin/ld: illegal option -- E
-----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-----