[omniORB] omniEvents

Donald Brandon dbrandon@nrlssc.navy.mil
Wed, 07 Nov 2001 14:42:14 -0600


This is a multi-part message in MIME format.
--------------D55CBD49FBED7B66474B90E2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

First, I do apologize for this e-mail.  I realize this is probably more
of a compilation problem than an omniORB specific problem, but alas, I
am running out of options.  Please let me explain.

I have been using omniORB 3.0.3 with omniEvents 2.1.1 for sometime now
but have found myself in an akward position of having to step back to
previous versions because of software demands (the software I am trying
to run was built on the 2.80 technology with omniEvents 2.0.1.

I am running on a Linux platform with RedHat 7.1, using gcc2.96  (which
if I remember corrrectly, you are not fond of).  My build of omniORB
2.80 is fine, no problems whatsoever.  However, when I build omniEvents,

I run into difficulty.  My first failure came when I went into the utils

directory.  It was the second part of the build (the idls built ok).  I
had to go into omniEvents.h and comment out :

#ifndef std
#define std                   :  What this did is clear a bad_alloc
exception I imagined was being thrown by new?
#endif

This allowed the build to progress to the examples directory (the last
part of the build).  Here it fails miserably with any header file
beginning with stl_.  The error :

making export in src/contrib/omniEvents/examples...
make[1]: Entering directory
`/usr/local/omniORB_280/src/contrib/omniEvents/examples'
../../../../bin/i586_linux_2.0_glibc/omkdepend -D__cplusplus -D__GNUG__
-D__GNUC__ -I../include -D__OMNIORB2__ -I../../../../stub -D_REENTRANT
-D__STL_NO_NAMESPACES -I. -I../../../../include -D__x86__ -D__linux__
-D__OSVERSION__=2 pullcons.cc pullsupp.cc pushsupp.cc pushcons.cc
eventc.cc
/usr/bin/g++ -c -O2  -Wall -Wno-unused -I../include -D__OMNIORB2__
-I../../../../stub -D_REENTRANT -D__STL_NO_NAMESPACES -I.
-I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o
eventc.o eventc.cc
In file included from /usr/include/g++-3/stl_algobase.h:39,
                 from /usr/include/g++-3/list:30,
                 from ../include/oep_types.h:50,
                 from ../include/omniEvents.h:90,
                 from ../include/getopt.h:48,
                 from /usr/include/unistd.h:726,
                 from eventc.cc:83:
/usr/include/g++-3/stl_relops.h:37: template with C linkage
/usr/include/g++-3/stl_relops.h:42: template with C linkage
/usr/include/g++-3/stl_relops.h:47: template with C linkage
/usr/include/g++-3/stl_relops.h:52: template with C linkage
In file included from /usr/include/g++-3/stl_algobase.h:42,
                 from /usr/include/g++-3/list:30,
                 from ../include/oep_types.h:50,
                 from ../include/omniEvents.h:90,
                 from ../include/getopt.h:48,
                 from /usr/include/unistd.h:726,
                 from eventc.cc:83:
/usr/include/g++-3/stl_pair.h:37: template with C linkage
/usr/include/g++-3/stl_pair.h:48: template with C linkage
/usr/include/g++-3/stl_pair.h:54: template with C linkage
/usr/include/g++-3/stl_pair.h:60: template with C linkage
/usr/include/g++-3/stl_pair.h:67: template with C linkage

This goes on for several other files.  Any quick solutions that can be
seen?  I have checked the archives and found a similar post but it was
never responded to.  Sorry to bother you but I am really in a bind on
this one.

As I said, omniEvents built through until the last directory.  I can
start the event service but I cannot create an event channel, since
eventc.cc will not build.

Thanks in advance for any assistance you can offer.
DB

--------------D55CBD49FBED7B66474B90E2
Content-Type: text/x-vcard; charset=us-ascii;
 name="dbrandon.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Donald Brandon
Content-Disposition: attachment;
 filename="dbrandon.vcf"

begin:vcard 
n:Brandon;Donald
tel;pager:(228) 870-5610
tel;fax:(228) 688-4853
tel;work:(228) 688-5245
x-mozilla-html:FALSE
org:Naval Research Laboratory;Mapping, Charting, and Geodesy
adr:;;											;;;;
version:2.1
email;internet:dbrandon@nrlssc.navy.mil
x-mozilla-cpt:;0
fn:Donald Brandon
end:vcard

--------------D55CBD49FBED7B66474B90E2--