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=-2.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2b82a7b0e64b610 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-13 01:50:29 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Duncan Sands Newsgroups: comp.lang.ada Subject: Re: GLADE + s-stratt.adb + GtkAda problem. Date: Thu, 13 Nov 2003 10:50:24 +0100 Organization: Cuivre, Argent, Or Message-ID: References: <3FB30090.F400B41@mullum.com.au> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1068716968 72216 80.67.180.195 (13 Nov 2003 09:49:28 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 13 Nov 2003 09:49:28 +0000 (UTC) To: Rod Kay , comp.lang.ada@ada.eu.org Return-Path: User-Agent: KMail/1.5.1 In-Reply-To: <3FB30090.F400B41@mullum.com.au> Content-Disposition: inline X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2442 Date: 2003-11-13T10:50:24+01:00 On Thursday 13 November 2003 04:54, Rod Kay wrote: > Hello, > > I've installed GLADE 3.15p onto a Mandrake Linux 8.1 PC with GNAT > 3.15p, and compiled and run the example apps with no problems. When I > try to compile a GtkAda program with gnatdist, I'm informed that: > > error: "gtk.adb" must be recompiled ("s-stratt.adb" has been > modified) > > > I rebuilt and re-installed GtkAda, but the error remains. I've found > some old references to a similar problem in the newsgroup archives but > they seem to relate to a old 'sed' problem under Windows NT. > > I believe that a different s-stratt.adb exists for GLADE to correct > streams to cater for different 'Endian-ess' (one exists in the new > /usr/local/lib/garlic directory, created by GLADE install), but it would > seem that when I rebuild GtkAda the original s-stratt.adb/ali is being > used, instead of the GLADE version. As a last resort, I tried adding the > 'garlic' directory to the start of my ADA_OBJECTS_PATH before I rebuilt > GtkAda, but to no avail. > > If anyone has experienced a similar problem, any advice would be > very helpful. You need to rebuild Gtkada against the glade versions of the ada libraries. Ciao, Duncan.