Building OKL4 "Hello World" Server

Lutz Schönemann

Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
I've read many things about how Iguana works and now I want to build  
my first OKL4 Server. I followed every step described in the following  
Wiki-Entry:
http://wiki.ok-labs.com/DevelopAServer
but the Hello World Server doesn't get compiled. Now errors or warnings.
I'm also new to SCons and IDL4. Is there any additional step that  
should be done to get this problem solved? Is IDL4 automatically  
called when running tools/build.py?

Thanks for help
Lutz

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer

smime.p7s (4K) Download Attachment
Lutz Schönemann

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
Problem solved. The mistake was that I've appended the Hello World  
related script at the end of the global SConscript. After moving the  
code above the "Linux" script it gets compiled.

But is there a documentation about IDL4? Something that tells me what  
files are created and what exactly IDL4 does?

Lutz


Am 27.10.2008 um 17:21 schrieb Lutz Schönemann:

> I've read many things about how Iguana works and now I want to build  
> my first OKL4 Server. I followed every step described in the  
> following Wiki-Entry:
> http://wiki.ok-labs.com/DevelopAServer
> but the Hello World Server doesn't get compiled. Now errors or  
> warnings.
> I'm also new to SCons and IDL4. Is there any additional step that  
> should be done to get this problem solved? Is IDL4 automatically  
> called when running tools/build.py?
>
> Thanks for help
> Lutz_______________________________________________
> Developer mailing list
> [hidden email]
> https://lists.okl4.org/mailman/listinfo/developer


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer

smime.p7s (4K) Download Attachment
Bob-4

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
You can search for the Idl4 manual.

---
Best regards

Bo Liu



> From: [hidden email]
> To: [hidden email]
> Date: Mon, 27 Oct 2008 18:18:56 +0100
> Subject: Re: [okl4-developer] Building OKL4 "Hello World" Server
>
> Problem solved. The mistake was that I've appended the Hello World
> related script at the end of the global SConscript. After moving the
> code above the "Linux" script it gets compiled.
>
> But is there a documentation about IDL4? Something that tells me what
> files are created and what exactly IDL4 does?
>
> Lutz
>
>
> Am 27.10.2008 um 17:21 schrieb Lutz Schönemann:
>
> > I've read many things about how Iguana works and now I want to build
> > my first OKL4 Server. I followed every step described in the
> > following Wiki-Entry:
> > http://wiki.ok-labs.com/DevelopAServer
> > but the Hello World Server doesn't get compiled. Now errors or
> > warnings.
> > I'm also new to SCons and IDL4. Is there any additional step that
> > should be done to get this problem solved? Is IDL4 automatically
> > called when running tools/build.py?
> >
> > Thanks for help
> > Lutz_______________________________________________
> > Developer mailing list
> > [hidden email]
> > https://lists.okl4.org/mailman/listinfo/developer
>


Connect to the next generation of MSN Messenger  Get it now!
_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Wmarketing3

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
In reply to this post by Lutz Schönemann
Some javascript/style in this post has been disabled (why?)
Mr Schonermann
 
In response to your recent post on IDL4 below is the link to the current IDL4 manual from the OKL4 Labs website.
 
 
There is even more information available at the OKL4 website
 
 
IDL4 is an interface language like CORBA and DCE and since its last format release in 2003 is currently under review for a new release.
You can find the Beta on the website.
 
Should you need a tutorial as a starting point, let me recommend you follow these web links:
 
 
While this reference is Java centric is has a great deal of conceptual information
 
A more specific tutorial on CORBA for Linux and C/C++ can be found at the link below
 
 
 
 
 
 
 

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Robert Wetzel

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
In reply to this post by Lutz Schönemann
Lutz Schönemann wrote:

> But is there a documentation about IDL4? Something that tells me what
> files are created and what exactly IDL4 does?

IDL4 is, from what I got so far, a subset of the CORBA IDL, which
defines interfaces between servers and clients. This IDL is used by
an IDL compiler ("magpie") to generate the server and the client
skeleton and stub code, respectively. This code does nothing else
than piping your calls through OKL4 IPCs. In addition, you get handed
the server loop function, which waits for incoming calls and deploys
them to the respective "business" code.

All in all, up to 3 files are generated (at least in OKL4 2.1):
Two files (one .h and one .c) for the server side (declarations and
the server loop code), and one file (.h) for the client side. I dunno
about the server side files; the client side include file is only
generated if it's actually used somewhere (i.e. by having an
#include <interfaces/...> in your client code).

The IDL provides a couple "annotations" to interfaces, enclosed in
brackets "[....]", like an uuid() to differ between interfaces if
multiple have been specified, or the presence of an async or
exception handler.

A thing which seemingly doesn't work is defining data structures
(maybe someone can correct me on that one); you will have to use
#include-s of header files if you want to other than the default
data types.


Robert

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Geoffrey Lee

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
In reply to this post by Lutz Schönemann
On Mon, Oct 27, 2008 at 06:18:56PM +0100, Lutz Schönemann wrote:
> Problem solved. The mistake was that I've appended the Hello World  
> related script at the end of the global SConscript. After moving the  
> code above the "Linux" script it gets compiled.
>
> But is there a documentation about IDL4? Something that tells me what  
> files are created and what exactly IDL4 does?

Lutz - great that you solved your problem.  I just wanted to point
out that OKL4 3.0 has been released, which comes with an SDK which
should avoid problems related to modifying the OKL4 build system
internals.  The SDK should allow people to use their own build
system and offers greater flexibility in building systems
on OKL4.


>
> Lutz

        -gl

>
>
> Am 27.10.2008 um 17:21 schrieb Lutz Schönemann:
>
>> I've read many things about how Iguana works and now I want to build  
>> my first OKL4 Server. I followed every step described in the following
>> Wiki-Entry:
>> http://wiki.ok-labs.com/DevelopAServer
>> but the Hello World Server doesn't get compiled. Now errors or  
>> warnings.
>> I'm also new to SCons and IDL4. Is there any additional step that  
>> should be done to get this problem solved? Is IDL4 automatically  
>> called when running tools/build.py?
>>
>> Thanks for help
>> Lutz_______________________________________________
>> Developer mailing list
>> [hidden email]
>> https://lists.okl4.org/mailman/listinfo/developer
>



> _______________________________________________
> Developer mailing list
> [hidden email]
> https://lists.okl4.org/mailman/listinfo/developer


--


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Lutz Schönemann

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink

Am 29.10.2008 um 03:19 schrieb Geoffrey Lee:

> On Mon, Oct 27, 2008 at 06:18:56PM +0100, Lutz Schönemann wrote:
>> Problem solved. The mistake was that I've appended the Hello World
>> related script at the end of the global SConscript. After moving the
>> code above the "Linux" script it gets compiled.
>>
>> But is there a documentation about IDL4? Something that tells me what
>> files are created and what exactly IDL4 does?
>
> Lutz - great that you solved your problem.  I just wanted to point
> out that OKL4 3.0 has been released, which comes with an SDK which
> should avoid problems related to modifying the OKL4 build system
> internals.  The SDK should allow people to use their own build
> system and offers greater flexibility in building systems
> on OKL4.
Is there also a SDK version for x86 architecture? Or how can I create  
one out of the sources?

Lutz

>
>
>
>>
>> Lutz
>
> -gl
>>
>>
>> Am 27.10.2008 um 17:21 schrieb Lutz Schönemann:
>>
>>> I've read many things about how Iguana works and now I want to build
>>> my first OKL4 Server. I followed every step described in the  
>>> following
>>> Wiki-Entry:
>>> http://wiki.ok-labs.com/DevelopAServer
>>> but the Hello World Server doesn't get compiled. Now errors or
>>> warnings.
>>> I'm also new to SCons and IDL4. Is there any additional step that
>>> should be done to get this problem solved? Is IDL4 automatically
>>> called when running tools/build.py?
>>>
>>> Thanks for help
>>> Lutz_______________________________________________
>>> Developer mailing list
>>> [hidden email]
>>> https://lists.okl4.org/mailman/listinfo/developer
>>
>
>
>
>> _______________________________________________
>> Developer mailing list
>> [hidden email]
>> https://lists.okl4.org/mailman/listinfo/developer
>
>
> --
>
>


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer

smime.p7s (4K) Download Attachment
Geoffrey Lee

Re: Building OKL4 "Hello World" Server

Reply Threaded More More options
Print post
Permalink
On Fri, Oct 31, 2008 at 02:51:27PM +0100, Lutz Schönemann wrote:

>
> Am 29.10.2008 um 03:19 schrieb Geoffrey Lee:
>
>> On Mon, Oct 27, 2008 at 06:18:56PM +0100, Lutz Schönemann wrote:
>>> Problem solved. The mistake was that I've appended the Hello World
>>> related script at the end of the global SConscript. After moving the
>>> code above the "Linux" script it gets compiled.
>>>
>>> But is there a documentation about IDL4? Something that tells me what
>>> files are created and what exactly IDL4 does?
>>
>> Lutz - great that you solved your problem.  I just wanted to point
>> out that OKL4 3.0 has been released, which comes with an SDK which
>> should avoid problems related to modifying the OKL4 build system
>> internals.  The SDK should allow people to use their own build
>> system and offers greater flexibility in building systems
>> on OKL4.
>
> Is there also a SDK version for x86 architecture? Or how can I create  
> one out of the sources?

Lutz - Unfortunately the OKL4 SDK is currently only available for ARM-based
processors.

(I realized that you are developing on x86-based processors at the moment,
but wasn't sure whether that was only for quick prototyping or not.)


        -gl

>
> Lutz
>
>>
>>
>>
>>>
>>> Lutz
>>
>> -gl
>>>
>>>
>>> Am 27.10.2008 um 17:21 schrieb Lutz Schönemann:
>>>
>>>> I've read many things about how Iguana works and now I want to build
>>>> my first OKL4 Server. I followed every step described in the  
>>>> following
>>>> Wiki-Entry:
>>>> http://wiki.ok-labs.com/DevelopAServer
>>>> but the Hello World Server doesn't get compiled. Now errors or
>>>> warnings.
>>>> I'm also new to SCons and IDL4. Is there any additional step that
>>>> should be done to get this problem solved? Is IDL4 automatically
>>>> called when running tools/build.py?
>>>>
>>>> Thanks for help
>>>> Lutz_______________________________________________
>>>> Developer mailing list
>>>> [hidden email]
>>>> https://lists.okl4.org/mailman/listinfo/developer
>>>
>>
>>
>>
>>> _______________________________________________
>>> Developer mailing list
>>> [hidden email]
>>> https://lists.okl4.org/mailman/listinfo/developer
>>
>>
>> --
>>
>>
>



--


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer