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,b19c6a2c2c73b487 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-28 15:46:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-text.cableinet.net.POSTED!53ab2750!not-for-mail From: "Karen" Newsgroups: comp.lang.ada References: Subject: Re: AdaGide (Gnat) Build error X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Message-ID: Date: Fri, 28 Feb 2003 23:46:38 GMT NNTP-Posting-Host: 80.193.1.203 X-Complaints-To: abuse@blueyonder.co.uk X-Trace: news-text.cableinet.net 1046475998 80.193.1.203 (Fri, 28 Feb 2003 23:46:38 GMT) NNTP-Posting-Date: Fri, 28 Feb 2003 23:46:38 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) Xref: archiver1.google.com comp.lang.ada:34745 Date: 2003-02-28T23:46:38+00:00 List-Id: doh! rename to read this carefully... test1.adb Ithankyou.. "Willy" wrote in message news:a909a74f.0302280900.44c0c5e4@posting.google.com... > It still doesn't work. I changed the file name and the procedure name. > I'm still getting the same error when I build > > -- filename is : test1.ada > > -- source code : > > with Text_Io; > use Text_Io; > > procedure test1 is > > package Es_Entiers is new Integer_Io ( Integer ); > > Num1 : Integer := 1; > Num2 : Integer := 2; > Num3 : Integer; > begin > > Num3 := Num1 / Num2; > Put("Answer: "); > Es_Entiers.Put(Num3); > > end test1; > > > -- Error when I build : > > Building... > GNATMAKE 3.15p (20020523) Copyright 1995-2002 Free Software Foundation, > Inc. > End of compilation > gnatmake: "test1" not found > Done--error detected. > > -- Is there any setting I'm missing ? I'm new to AdaGide. > > > Thanks, > Willy- > > > > > > Peter Hermann wrote in message news:... > > Willy wrote: > > > The file name is test.ada > > 1. > > rename your file: test.adb > > 2. > > check for procedure name to be "test" (the same as the file name) > > > > now you have fulfilled the conventions of the useful gnat way of naming. > > > > > > longterm advice: > > never use a procedure with the name "test", > > better choose names other than test, e.g. test1 etc. > > because there are operating systems (some unix) > > with a special meaning of "test"