Joaquim Oliveira | 2 Apr 2007 14:03
Picon

How to build MICO 2.3.11 in HP-UX 11.11?

Hi all,

I'm trying to build MICO-2.3.11 in HP-UX 11.11, using GCC, and found the 
following problem during ./configure:

checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler 
cannot create executables.

I saw in config.log that this error occurs because configure is passing 
an invalid argument to ld command:

configure:1641: checking whether the C++ compiler (c++  ) works
configure:1657: c++ -o conftest    conftest.C  1>&5
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file 
(/var/tmp//cc2owOdc.o) was detected. The linked output may not run on a 
PA 1.x system.
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage:  /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status
configure: failed program was:

#line 1652 "configure"
#include "confdefs.h"

The /usr/ccs dir contains the HP CC embedded compiler and also the ld 
command. I checked for another ld executable, but there's no one. The 
following packages were installed in the system:

(Continue reading)

Laurent Marzullo | 5 Apr 2007 21:16

Re: How to build MICO 2.3.11 in HP-UX 11.11?

Hello,

I've tried once to use GCC on hpux superdome, and this turn me crazy.
What I've understand (If I well remember, it was about 3 years ago) is
that G++ and HP-UX linker does not fill well together for using dynamic
library ! Perhaps this has been fix yet (don't know).

I've then compiled MICO with --disable-shared to use only static library
(because at the time, dynamic library compiled with G++ on HP-UX does
not have any 'init' routine inside, and then static object was not
initialize when dynamic library was loaded).

When configuring mico, I've done something like this:

CXX=<path to GNU c++ compiler> ./configure --disable-shared
--disable-thread etc, etc and finally suceed !

But the big mess is to compile G++ on HP-UX, not MICO (at the time, I've
found some binary package for HP-UX of G++ but they didn't work), but as
I've said, perhaps this has been fixed now.

Regards

On Mon, 2007-04-02 at 09:03 -0300, Joaquim Oliveira wrote:
> Hi all,
> 
> I'm trying to build MICO-2.3.11 in HP-UX 11.11, using GCC, and found the 
> following problem during ./configure:
> 
> checking for c++... c++
(Continue reading)

Ana Lucia de Moura | 18 Apr 2007 15:42
Picon

static library for windows

Hi,
I`ve tried to build mico 2.3.12 as a Win32 Static Library following the 
instructions in the README-WIN32 file, but the library I built did not 
work.
Has anyone in the list any experience building and using a windows static 
library for mico 2.3.12? Are there any binaries available?

tks
Ana
Sorin Mustaca | 19 Apr 2007 18:09
Picon
Gravatar

Re: static library for windows


Ana Lucia de Moura wrote:
> Hi,
> I`ve tried to build mico 2.3.12 as a Win32 Static Library following the
> instructions in the README-WIN32 file, but the library I built did not
> work.
Could you, please, be more specific ?
What exactly didn't work ? What kind of errors did you get?

A Mico lib is very problematic, because it depends what you insert in
it. For example, some symbols might be duplicated in some parts of the
code (included in many modules). The modules which are to be integrated
in the main lib (mico.lib) have to be carefully chosen.
By modules I understand SSL, CSIv2, DCM, etc.
Even if you manage to build independent libs out of these modules, you
won't be able to link an exe with all of them.
This ia design problem of Mico on Windows and can not very easily changed.

> Has anyone in the list any experience building and using a windows
> static library for mico 2.3.12? Are there any binaries available?
> 
> tks
> Ana
> _______________________________________________
> Mico-devel mailing list
> Mico-devel <at> mico.org
> http://www.mico.org/mailman/listinfo/mico-devel
> 
> 

(Continue reading)

Zoltan Bordas | 19 Apr 2007 18:37

RE: static library for windows

Ana,

I have successfully built and tested MICO 2.3.12 on windows built as a
static library after tweaking the original project files a bit. As Sorin
pointed out: if you need MICO as a static lib you have to change the
project file content based on what you need.

I have attached the project files I used for both the multi- and
single-threaded binaries.

Zoltan

-----Original Message-----
From: mico-devel-bounces <at> mico.org [mailto:mico-devel-bounces <at> mico.org]
On Behalf Of Ana Lucia de Moura
Sent: Wednesday, April 18, 2007 8:42 AM
To: mico-devel <at> mico.org
Subject: [mico-devel] static library for windows

Hi,
I`ve tried to build mico 2.3.12 as a Win32 Static Library following the 
instructions in the README-WIN32 file, but the library I built did not 
work.
Has anyone in the list any experience building and using a windows
static 
library for mico 2.3.12? Are there any binaries available?

tks
Ana
_______________________________________________
(Continue reading)

Ana Lucia de Moura | 19 Apr 2007 20:10
Picon

RE: static library for windows

Thank you very much, Zoltan !
I will try to build the static library using the info in your project 
file.

best regards,
Ana

On Thu, 19 Apr 2007, Zoltan Bordas wrote:

> Ana,
>
> I have successfully built and tested MICO 2.3.12 on windows built as a
> static library after tweaking the original project files a bit. As Sorin
> pointed out: if you need MICO as a static lib you have to change the
> project file content based on what you need.
>
> I have attached the project files I used for both the multi- and
> single-threaded binaries.
>
> Zoltan
>
> -----Original Message-----
> From: mico-devel-bounces <at> mico.org [mailto:mico-devel-bounces <at> mico.org]
> On Behalf Of Ana Lucia de Moura
> Sent: Wednesday, April 18, 2007 8:42 AM
> To: mico-devel <at> mico.org
> Subject: [mico-devel] static library for windows
>
> Hi,
> I`ve tried to build mico 2.3.12 as a Win32 Static Library following the
(Continue reading)

Michael Mzik | 24 Apr 2007 10:18
Picon

Problem with valuetype in CORBAscript 1.3.5 and MICO 2.3.9

 

Hi all,

 

I am trying to use a valuetype together with CORBAscript 1.3.5 and MICO 2.3.9.

 

My IDL looks like this:

 

   valuetype IChiVariable {

     // initializer

     factory init(in any value);

   };

 

   valuetype IChiVariableInt : IChiVariable {

     public long value;

   };

 

The implementation is done in CORBAscript:

 

   # valuetype class for IChiVariableInt

   class ICHIVARIABLEINT

   {

     proc __ICHIVARIABLEINT__(self) {}

  

     proc init(self, value) {

       self.value = value

     }

   }

 

   # register valuetype factory

   CORBA.ORB.register_value_factory("IDL:IChiVariableInt:1.0", ICHIVARIABLEINT)

 

 

When I execute the script, I catch the exeception “< NotFound: method ‘register_value_factory’ in scope ORB >”,

although the CORBAscript documentation specifies the ‘register_value_factory()’ method to be available.

 

On the other hand, basic ORB methods do work correctly, e.g.  “println( CORBA.ORB.list_initial_services() )”

correctly gives me the following list:

["DynAnyFactory", "ImplementationRepository", "InterfaceRepository", "RootPOA", "POACurrent", "PrincipalCurrent", "CodecFactory", "PICurrent"]

 

 

Anybody has an idea of what I am doing wrong?

 

Thank you very much and my best regards,

 

Michael

 

_______________________________________________
Mico-devel mailing list
Mico-devel <at> mico.org
http://www.mico.org/mailman/listinfo/mico-devel
Clemens Tan | 28 Apr 2007 17:35
Picon
Picon

Searching a notifiaction / subscriber tutorial

Hi,

 

I am just getting started using mico and unfortunately facing some frustrating beginner problems. I am trying to setup a simple client server Communication. The client offers some callbacks, which it registers at the Server. There are plenty tutorials on this, but none of them explains the following:

 

  1. Does the client need a POA?

  2. Does the client orb needs to run() ?

  3. Do I need to start any services of the orb for this notification / subscriber mechanism?

 

I’ve created a callback object on the client and sent it to the server. The server invokes a method from that callbackobject. But the message never reaches the client. So I was wondering, what the client needs to accept messages from the server.

 

Thanks for any help. I was looking for a solution on the internet for a week. So I hope this beginner problem might be solved here.

 

Greetings

 

Clemens

_______________________________________________
Mico-devel mailing list
Mico-devel <at> mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Gmane