comp.lang.ada
 help / color / mirror / Atom feed
From: "William H. Osborne, Jr." <bosborne@merc.mercer.edu>
Subject: Re: Segmentation Fault using Ada IO under Linux
Date: 1999/06/18
Date: 1999-06-18T00:00:00+00:00	[thread overview]
Message-ID: <376b9d76@NEWS.hom.net> (raw)
In-Reply-To: 37664F17.17FFAEB7@merc.mercer.edu

Here's the fix until gnat is updated for glibc2.1.  The Linux-Ada team
created a stand-alone package that loads all of the required libraries
without interfering with the existing glibc files or the current c compiler
(egcs or whatever you are using).  The README on the web site below explains
in more detail.  The files you need are gnat-3.11p-1-13.i386.rpm and
gnat-3.11p-devel-1-13.i386.rpm.  Thanks to Aidan Skinner for the solution
and all others who had a suggestion.

----- Original Message -----
From: Aidan Skinner <aidan@skinner.demon.co.uk>
To: <bosborne@merc.mercer.edu>
Sent: Thursday, June 17, 1999 6:33 AM
Subject: Re: Segmentation Fault using Ada IO under Linux


> In comp.lang.ada, you wrote:
>
> >fault. 0x4006bf7d in _IO_setvbuf (fp=0x8070710, buf=0x0, mode=2, size=0)
> >at iosetvbuf.c:92. iosetvbuf.c:92: No such file or directory.
>
> This is almost certainly related to the libc version you're using.
>
> >RedHat 6.0 Linux running on Intel PCs (Everything from Pentium Pro 200
>
> Yep. RH6 moved to glibc 2.1.1, which broke the previous
> versions. <mumbles something about goddamn c-programmers and casting
> them out>
>
> Try the GNAT RPMs from the Ada/GNU-Linux website:
>
> http://www.cl.cam.ac.uk/~mgk25/linux-ada/
>
> they work fine for me. There's also a bunch of other neat stuff there
> (ncurses, gtk, X11 bindings etc.)
>
> - Aidan
> --
> http://www.skinner.demon.co.uk/aidan/
> Horses for courses, tac-nukes to be sure.






      parent reply	other threads:[~1999-06-18  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-15  0:00 Segmentation Fault using Ada IO under Linux Billy Osborne
1999-06-15  0:00 ` jerry
1999-06-16  0:00   ` William H. Osborne, Jr.
1999-06-18  0:00 ` William H. Osborne, Jr. [this message]
replies disabled

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