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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fa753a141ca69761 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail From: "Anh Vo" Newsgroups: comp.lang.ada Subject: Re: GNAT Mingw32 link error? Date: 26 Sep 2005 13:29:55 -0700 Organization: http://groups.google.com Message-ID: <1127766595.074507.289830@g44g2000cwa.googlegroups.com> References: NNTP-Posting-Host: 69.104.229.186 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1127766600 13880 127.0.0.1 (26 Sep 2005 20:30:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 26 Sep 2005 20:30:00 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=69.104.229.186; posting-account=JVr7Xg0AAAAI3MbuARxMmvWLmA7qdJMx Xref: g2news1.google.com comp.lang.ada:5164 Date: 2005-09-26T13:29:55-07:00 List-Id: I have successfullly used GNAT/MinGW for years. I am not going to guess what went wrong. However, I strongly suggest to uninstall 3.4.2 and replace it with MinGW/gcc-3.4.4 from MinGW.org. Of course, make sure it is the first item in your path. Then, recompile and relink the hello.adb. I believe that you will be a happy Ada programmer. AV GED wrote: > I'm getting the following error... > > E:\Temp3\Examples>gnat make hello.adb > gnatbind -x hello.ali > gnatlink hello.ali > E:/MinGW/lib/gcc/mingw32/3.4.2/adalib/libgnat.a(raise.o)(.text+0x8b5): > undefined > reference to `_Unwind_SjLj_RaiseException' > E:/MinGW/lib/gcc/mingw32/3.4.2/adalib/libgnat.a(raise.o)(.text+0x8c5): > undefined > reference to `_Unwind_SjLj_ForcedUnwind' > collect2: ld returned 1 exit status > gnatlink: cannot call E:\MinGW\bin\gcc.exe > gnatmake: *** link failed. > > Please help... Gary.