Hi, I am attempting to compile samba version 2.2.2 on my solaris 8 server and I get the following error. Any help would be appreciated. Thanks. Linking shared library bin/smbwrapper.so ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors make: *** [bin/smbwrapper.so] Error 1 ********************************************** Nancy A. Rohrman Rutgers University Computing Services - Camden rohrman@camden.rutgers.edu **********************************************
> > Hi, > I am attempting to compile samba version 2.2.2 on my solaris 8 > server and I get the following error. Any help would be > appreciated. Thanks. > > Linking shared library bin/smbwrapper.so > ld: fatal: option -h and building a dynamic executable are incompatible > ld: fatal: Flags processing errors > make: *** [bin/smbwrapper.so] Error 1 >Hi, When I first tried to compile it on mine, I had errors as well. I found that the code was not test compiled using Sun's C compiler. There was a workaround by compiling it --without-winbind-support or something like that. I wound up using the gcc compiler (version 3.0.1) with no problems. I also used the gnu make rather then the Sun (/usr/ccs/bin/make). Good luck, Arnold Andrews Unix/MCAD Systems Administrator Seagate Technology, LLC
On Thu, 13 Dec 2001, Nancy Rohrman wrote:> > Hi, > I am attempting to compile samba version 2.2.2 on my solaris 8 > server and I get the following error. Any help would be > appreciated. Thanks. > > Linking shared library bin/smbwrapper.so > ld: fatal: option -h and building a dynamic executable are incompatible > ld: fatal: Flags processing errors > make: *** [bin/smbwrapper.so] Error 1Fixed in latest CVS IIRC. Replace the -h with -G and that should fix it. chau, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--