Can't compile OmniORB echo example

Can't compile OmniORB echo example

Post by Peter Kle » Mon, 28 Jul 2003 09:27:10



Hello,

can anybody point me to documentation on how to compile the Echo
object example from the OmniORB docs?
I can't seem to compile the example with the limited information
given. A makefile would be nice.
Thanks,

Peter

 
 
 

Can't compile OmniORB echo example

Post by Alan Walke » Mon, 28 Jul 2003 11:01:41


Peter,

I compiled and ran them on Win2K and Linux/390 last week using OmniORB
4.0.1, there's no challenge, just follow the instructions.  For Unix
platforms it's README.unix, for Windows platforms it's README.win32, both in
the OmniORB root directory.

All the necessary makefiles are in the distribution.  I think OmniORB is
very well documented, just start with "README.FIRST" and you'll be set.

Alan.


Quote:> Hello,

> can anybody point me to documentation on how to compile the Echo
> object example from the OmniORB docs?
> I can't seem to compile the example with the limited information
> given. A makefile would be nice.
> Thanks,

> Peter


 
 
 

Can't compile OmniORB echo example

Post by Peter Kle » Tue, 29 Jul 2003 03:59:55


You are right - it was a piece of cake once I scrapped the RPM and
installed the tarball. The RPM didn't have most of the examples or
documentation in it.
Thanks!

Peter

 
 
 

Can't compile OmniORB echo example

Post by Daniel Ortman » Tue, 29 Jul 2003 10:49:13



> can anybody point me to documentation on how to compile the Echo
> object example from the OmniORB docs?  I can't seem to compile the
> example with the limited information given.  A makefile would be nice.

The examples are under omniORB-4.0.1/src/examples/.

--
Daniel Ortmann, LSI Logic, 3425 40th Av NW, Suite 200, Rochester MN 55901


 
 
 

1. error compiling OmniORB examples

Hello folks,
 I'm running a Linux system with the following configuration:

 Kernel 2.0.29
 GCC 2.7.2
 binutils 2.6.0.14
 Linux C Lib 5.3.12
 GNU C++ Lib 2.7.1.4
 LinuxThreads 0.5

 I downloaded and unpacked the Linux distribution of OmniORB, however
when I try to compile the echo example I get the following errors:

 /home/shater/CORBA/omniORB_2.2.0/src/examples/echo{53}>make
 gcc -c  -fhandle-exceptions -Wall -Wno-unused -I. -D__OMNIORB2__
 -I../../../include -D_REENTRANT -D__linux__ -D__i86__ -D__OSVERSION__=2
-o echoSK.o echoSK.cc
 In file included from ../../../include/omniORB2/omniInternal.h:56,
                  from ../../../include/omniORB2/CORBA.h:42,
                  from echo.hh:4,
                  from echoSK.cc:1:
 ../../../include/omnithread.h:159: syntax error before `;'
 ../../../include/omnithread.h:206: syntax error before `;'
 ../../../include/omnithread.h:411: syntax error before `;'

 make: *** [echoSK.o] Error 1

The lines that cause the errors are:

line 159 of the omnithread.h file

OMNI_THREAD_EXPOSE:
    OMNI_MUTEX_IMPLEMENTATION

line 206 :

OMNI_THREAD_EXPOSE:
    OMNI_CONDITION_IMPLEMENTATION

line 411:
OMNI_THREAD_EXPOSE:
    OMNI_THREAD_IMPLEMENTATION

The lines seem to be related :) however, I cannot say I understand the
omnithread.h file too well.  Does this give anybody some ideas on what
part I might be missing? maybe an environment variable the tells the
compilers something?

any help would be greatly appreciated.
Sincerely,

Abdullah Bushnaq
The College of Wooster
Wooster, OHIO

2. : New on the Belgian ftp-server

3. Anybody compiled the 'acb 1.02' associative code example?

4. 200MG HARD DRIVE WANTED !

5. Error on compiling 'passthru' example of windows DDK

6. No connection with MDP3858V-E modem

7. Driving 'canned' QNX Windows apps.

8. Help Regarding Data Mirroring

9. It's not bad canned meat...

10. How to configure TAO's Naming_Service to replace omniOrb's V2.7 omniNames

11. It's not bad canned meat...

12. How to combine 'mbuild' and 'tmCC' to compile programs?