comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Ada/Linux/select() problem
Date: 1997/04/04
Date: 1997-04-04T00:00:00+00:00	[thread overview]
Message-ID: <x7vg1x7l2gr.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: 334281E6.2781@nlr.nl


"moelands j.m." <moelands@nlr.nl> writes:

> I have a problem with the select() system call on linux in combination
> with Ada.
> 
> The following short example program, consisting of an Ada main routine 
> main.adb, an interface package sel.ad[sb] providing the interface between
> Ada and C, and a file dosel.c containing the C routine calling select(), 
> does run on a Unix machine (as it should, imo). However, it does not run 
> under linux - the result is a core dump. The call to select() seems to 
> garble the stack.
> 
> I use gnat 3.09 and linux 2.0.0. Does anybody have any idea what might
> cause this problem?

Works fine here (2.0.29). What system library versions are you using?

pogner[26]$ ldd main
        libgnat.so => /usr/lib/libgnat.so.3.09
        libc.so.5 => /lib/libc.so.5.4.17
        libpthreads.so.1 => /usr/lib/libpthreads.so.1.60.4
        libm.so.5 => /lib/libm.so.5.0.7

-Simon




      reply	other threads:[~1997-04-04  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-02  0:00 Ada/Linux/select() problem moelands j.m.
1997-04-04  0:00 ` Simon Wright [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