[omniORB] omniorb for python on HP-UX = some problems
David CROSSON
david.crosson@vx.cit.alcatel.fr
Fri, 14 Jan 2000 12:33:39 +0100
Hello,
In order to be able to build omniorb for python on a
HP-UX 10.20 box, I've added a file config-hpux.h
inside the directory omniORBpy/omniidl/cxx/cccp
and modified the file config.h (in the same directory)
by adding the following lines just after __WIN32__
defined test :
#elif defined(__hpux__)
#include "config-hpux.h"
The content of the file config-hpux.h is :
#ifdef __hpux__
#define SIZEOF_UNSIGNED_CHAR 1
#define SIZEOF_INT 4
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#endif
So once Those modifications were done, I started building
everything but got an error while "make" was linking the
idlc command :
aCC -o idlc -g -I /opt/aCC/include +inst_v +DAportable \
-D_CMA_NOWRAPPERS_ \
-Wl,+s -L../../../../../lib/hppa_hpux_10.20 \
y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o \
idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlc.o \
/opt/aCC/lbin/ld: Unsatisfied symbols:
alloca (code)
I'm not able to find the library containing the alloca symbol
and it seems that the use of the alloca is discouraged because
it is system dependent.
Any Idea on a way to replace the use of alloca routine ?
David.
--
// David Crosson - Software Engineer
// Alcatel Telecom, Transmission Systems Division
// Phone: 01 6449 2985, Fax: 01 6449 2189
// mailto:david.crosson@vx.cit.alcatel.fr