|
Hi
again,
I've
been off for a few days so I couldn't get back to you.
This
last error you are talking about I believe has to do with threading
options, it looks like an exception not being caugth is causing an abort (via a
kill). To be sure about this you can issue a "bt" (backtrace command) while in
gdb.
When
compiling with aCC using the -AA option, if you are using threads (remember
runConfigure -r pthread for the xercesc lib build) you must be consistent with
all builds. I'm almost sure about this is the origin the core dump. To achieve
this there are another options:
*
Rebuild samples ignoring threading options.
* If
you want to use threads, rebuild samples including the following defines in your
Makefile.incl as you did before with the -AA option. I missed to
comment them before but if you take a look there are two other
options added to the original Makefile.incl. file (-D_RWSTD_MULTI_THREAD
-D_REENTRANT) I'm assumming you also missed to notice this.
#================= HP SPECIFIC OPTIONS
===========================
ifeq (${PLATFORM}, HPUX) ifeq (${COMPILER}, aCC) CMP = -c +DAportable $(CXXFLAGS) -D_HP_UX -DHPaCC -w +z -D_RWSTD_MULTI_THREAD -D_REENTRANT CC = aCC -AA LINK = ${CC} -Wl,+s -Wl,+b,. ${LDFLAGS} PLATFORM_LIB_LINK_OPTIONS=-L/opt/aCC/lib -L/usr/ccs/lib -lpthread SHLIBSUFFIX=.sl else ifneq (${DEBUG}, 1) CXXFLAGS = -w +O1 endif APPL_NAME = $(notdir $(shell pwd)) TEMPLATESDIR = $(XERCESCROOT)/bin/obj/$(APPL_NAME)/ptrepository COMMON_CMP = $(CXXFLAGS) -D_HP_UX -DHPCC +DAportable -w +eh +z -z \ -ptr$(TEMPLATESDIR) CMP = -c $(COMMON_CMP) CC = CC LINK = ${CC} $(COMMON_CMP) -Wl,+s -Wl,+b,. ${LDFLAGS} PLATFORM_LIB_LINK_OPTIONS=-L/opt/CC/lib -L/usr/lib SHLIBSUFFIX=.sl endif endif I hope this finally does it. If you want more
information about the aCC options, libraries and also what is this -AA all about
and the consequences when linking and the like, you can refer to the online
guide of aCC. Probably it is located under
/opt/aCC/html
Ernesto
_____________________________________________________________ Uni2 Telecomunicaciones, S.A.U. Aviso legal: Este mensaje electr�nico est� dirigido �nicamente a la(s) direcci�n(es) indicadas anteriormente; el car�cter confidencial, personal e intransferible del mismo est� protegido legalmente. Cualquier revelaci�n, uso o reenv�o no autorizado, completo o en parte, est� prohibido. Si ha recibido este mensaje por equivocaci�n, notif�quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias |
RE: "coredump" error while running samples in xerces in HP-unix 1 1
Garcia Del Moral Gonzalez, Ernesto Tue, 09 Dec 2003 01:31:46 -0800
- Core dump error has been eliminated by ... Garcia Del Moral Gonzalez, Ernesto
- Core dump error has been eliminate... Kathiravan
