From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d4b597df3feaa8d5,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: Brian May Newsgroups: comp.lang.ada Subject: CORBA Ada bindings Date: Fri, 01 Oct 2004 15:09:22 +1000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:CdaaHCVCbFmwGlMBt9mFNkctedw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: dsl-202-173-153-89.vic.westnet.com.au X-Trace: news.melbourne.pipenetworks.com 1096607354 202.173.153.89 (1 Oct 2004 15:09:14 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-south.connect.com.au!news.alphalink.com.au!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:4483 Date: 2004-10-01T15:09:22+10:00 List-Id: 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. :0:19 Error: An idl file name should have a ".idl" extension. where it got confused and thought 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 |-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