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=0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_WORDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8ef68c7470f8079 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!news.cs.univ-paris8.fr!news.zanker.org!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: "Franz Kruse" Newsgroups: comp.lang.ada Subject: Re: glade-2: Error when generating source files Date: Mon, 12 Jul 2004 23:08:01 +0200 Organization: T-Online Message-ID: References: <19b0e504.0407110556.19544736@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1089666477 00 5713 dJavXakl9Hg-iNo 040712 21:07:57 X-Complaints-To: usenet-abuse@t-online.de X-ID: E41u8qZToeTFhY-AmGNVaeulff2Mbkr4eKFPDMm0A8Fu7hHYe9CGEq X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:2158 Date: 2004-07-12T23:08:01+02:00 List-Id: Dan McLeran: > > all.ada:1:01: compilation unit expected > > all.ada: parse errors detected > > all.ada: chop may not be successful > > no compilation units found > > no source files written > > > > Does anybody have an idea what might be wrong? Until recently, > > I was able to generate source files without problems. Reinstalling > > GtkAda, GNAT and GTK+ didn't help. > I have seen this before. I don't remember exactly what was wrong but > you can try invoking gate (the program that generates your code) > manually. From a command window, change directories to where your > project.glade file resides. Then you can invoke gate manually like > this: > > c:\MyGladeProjectFolder\>gate project.glade > ... Calling gate directly works. It seems that a temporary file all.ada is generated first, and this file is then gnatchopped into single compilation units. But now, when gnatmaking the program with the generated files, I get the message ld: unrecognized option 'C:\PROGRA~1\Ada\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a Franz