comp.lang.ada
 help / color / mirror / Atom feed
* CORBA Ada bindings
@ 2004-10-01  5:09 Brian May
  2004-10-01  5:46 ` Paul Duquennoy
  0 siblings, 1 reply; 9+ messages in thread
From: Brian May @ 2004-10-01  5:09 UTC (permalink / raw)


Hello,

I am looking for open source Ada bindings that work with gcc-3.4 and
doesn't require ORBit 1.0 (now obsolete).

Or is this a contradiction?

So far I have found:

adabroker-1.0pre4

* very old

* configure script gets confused and says gcc-3.4 is too old. I hacked
  out this check.

* seems to get confused by gcc C++ preprocessor output (the IDL
compiler preprocesses its input with the C++ preprocessor - is this
really standard IDL?).

e.g.

<built-in>:0:19 Error: An idl file name should have a ".idl" extension.

where it got confused and thought <built-in> was the filename. I
hacked out this error.

* included adasockets Makefile creates sockets.Constants.ads but
sockets-constants.ads is expected.

* uses internal GNAT unit System.Soft_Links (according to compiler message).
* dies with compiler error:

../support/adacompiler -c -g -O2 -I. -I. -I../adasockets/src -I../adasockets/src -L../adasockets/src  -fPIC -DPIC broca-protected_objects.adb -o .libs/broca-protected_objects.lo
broca-protected_objects.adb:37:12: warning: "System.Soft_Links" is an internal GNAT unit
broca-protected_objects.adb:37:12: warning: use of this unit is non-portable and version-dependent
broca-protected_objects.adb:124:35: ambiguous entry name
mv: cannot stat `tmp27758/broca-protected_objects.o': No such file or directory
mv: cannot stat `tmp27758/*.ali': No such file or directory

I replaced this line:
               Free := Free + Wait'Count;
with:
               Free := Free + Barrier_PO.Wait'Count;

I am not sure why "Wait" is ambiguous.

* seems like the best approach, despite the problems above.

* example "mostly" works.
--- cut ---
.../adabroker-1.0pre4/examples/echo >./client IOR:010000000d00000049444c3a4563686f3a312e300000000001000000000000003c000000010100000a0000003132372e302e302e3100fadb24000000010000001feb86a20100000001000000000000000c000000010000000100000000000000
I said : Hello Ada !
The object answered : Hello Ada !

raised PROGRAM_ERROR : Protected Object is finalized
--- cut ---

or

--- cut ---
.../adabroker-1.0pre4/examples/echo >./client
usage : client <IOR_string_from_server>|-i

raised PROGRAM_ERROR : Protected Object is finalized
--- cut ---

hmmmmm... What does this mean?  How do I find out what object it is
referring to? I guess I will keep fiddling. gdb shows the error occurs
after Ada_Main_Program returns and when Do_Finalize is called.

* What is the status of this package? Is this package still
  maintained? If so, where should I send bug fixes? If not, does it
  need a new maintainer?

GNACK-1.0

* old

* doesn't seem to support ORBit2 libraries.

* still trying to compile; last attempt I got elaboration circularity
  errors.

* Is a layer on top of C CORBA bindings on top of the ORBit1 library,
  which would appear a more complicated solution.
-- 
Brian May <bam@snoopy.apana.org.au>



^ permalink raw reply	[flat|nested] 9+ messages in thread
* CORBA Ada bindings
@ 2006-12-31 13:16 okellogg
  2006-12-31 13:37 ` Martin Krischik
  0 siblings, 1 reply; 9+ messages in thread
From: okellogg @ 2006-12-31 13:16 UTC (permalink / raw)


Version 1.2 of the GNU Ada CORBA Kit (GNACK) has been released.
Main feature of this version is the switch from ORBit-1 to to ORBit-2.

http://sourceforge.net/projects/orbitada

Oliver M. Kellogg
-- okellogg at users dot sourceforge dot net




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-08 11:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01  5:09 CORBA Ada bindings Brian May
2004-10-01  5:46 ` Paul Duquennoy
2004-10-01  8:06   ` Brian May
  -- strict thread matches above, loose matches on Subject: below --
2006-12-31 13:16 okellogg
2006-12-31 13:37 ` Martin Krischik
2007-01-03 10:32   ` Jerome Hugues
2007-01-06 23:52     ` Dr. Adrian Wrigley
2007-01-07 12:36       ` Martin Krischik
2007-01-08 11:49       ` Jerome Hugues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox