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,59ec34bfa2373410 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: anh_vo@udlp.com (Anh_Vo) Newsgroups: comp.lang.ada Subject: Re: Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?) Date: 16 Aug 2004 09:28:17 -0700 Organization: http://groups.google.com Message-ID: <5a59d6a9.0408160828.18fdb7de@posting.google.com> References: <49dc98cf.0408091032.508f09df@posting.google.com> <2nrv4rF3hamgU1@uni-berlin.de> <2o4d0kF6f1hsU1@uni-berlin.de> NNTP-Posting-Host: 69.104.229.186 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1092673697 10694 127.0.0.1 (16 Aug 2004 16:28:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 16 Aug 2004 16:28:17 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2755 Date: 2004-08-16T09:28:17-07:00 List-Id: "Marc A. Criley" wrote in message news:<2o4d0kF6f1hsU1@uni-berlin.de>... > "Jacob Sparre Andersen" wrote: > > > I have some problems getting it to link (using GNAT/Linux/IA32). This > > looks like the critical section in the output from `gnatmake`: > > > > ---------- > > gnatlink pipe_commands_test.ali > > ./pipe_commands.o(.text+0x3f4): In function `pipe_commands__read_next': > > : undefined reference to `c_constant_eof' > > collect2: ld returned 1 exit status > > gnatlink: cannot call /usr/gnat/gnat-501p-jmc/bin/gcc > > gnatmake: *** link failed. > > ---------- > > -- MODIFIED: 26 Jan 2003 Marc A. Criley > -- c_constant_EOF no longer available. (Defined by GNAT 3.13p? No > longer > -- available in 3.15p?) Replaced with hard-coded -1, as per stdio.h > for GNAT 3.4.0 I use pragma Import (C, c_constant_EOF, "__gnat_constant_eof"); instead of pragma Import (C, c_constant_EOF). A. Vo