[Date Prev][Date Next]
Re: 64bit compile fails on Solaris 10
--On Wednesday, January 21, 2009 11:19 AM -0500 John Center
I'm trying to compile OpenLDAP v2.4.13 on Solaris 10 using Sun Studio 12.
Everything is building fine until it gets to slapd itself. It fails
I don't know what slapdS.c does, but I think "-m64" needs to be passed to
cc here; unfortunately I don't know how to do it. I've searched through
the mail archives w/o much luck. Could someone please explain to me what
Add -m64 to the CFLAGS you're using?
For example, something like:
CFLAGS="-m64" ./configure ....
That way it gets passed into all the Makefiles.
If you have other CFLAGS you want to set (like -g, etc), put them in there
CFLAGS="-g -m64" ./configure ...
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration