Graham Leggett wrote: > Hi all, > > I have just given a FDS v1.0.2 build another try under Solaris 10, and > again I get build failures all over the show. > > The machine I have has both SUNWspro installed, and gcc installed. > > In this case, the build seems to arbitrarily build with cc, then gcc. > Eventually the build breaks as below. > > I tried removing /usr/ccs/bin, the SUN compiler and /usr/ucb from the > path, but the build then broke complaining that it could not find cc. > > Has anybody got FDS to build on Solaris 10? > > gcc -shared -Wl,-soname -Wl,libldap50.so -o libldap50.so ./abandon.o > ./add.o ./bind.o ./cache.o ./charray.o ./charset.o ./compare.o > ./compat.o ./control.o ./countvalues.o ./delete.o ./disptmpl.o > ./dsparse.o ./error.o ./extendop.o ./free.o ./freevalues.o ./friendly.o > ./getattr.o ./getdn.o ./getdxbyname.o ./getentry.o ./getfilter.o > ./getoption.o ./getvalues.o ./memcache.o ./message.o ./modify.o ./open.o > ./os-ip.o ./proxyauthctrl.o ./psearch.o ./referral.o ./regex.o > ./rename.o ./request.o ./reslist.o ./result.o ./saslbind.o ./sbind.o > ./search.o ./setoption.o ./sort.o ./sortctrl.o ./srchpref.o ./tmplout.o > ./ufn.o ./unbind.o ./unescape.o ./url.o ./utf8.o ./vlistctrl.o > -L../../../../../dist/lib -llber50ld: warning: option -o appears more > than once, first setting taken > ld: fatal: file libldap50.so: unknown file type > ld: fatal: File processing errors. No output written to libldap50.so > collect2: ld returned 1 exit status Is this x86 or sparc? Are you using dsbuild or building by hand? dsbuild currently assumes one is building on Linux. To set the compiler you have to pass in some extra variables (NS_USE_GCC=1) to gmake for some of the components. There may be other gotchas as well. It builds fine on Solaris 9 sparc so it is probably just a matter of getting the build arguments correct. I tried to build it on Solaris 10 x86 last summer but ran into trouble and out of time and never got back to it. IIRC there are a bunch of x86 Solaris make targets in FDS that haven't been updated in eons and are currently broken. They are leftovers from when we supported a gazillion platforms. There are references to AIX, OSF and others as well. rob -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3178 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060516/2d31a9ba/attachment.bin