From: "Marc A. Criley" <mcNOSPAM@mckae.com>
Subject: Re: Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?)
Date: Fri, 13 Aug 2004 12:44:44 -0500
Date: 2004-08-13T12:44:44-05:00 [thread overview]
Message-ID: <2o4d0kF6f1hsU1@uni-berlin.de> (raw)
In-Reply-To: plk6w36yyx.fsf_-_@sparre.crs4.it
"Jacob Sparre Andersen" <sparre@nbi.dk> 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.
> ----------
>
> Any suggestions?
Now that you mention it, I vaguely recall having to deal with that problem.
I _think_ the problem was that the code interfaced to a symbol in the GNAT
library called "c_constant_eof". As the Pipes package is a few years old,
GNAT has undergone several version upgrades since then, and that symbol is
no longer available.
Waitaminnit, oh, you are soooooo lucky!
I carry the DTraq code around with me on one of those flash memory drives,
and since it uses Pipes I pulled up the code. Here's the comment I put in:
-- 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
There you go!
Marc A. Criley
McKae Technologies
www.mckae.com
next prev parent reply other threads:[~2004-08-13 17:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-09 18:32 SSH Sessions ? Chris Humphries
2004-08-09 19:12 ` Georg Bauhaus
2004-08-10 1:54 ` Chris Humphries
2004-08-10 2:49 ` Stephen Leake
2004-08-11 6:57 ` Andreas Almroth
2004-08-10 4:32 ` Adam Ruth
2004-08-10 12:58 ` Marc A. Criley
2004-08-11 13:35 ` Chris Humphries
2004-08-13 11:48 ` Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?) Jacob Sparre Andersen
2004-08-13 17:44 ` Marc A. Criley [this message]
2004-08-14 18:45 ` James E. Hopper
2004-08-17 15:29 ` Using Jim Rogers' "Ada Binding to Pipes"? Jacob Sparre Andersen
2004-08-18 1:15 ` James E. Hopper
2004-08-16 16:28 ` Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?) Anh_Vo
2004-08-17 15:28 ` Jacob Sparre Andersen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox