OS : Solaris 5.8 (SPAC)
Compiler: gcc (3.3)
make: GNU Make 3.80
I build External Requirement. and success.
but building the LDAP source occured error.
CVSROOT=:pserver:anonymous@cvs.fedora.redhat.com:/cvs/dirsec ;
export CVSROOT
cvs login => OK
cvs -z3 co -r FedoraDS71_20050526_RTC ldapserver
=> OK
error
==================================================================
#make NS_USE_GCC=1 USE_PERL_FROM_PATH=1
BUILD_DEBUG=full
cat: cannot open ./SOLARIS/buildnum.dat
nsconfig.mk:1578:
modules.mk: No such file or directory
re-making ./modules.mk ...
cat:
cannot open ./SOLARIS/buildnum.dat
if test ! -d SOLARIS; then mkdir SOLARIS;
fi;
/SunONE/perl2exe/perl5/bin/perl buildnum.pl -p SOLARIS
NSOS_RELEASE
is: 5.8
/SunONE/perl2exe/perl5/bin/perl pumpkin.pl 120 pumpkin.dat
if test
! -d ./built/SOLARIS-domestic-full-normal-slapd; then mkdir -p
./built/SOLARIS-domestic-full-normal-slapd; fi;
if test ! -d
./built/SOLARIS-domestic-full-normal-slapd/include; then mkdir -p
./built/SOLARIS-domestic-full-normal-slapd/include;
fi;
/SunONE/perl2exe/perl5/bin/perl dirver.pl -v "7.1" -o
built/SOLARIS-domestic-full-normal-slapd/include/dirver.h
if test ! -d
./built/SOLARIS-domestic-full-normal-slapd/include; then mkdir -p
./built/SOLARIS-domestic-full-normal-slapd/include;
fi;
/SunONE/perl2exe/perl5/bin/perl dirver.pl -v "3.1" -o
built/SOLARIS-domestic-full-normal-slapd/include/sdkver.h
The components are
up to date
==== Starting LDAP Server ==========
gmake NO_JAVA=1 nsCommon
gmake[1]: Entering directory
`/SunONE/ldap/ldapserver'
cd
config;
gmake NO_JAVA=1 export SERVER_BUILD=1 XCFLAGS= USE_PTHREADS=
NS_PRODUCT=DIRECTORY_SERVER VERSION= NS_USE_NATIVE= NSPR_BASENAME=libnspr21
DIST= OBJDIR=/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd
FASTTIME_HEADER_DEST=/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd/include
FASTTIME_TARGET_DEST=/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd
NSINSTALL=/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd/nsinstall
gmake[2]:
Entering directory `/SunONE/ldap/ldapserver/config'
gcc -Wall -Wno-format -o
/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd/nsinstall.o -c
-DXP_UNIX -g -DSVR4 -DSYSV -DNSPR -D__svr4 -D__svr4__ -DSOLARIS
-DHAVE_WEAK_IO_SYMBOLS -DNSPR20 -D_PR_NTHREAD -D_REENTRANT -D_SVID_GETTOD
-DSOLARIS_55_OR_GREATER -MDupdate
/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd/.md -DDEBUG
-UNDEBUG -DDEBUG_root -DTRACING -DSERVER_BUILD -DNETSCAPE -DLAYERS -DUNIX_EMBED
-DX_PLUGINS -DUNIX_LDAP -DNSPR -DNSPR20 -I../include
-I/usr/dt/include -I/usr/openwin/include -I/usr/dt/include
-I/usr/openwin/include nsinstall.c
gcc: cannot specify -o with -c or -S
and multiple compilations
gmake[2]: ***
[/SunONE/ldap/ldapserver/built/SOLARIS-domestic-full-normal-slapd/nsinstall.o]
Error 1
gmake[2]: Leaving directory
`/SunONE/ldap/ldapserver/config'
gmake[1]: *** [nsCommon] Error
2
gmake[1]: Leaving directory `/SunONE/ldap/ldapserver'
make: ***
[buildDirectory] Error 2
===================================================================================
How can I sovled this a problem?
Help me.