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,FREEMAIL_FROM autolearn=ham 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!news1.google.com!newsread.com!news-xfer.newsread.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!92999d51!not-for-mail From: "Gary Dumer" Newsgroups: comp.lang.ada References: <1127766595.074507.289830@g44g2000cwa.googlegroups.com> Subject: Re: GNAT Mingw32 link error? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: Date: Tue, 27 Sep 2005 00:13:30 GMT NNTP-Posting-Host: 4.154.88.41 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1127780010 4.154.88.41 (Mon, 26 Sep 2005 17:13:30 PDT) NNTP-Posting-Date: Mon, 26 Sep 2005 17:13:30 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:5169 Date: 2005-09-27T00:13:30+00:00 List-Id: I first downloaded 3.15p from an FTP site and installed it. I kept getting the same error. I even went so far as to remove ALL entries from the PATH and rebooted. Same error. Then I uninstalled that version and tried the one that comes with MingW32. I went through the same thing with the PATH and still got the same error. It looks less like a PATH problem and more like a LIB issue, but I don't have a clue what it could be. I agree that it should work without a problem, but it's not. So far, no one here seems to have the answer. Is there any other web forum that is dedicated to GNAT? If so, maybe someone there might be able to spot the problem Thanks... Gary. "Anh Vo" wrote in message news:1127766595.074507.289830@g44g2000cwa.googlegroups.com... >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. >