help-make
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Symbol referencing errors while gmake
From
:
Swaroop Sugunan
Subject
:
Symbol referencing errors while gmake
Date
:
Sat, 7 Apr 2007 04:09:33 +0530
Hi,
We are getting the following error while trying to build the software using gmake.
CC -mt -i -xarch=amd64 -o ../../../unixshared/bin/solarisx64/CPpwdPlugin
CPpwdAgent.o
unix.
o
Service.o -L../../../unixshared/lib/solarisx64 -L../../../unixshared/bin/solarisx64 ../../../unixshared/lib/solarisx64/pwdSyncLib.a ../../../unixshared/lib/solarisx64/nplexlib.a ../../../ExternalAPIs/CSSL/lib/solarisx64/libcssl.a ../../../ExternalAPIs/CSSL/lib/solarisx64/libcert.a ../../../ExternalAPIs/CSSL/lib/solarisx64/libcst.a ../../../ExternalAPIs/Sleepycat/solarisx64/lib/libdb.a \
-lpthread -lsocket -lnsl -lxnet -ldl -g
Undefined first referenced
symbol in file
fdatasync ../../../ExternalAPIs/Sleepycat/solarisx64/lib/libdb.a(os_fsync.
o
)
ld: fatal: Symbol referencing errors. No output written to ../../../unixshared/bin/solarisx64/CPpwdPlugin
gmake[2]: *** [../../../unixshared/bin/solarisx64/CPpwdPlugin] Error 1
gmake[2]: Leaving directory `/export/meta/Atlas/v4.0/Atlas/passwordsync/CPpwdAgent'
gmake[1]: *** [_CPpwdAgent] Error 2
gmake[1]: Leaving directory `/export/meta/Atlas/v4.0/Atlas/passwordsync'
gmake: *** [_passwordSync] Error 2
What does this error mean?
Following is the make file where we get the error.
----------------------------------------------
SRC_ROOT = ../../..
SLAPD = $(SRC_ROOT)/ExternalAPIs/iPlanet
SLEEPYCAT = $(SRC_ROOT)/ExternalAPIs/Sleepycat
CSSL = $(SRC_ROOT)/ExternalAPIs/CSSL/lib/$(PLATFORM)
PWDSYNC = $(SRC_ROOT)/Atlas/passwordsync/pwdSyncLib/include
ifeq "$(PLATFORM)" "sparc"
IS_SPARC = yes
endif # sparc
ifeq "$(PLATFORM)" "sparc64"
IS_SPARC = yes
endif # sparc64
ifeq "$(IS_SPARC)" "yes"
ifeq "$(TLS)" "NoTLS"
LIBS = $(LIBTARGET)/pwdSyncLib.a \
$(LIBTARGET)/nplexlib.a \
$(SLEEPYCAT)/$(PLATFORM)/lib/libdb.a \
-lrt
else
LIBS = $(LIBTARGET)/pwdSyncLib.a \
$(LIBTARGET)/nplexlib.a \
$(CSSL)/libcssl.a $(CSSL)/libcert.a $(CSSL)/libcst.a \
$(SLEEPYCAT)/$(PLATFORM)/lib/libdb.a \
-lrt
endif
else
ifeq "$(TLS)" "NoTLS"
LIBS = $(LIBTARGET)/pwdSyncLib.a \
$(LIBTARGET)/nplexlib.a \
$(SLEEPYCAT)/$(PLATFORM)/lib/libdb.a
else
LIBS = $(LIBTARGET)/pwdSyncLib.a \
$(LIBTARGET)/nplexlib.a \
$(CSSL)/libcssl.a $(CSSL)/libcert.a $(CSSL)/libcst.a \
$(SLEEPYCAT)/$(PLATFORM)/lib/libdb.a
endif
endif
MODULE_CFLAGS = -I$(SLAPD)/include \
-I$(SLEEPYCAT)/$(PLATFORM)/include \
-I$(PWDSYNC) \
-I$(PWDSYNC)/unix
BIN = $(SRC_ROOT)/unixshared/bin/$(PLATFORM)/CPpwdPlugin
OBJS = CPpwdAgent.o \
unix.o \
Service.o
include $(SRC_ROOT)/make.cfg
# DO NOT DELETE THIS LINE, MAKE DEPEND NEEDS IT
CPpwdAgent.o : ../../../Atlas/passwordsync/pwdSyncLib/include/pwdsyncclasses.h
CPpwdAgent.o : ../../../Atlas/passwordsync/pwdSyncLib/include/syncutils.h
CPpwdAgent.o : ../../../Atlas/passwordsync/pwdSyncLib/include/unix/pwdsynclib.h
CPpwdAgent.o : CPpwdAgent.cpp
CPpwdAgent.o : CPpwdAgent.h
CPpwdAgent.o : msg.h
Service.o : ../../../Atlas/passwordsync/pwdSyncLib/include/pwdsyncclasses.h
Service.o : ../../../Atlas/passwordsync/pwdSyncLib/include/syncutils.h
Service.o : ../../../Atlas/passwordsync/pwdSyncLib/include/unix/pwdsynclib.h
Service.o : CPpwdAgent.h
Service.o : msg.h
Service.o : Service.cpp
unix.o : ../../../Atlas/passwordsync/pwdSyncLib/include/pwdsyncclasses.h
unix.o : ../../../Atlas/passwordsync/pwdSyncLib/include/syncutils.h
unix.o : ../../../Atlas/passwordsync/pwdSyncLib/include/unix/pwdsynclib.h
unix.o : ../../../Atlas/shared/include/AtlasVersion.h
unix.o : CPpwdAgent.h
unix.o : msg.h
unix.o : unix.cpp
----------------------------------------------
The highlighted part is where it is failing.
Please help.
Regards,
Swaroop
Call friends with PC-to-PC calling -- FREE
Try it now!
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Symbol referencing errors while gmake
,
Swaroop Sugunan
<=
Re: Symbol referencing errors while gmake
,
Greg Chicares
,
2007/04/06
Prev by Date:
RE: 'Unexpected end of line seen' error while building CSSL using GNU make.
Next by Date:
Re: Symbol referencing errors while gmake
Previous by thread:
Question regarding the load parameter -l
Next by thread:
Re: Symbol referencing errors while gmake
Index(es):
Date
Thread