* GNAT Mingw32 link error?
@ 2005-09-25 15:47 GED
2005-09-25 16:33 ` Frank
2005-09-26 20:29 ` Anh Vo
0 siblings, 2 replies; 8+ messages in thread
From: GED @ 2005-09-25 15:47 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-25 15:47 GNAT Mingw32 link error? GED
@ 2005-09-25 16:33 ` Frank
2005-09-25 16:56 ` Martin Krischik
2005-09-25 18:42 ` Gary Dumer
2005-09-26 20:29 ` Anh Vo
1 sibling, 2 replies; 8+ messages in thread
From: Frank @ 2005-09-25 16:33 UTC (permalink / raw)
"GED" <gedumer@yahoo.com> wrote in message
news:MPG.1da08e52366e42e3989680@news.peoplepc.com...
> I'm getting the following error...
>
> E:\Temp3\Examples>gnat make hello.adb
Hi
There is a space between gnat and make. Try gnatmake in one word.
Frank
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-25 16:33 ` Frank
@ 2005-09-25 16:56 ` Martin Krischik
2005-09-25 18:42 ` Gary Dumer
1 sibling, 0 replies; 8+ messages in thread
From: Martin Krischik @ 2005-09-25 16:56 UTC (permalink / raw)
Frank wrote:
>
> "GED" <gedumer@yahoo.com> wrote in message
> news:MPG.1da08e52366e42e3989680@news.peoplepc.com...
>> I'm getting the following error...
>>
>> E:\Temp3\Examples>gnat make hello.adb
>
> Hi
> There is a space between gnat and make. Try gnatmake in one word.
Actually that make no difference for a current gnat:
GNAT GPL 2005 (20050729)
Copyright 1996-2005 Free Software Foundation, Inc.
List of available commands
gnat bind gnatbind
gnat chop gnatchop
gnat clean gnatclean
gnat compile gnatmake -f -u -c
gnat elim gnatelim
gnat find gnatfind
gnat krunch gnatkr
gnat link gnatlink
gnat list gnatls
gnat make gnatmake
gnat metric gnatmetric
gnat name gnatname
gnat preprocess gnatprep
gnat pretty gnatpp
gnat setup
gnat stub gnatstub
gnat xref gnatxref
Commands find, list, metric, pretty, stub and xref accept project file
switches -vPx, -Pprj and -Xnam=val
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-25 16:33 ` Frank
2005-09-25 16:56 ` Martin Krischik
@ 2005-09-25 18:42 ` Gary Dumer
1 sibling, 0 replies; 8+ messages in thread
From: Gary Dumer @ 2005-09-25 18:42 UTC (permalink / raw)
As Martin replied, that is a valid command. So... I still need to know why
I'm getting the error?
Anyone have an idea?
"Frank" <myworstenemy@somewhere.com> wrote in message
news:4336d19c$1@news.broadpark.no...
>
> "GED" <gedumer@yahoo.com> wrote in message
> news:MPG.1da08e52366e42e3989680@news.peoplepc.com...
>> I'm getting the following error...
>>
>> E:\Temp3\Examples>gnat make hello.adb
>
> Hi
> There is a space between gnat and make. Try gnatmake in one word.
>
> Frank
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-25 15:47 GNAT Mingw32 link error? GED
2005-09-25 16:33 ` Frank
@ 2005-09-26 20:29 ` Anh Vo
2005-09-27 0:13 ` Gary Dumer
1 sibling, 1 reply; 8+ messages in thread
From: Anh Vo @ 2005-09-26 20:29 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-26 20:29 ` Anh Vo
@ 2005-09-27 0:13 ` Gary Dumer
2005-09-27 5:38 ` Anh Vo
2005-09-27 8:21 ` Adrien Plisson
0 siblings, 2 replies; 8+ messages in thread
From: Gary Dumer @ 2005-09-27 0:13 UTC (permalink / raw)
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" <anhvofrcaus@gmail.com> 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.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-27 0:13 ` Gary Dumer
@ 2005-09-27 5:38 ` Anh Vo
2005-09-27 8:21 ` Adrien Plisson
1 sibling, 0 replies; 8+ messages in thread
From: Anh Vo @ 2005-09-27 5:38 UTC (permalink / raw)
A large number of us have used gnat-3.15p for quite a long time. No one
has had any problem whatsoever. Thus, it is high probability that your
machine is more special than the rest of us. May be you should tell us
your problem in details. So, we can help you better.
AV
Gary Dumer wrote:
> 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" <anhvofrcaus@gmail.com> 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.
> >
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: GNAT Mingw32 link error?
2005-09-27 0:13 ` Gary Dumer
2005-09-27 5:38 ` Anh Vo
@ 2005-09-27 8:21 ` Adrien Plisson
1 sibling, 0 replies; 8+ messages in thread
From: Adrien Plisson @ 2005-09-27 8:21 UTC (permalink / raw)
Gary Dumer wrote:
> 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.
you should not have had any problem with 3.15p. have you downloaded
and installed the binaries ? or tried to compile it yourself from source ?
with the 3.15p binaries on windows, i had an issue with spaces in
pathnames: i installed GNAT under "C:\Program Files\Ada Core
Technologies" (this is not the default in the installer) and had to
edit the registry and environment variables to use short file names.
for the MinGW version, i can't help...
--
rien
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-27 8:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-25 15:47 GNAT Mingw32 link error? GED
2005-09-25 16:33 ` Frank
2005-09-25 16:56 ` Martin Krischik
2005-09-25 18:42 ` Gary Dumer
2005-09-26 20:29 ` Anh Vo
2005-09-27 0:13 ` Gary Dumer
2005-09-27 5:38 ` Anh Vo
2005-09-27 8:21 ` Adrien Plisson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox