Hi, I'm having a problem compiling the C SDK under Solaris 2.5.1.  The
reason I am doing this is so that I can install perldap.  Anyway, I
downloaded the file ldapsdk_12311998.tar.gz and untarred it.  I set the
environment variables as instructed in the
mozilla/directory/buildsdk.txt file and then ran the make as instructed
(well, almost as instructed.  I don't have gmake, so I used make
instead).  The build goes on for awhile, then I get this:

g++ -xar -G -L/usr/dt/lib -L/usr/openwin/lib -o
SunOS5.5.1_sparc_DBG.OBJ/liblber
.so SunOS5.5.1_sparc_DBG.OBJ/decode.o SunOS5.5.1_sparc_DBG.OBJ/encode.o
SunOS5.5
.1_sparc_DBG.OBJ/io.o SunOS5.5.1_sparc_DBG.OBJ/bprint.o
gcc: language ar not recognized
gcc: language ar not recognized
gcc: language ar not recognized
gcc: language ar not recognized
ld: fatal: library -lg++: not found
ld: fatal: library -lstdc++: not found
ld: fatal: File processing errors. No output written to
SunOS5.5.1_sparc_DBG.OBJ
/liblber.so
make[4]: *** [SunOS5.5.1_sparc_DBG.OBJ/liblber.so] Error 1

The build proceeds, but then gets a similar error on this command:

g++ -xar -G -L/usr/dt/lib -L/usr/openwin/lib -o
SunOS5.5.1_sparc_DBG.OBJ/libldap
.so SunOS5.5.1_sparc_DBG.OBJ/abandon.o SunOS5.5.1_sparc_DBG.OBJ/add.o

(there is a page full of parameters, but it is trying to compile
libldap.so).  Does anyone have any ideas how I can get around this?  Is
it g++ that is messed up?

Jim McCullars
University of Alabama in Huntsville


Reply via email to