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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2b82a7b0e64b610 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-13 03:35:12 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!feed.news.qwest.net!namche.sun.com!news1brm.central.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: GLADE + s-stratt.adb + GtkAda problem. Date: 13 Nov 2003 12:25:47 +0100 Organization: Sun Microsystems Message-ID: References: NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1068722747 27938 129.159.112.195 (13 Nov 2003 11:25:47 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 13 Nov 2003 11:25:47 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:2444 Date: 2003-11-13T11:25:47+00:00 List-Id: I struggled with the same problem about a year go on NT, but I cannot remember precisely what I did to solve it. You are correct that the problem is the two different versions of s-stratt.adb. I believe I may have simply copied the version which came with GLADE to the standard location and rebuilt the library. >>>>> "RK" == Rod Kay writes: RK> Hello, RK> I've installed GLADE 3.15p onto a Mandrake Linux 8.1 PC with GNAT RK> 3.15p, and compiled and run the example apps with no problems. When I RK> try to compile a GtkAda program with gnatdist, I'm informed that: RK> error: "gtk.adb" must be recompiled ("s-stratt.adb" has been RK> modified) RK> I rebuilt and re-installed GtkAda, but the error remains. I've found RK> some old references to a similar problem in the newsgroup archives but RK> they seem to relate to a old 'sed' problem under Windows NT. RK> I believe that a different s-stratt.adb exists for GLADE to correct RK> streams to cater for different 'Endian-ess' (one exists in the new RK> /usr/local/lib/garlic directory, created by GLADE install), but it would RK> seem that when I rebuild GtkAda the original s-stratt.adb/ali is being RK> used, instead of the GLADE version. As a last resort, I tried adding the RK> 'garlic' directory to the start of my ADA_OBJECTS_PATH before I rebuilt RK> GtkAda, but to no avail. RK> If anyone has experienced a similar problem, any advice would be RK> very helpful. RK> regards, RK> Charles. -- Strange attractors stole my wife