I performed an update check and downloaded the selected gcc-g++, and gcc-core updates. Now I am getting linker errors from a project that was not having any issues before!!!!!!!!!!
Here are a few of the errors:
[Linker error] undefined reference to `_Unwind_Resume'
[Linker error] undefined reference to `__gxx_personality_v0'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"I performed an update check and downloaded the selected gcc-g++, and gcc-core updates"
You mean that you are using the Dev IDE as an IDE for your MinGW installation (i.e. not a full installation of Dev?). Y
ou do know that Colin, some time ago posted a message discouraging folks from upgrading to version 3.4 of the compiler?
Please remember, you are posting anonymously, we don't know who you are or what your setup is. Heck, we don't even know what version of GCC you are running.
Now, did you do a simple first level sanity check? Compile a simple "Hello World" program?
If so, and there was an issue, what does your full compile log look like?
Bring us up to date about who you are, and exactly what you are doing please.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, my name is Slip. I have posted here before. I am using Dev-C++ 4.9.9.1. I did a complete uninstall and I am still have this problem. The app worked beautifully until I tried that upgrade. The version of gcc is the one that comes with the full install version of Dev-C++ 4.9.9.1. Here is the full error log
C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x38c) In function ZN5aboutC2Ev':
[Linker error] undefined reference to_Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x52c) In function ZN5aboutC1Ev':
[Linker error] undefined reference to_Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x5ec) In function Z8cb_AboutP8Fl_Menu_Pv':
[Linker error] undefined reference to_Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x639) In function Z7cb_HelpP8Fl_Menu_Pv':
[Linker error] undefined reference to_Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0xa01) In function main':
[Linker error] undefined reference to_Unwind_Resume'
2551 C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0xc6f):C:\Dev-Cpp\Examples\smif2\smifport.cpp more undefined references to _Unwind_Resume' follow
C:\Dev-Cpp\Examples\smif2\smifport.o(.eh_frame+0x12) In functionZN6Fl_BoxD1Ev': [Linker error] undefined reference to __gxx_personality_v0'
C:\Dev-Cpp\Examples\smif2\csmifarm.o(.eh_frame+0x11) In functionZN8CsmifarmC2Ev': [Linker error] undefined reference to __gxx_personality_v0'
C:\Dev-Cpp\Examples\smif2\cparaport.o(.eh_frame+0x11) In functionZN9CParaPortC2Ev': [Linker error] undefined reference to __gxx_personality_v0'
C:\Dev-Cpp\Examples\smif2\csmif.o(.text+0x4f) In functionZN5CSmifC2Ev': [Linker error] undefined reference to _Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\csmif.o(.text+0xaf) In functionZN5CSmifC1Ev': [Linker error] undefined reference to _Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\csmif.o(.eh_frame+0x12) In functionZN5CSmifC2Ev': [Linker error] undefined reference to __gxx_personality_v0'
C:\Dev-Cpp\Examples\smif2\hlpdlg.o(.text+0x179) In functionZN10HelpdialogC2Ev': [Linker error] undefined reference to _Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\hlpdlg.o(.text+0x299) In functionZN10HelpdialogC1Ev': [Linker error] undefined reference to _Unwind_Resume'
C:\Dev-Cpp\Examples\smif2\hlpdlg.o(.eh_frame+0x12) In functionZN10Helpdialog5cb_OkEP9Fl_ButtonPv': [Linker error] undefined reference to `__gxx_personality_v0'
C:\Dev-Cpp\Examples\smif2\Makefile.win [Build Error][Output/smifport.exe] Error 1
slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still struggling with this problem. Have tried cleanly uninstalling Dev-C++ and reinstalling to no avail. I don't know what could have happened. Here is the compile log. Maybe someone can catch a clue as to what the heck is wrong.
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Examples\smif2\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Examples\smif2\Makefile.win" all
windres.exe -i smif2_private.rc --input-format=rc -o smif2_private.res -O coff
C:/Dev-Cpp/lib/libfltk.a(Fl_Box.o)(.data$ZTI9Fl_Widget+0x0):Fl_Box.cxx: multiple definition of typeinfo for Fl_Widget'
smifport.o(.rdata$_ZTI9Fl_Widget+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Box.o)(.text$_ZTS9Fl_Widget+0x0):Fl_Box.cxx: multiple definition oftypeinfo name for Fl_Widget'
smifport.o(.rdata$_ZTS9Fl_Widget+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.data$_ZTI8Fl_Input+0x0):Fl_Color_Chooser.cxx: multiple definition of typeinfo for Fl_Input'
smifport.o(.rdata$_ZTI8Fl_Input+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.text$_ZTS8Fl_Input+0x0):Fl_Color_Chooser.cxx: multiple definition oftypeinfo name for Fl_Input'
smifport.o(.rdata$_ZTS8Fl_Input+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.data$_ZTI9Fl_Input+0x0):Fl_Color_Chooser.cxx: multiple definition of typeinfo for Fl_Input_'
smifport.o(.rdata$_ZTI9Fl_Input_+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.text$_ZTS9Fl_Input_+0x0):Fl_Color_Chooser.cxx: multiple definition oftypeinfo name for Fl_Input_'
smifport.o(.rdata$ZTS9Fl_Input+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
make.exe: *** [Output/smifport.exe] Error 1
Execution terminated
Thanks,
Slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry bout that Wayne. The problem started when I chose to download and install the gcc-g++ and gcc-core updates from the planetmirror site. I thought these were upgrades to the compiler??
Slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no separate upgrade for the compiler for the full release of Dev.
Wayne
p.s Note that the current release of the GCC compiler supported by Dev is version 3.3. The "current" version of GCC is version 3.4. These two are not totally compatible with each other, and 3.4 is even more standards compliant.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I might add that this is a FLTK project that worked just fine before all this happened. I can create, build, and run a simple FLTK project without problems. It'a only when I try building my FLTK project that I spent weeks on. :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I press the 'Check for Updates' button, and then select the PlanetMirror.com devpak server, and then press the 'Check for Updates' button on the Webupdate dialog, the gcc 3.4 update is available. The file descriptions are:
This is gcc-g++ 3.4.2-20040916-1 - the current (Sep 21, 2004) version released by the MinGW team (http://www.mingw.org/). As of around 2004-11-04 this has become the CURRENT stable version.
This is gcc-core 3.4.2-20040916-1 - the current (Sep 21, 2004) version released by the MinGW team (http://www.mingw.org/). As of around 2004-11-04 this has become the CURRENT stable version.
Slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That MinGW update should not be appearing. Dev 4.9.9.1 is not set up yet for gcc-3.4, and the Dev-Packs are not compiled under it. (Which can lead to linker breakages)
I'll check with Colin to see why that stuff is showing up.
My advice is to follow the directions in "The Forum FAQ" for doing a clean uninstall, and reinstall what you need from the Dev-Packs, but avoid the compiler stuff.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the directions I pointed you to, it CLEARLY states that if you are still having an issue, you need to tell us exactly what you did to do the clean uninstall. Step by step. Do that.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First I did the uninstall from the menu. Then I got rid of the two files, devcpp.ini and devcpp.cfg that were located in the C:\Documents and Settings\Dad.ED-Q1EVNIWV19J2\Local Settings\Application Data directory. I of course copied the examples directory, as this is where I keep a couple of my projects. I then deleted the dev-cpp directory and did a reinstall with the devcpp4991setup setup file.
Slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I'll check for that. But I have already started to redo the project. All I really have to do is to recreate the GUI, and then just add my already created class files. As it turns out, it's really not as bad as I thought. I won't be installing that newer version of the compiler again!!!!
Thanks Wayne for your help.
Slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This might be of interest to you. Something happened to the source files for the affected project. When I try and load one of the source files from said project to the new project I created, an access violation occurs in devcpp.exe. Here is the bug report:
The following error occured in version 4.9.9.1:
Access violation at address 00492C4E in module 'devcpp.exe'. Write of address 00000028 (at address 0x00492C4E)
Please include a description of what you were doing before the error occured (please give as much precisions as possible) :
Nevermind about the last post. I just found out that the Palm OS Developer Suite and Dev-C++ can not co-exist! No sweat, because the Resource editor which is written in Java, was just too slow for my liking. Come to think of it, this might have been when my troubles started. I installed the Palm Developer Suite around the same time!
Slip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would be so nice, if you see that that in fact was your issue, please let us know, so we can document that failure to work and play wel together.
You may, after you have deleted the possibly offending tool, want to do another clean uninstall/delete/reinstall dance...
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I performed an update check and downloaded the selected gcc-g++, and gcc-core updates. Now I am getting linker errors from a project that was not having any issues before!!!!!!!!!!
Here are a few of the errors:
[Linker error] undefined reference to `_Unwind_Resume'
[Linker error] undefined reference to `__gxx_personality_v0'
"I performed an update check and downloaded the selected gcc-g++, and gcc-core updates"
You mean that you are using the Dev IDE as an IDE for your MinGW installation (i.e. not a full installation of Dev?). Y
ou do know that Colin, some time ago posted a message discouraging folks from upgrading to version 3.4 of the compiler?
Please remember, you are posting anonymously, we don't know who you are or what your setup is. Heck, we don't even know what version of GCC you are running.
Now, did you do a simple first level sanity check? Compile a simple "Hello World" program?
If so, and there was an issue, what does your full compile log look like?
Bring us up to date about who you are, and exactly what you are doing please.
Wayne
Hi, my name is Slip. I have posted here before. I am using Dev-C++ 4.9.9.1. I did a complete uninstall and I am still have this problem. The app worked beautifully until I tried that upgrade. The version of gcc is the one that comes with the full install version of Dev-C++ 4.9.9.1. Here is the full error log
C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x38c) In function
ZN5aboutC2Ev': [Linker error] undefined reference to
_Unwind_Resume'C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x52c) In function
ZN5aboutC1Ev': [Linker error] undefined reference to
_Unwind_Resume'C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x5ec) In function
Z8cb_AboutP8Fl_Menu_Pv': [Linker error] undefined reference to
_Unwind_Resume'C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0x639) In function
Z7cb_HelpP8Fl_Menu_Pv': [Linker error] undefined reference to
_Unwind_Resume'C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0xa01) In function
main': [Linker error] undefined reference to
_Unwind_Resume'2551 C:\Dev-Cpp\Examples\smif2\smifport.o(.text+0xc6f):C:\Dev-Cpp\Examples\smif2\smifport.cpp more undefined references to
_Unwind_Resume' follow C:\Dev-Cpp\Examples\smif2\smifport.o(.eh_frame+0x12) In function
ZN6Fl_BoxD1Ev':[Linker error] undefined reference to
__gxx_personality_v0' C:\Dev-Cpp\Examples\smif2\csmifarm.o(.eh_frame+0x11) In function
ZN8CsmifarmC2Ev':[Linker error] undefined reference to
__gxx_personality_v0' C:\Dev-Cpp\Examples\smif2\cparaport.o(.eh_frame+0x11) In function
ZN9CParaPortC2Ev':[Linker error] undefined reference to
__gxx_personality_v0' C:\Dev-Cpp\Examples\smif2\csmif.o(.text+0x4f) In function
ZN5CSmifC2Ev':[Linker error] undefined reference to
_Unwind_Resume' C:\Dev-Cpp\Examples\smif2\csmif.o(.text+0xaf) In function
ZN5CSmifC1Ev':[Linker error] undefined reference to
_Unwind_Resume' C:\Dev-Cpp\Examples\smif2\csmif.o(.eh_frame+0x12) In function
ZN5CSmifC2Ev':[Linker error] undefined reference to
__gxx_personality_v0' C:\Dev-Cpp\Examples\smif2\hlpdlg.o(.text+0x179) In function
ZN10HelpdialogC2Ev':[Linker error] undefined reference to
_Unwind_Resume' C:\Dev-Cpp\Examples\smif2\hlpdlg.o(.text+0x299) In function
ZN10HelpdialogC1Ev':[Linker error] undefined reference to
_Unwind_Resume' C:\Dev-Cpp\Examples\smif2\hlpdlg.o(.eh_frame+0x12) In function
ZN10Helpdialog5cb_OkEP9Fl_ButtonPv':[Linker error] undefined reference to `__gxx_personality_v0'
C:\Dev-Cpp\Examples\smif2\Makefile.win [Build Error] [Output/smifport.exe] Error 1
slip
see http://aditsu.freeunixhost.com/dev-cpp-faq.html#personality
Adrian
"that upgrade"
What upgrade. It looks like you are trying to update with stuff from the MinGW site?
"gcc-g++, and gcc-core updates"?
Wayne
Still struggling with this problem. Have tried cleanly uninstalling Dev-C++ and reinstalling to no avail. I don't know what could have happened. Here is the compile log. Maybe someone can catch a clue as to what the heck is wrong.
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Examples\smif2\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Examples\smif2\Makefile.win" all
windres.exe -i smif2_private.rc --input-format=rc -o smif2_private.res -O coff
g++.exe -DDEBUG smifport.o cparaport.o csmif.o csmifarm.o hlpdlg.o smif2_private.res -o "Output\smifport.exe" -L"C:/Dev-Cpp/lib" -mwindows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lm -g3 -s
C:/Dev-Cpp/lib/libfltk.a(Fl_Box.o)(.data$ZTI9Fl_Widget+0x0):Fl_Box.cxx: multiple definition of
typeinfo for Fl_Widget' smifport.o(.rdata$_ZTI9Fl_Widget+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here C:/Dev-Cpp/lib/libfltk.a(Fl_Box.o)(.text$_ZTS9Fl_Widget+0x0):Fl_Box.cxx: multiple definition of
typeinfo name for Fl_Widget'smifport.o(.rdata$_ZTS9Fl_Widget+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.data$_ZTI8Fl_Input+0x0):Fl_Color_Chooser.cxx: multiple definition of
typeinfo for Fl_Input' smifport.o(.rdata$_ZTI8Fl_Input+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.text$_ZTS8Fl_Input+0x0):Fl_Color_Chooser.cxx: multiple definition of
typeinfo name for Fl_Input'smifport.o(.rdata$_ZTS8Fl_Input+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.data$_ZTI9Fl_Input+0x0):Fl_Color_Chooser.cxx: multiple definition of
typeinfo for Fl_Input_' smifport.o(.rdata$_ZTI9Fl_Input_+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here C:/Dev-Cpp/lib/libfltk.a(Fl_Color_Chooser.o)(.text$_ZTS9Fl_Input_+0x0):Fl_Color_Chooser.cxx: multiple definition of
typeinfo name for Fl_Input_'smifport.o(.rdata$ZTS9Fl_Input+0x0):C:/Dev-Cpp/Examples/smif2/smifport.cpp: first defined here
make.exe: *** [Output/smifport.exe] Error 1
Execution terminated
Thanks,
Slip
Slip,
Why didn't you asnwer my question??????
What upgrade are you talking about?
Your post seems to imply you downloaded material from the MinGW site.
Wayne
Your log also shows some illogical choices. You have selected
-g3
which creates maximum debugging information. Then you turn around and invoke
-s
That strips it all out.
Wayne
Sorry bout that Wayne. The problem started when I chose to download and install the gcc-g++ and gcc-core updates from the planetmirror site. I thought these were upgrades to the compiler??
Slip
Show me exactly where you got them from.
There is no separate upgrade for the compiler for the full release of Dev.
Wayne
p.s Note that the current release of the GCC compiler supported by Dev is version 3.3. The "current" version of GCC is version 3.4. These two are not totally compatible with each other, and 3.4 is even more standards compliant.
I might add that this is a FLTK project that worked just fine before all this happened. I can create, build, and run a simple FLTK project without problems. It'a only when I try building my FLTK project that I spent weeks on. :(
When I press the 'Check for Updates' button, and then select the PlanetMirror.com devpak server, and then press the 'Check for Updates' button on the Webupdate dialog, the gcc 3.4 update is available. The file descriptions are:
This is gcc-g++ 3.4.2-20040916-1 - the current (Sep 21, 2004) version released by the MinGW team (http://www.mingw.org/). As of around 2004-11-04 this has become the CURRENT stable version.
This is gcc-core 3.4.2-20040916-1 - the current (Sep 21, 2004) version released by the MinGW team (http://www.mingw.org/). As of around 2004-11-04 this has become the CURRENT stable version.
Slip
Slip,
That MinGW update should not be appearing. Dev 4.9.9.1 is not set up yet for gcc-3.4, and the Dev-Packs are not compiled under it. (Which can lead to linker breakages)
I'll check with Colin to see why that stuff is showing up.
My advice is to follow the directions in "The Forum FAQ" for doing a clean uninstall, and reinstall what you need from the Dev-Packs, but avoid the compiler stuff.
Wayne
Ok, I will do this.
Slip
Be careful and thorough in your uninstall please.
Wayne
Nope, still have the problem. One thing more, when I load the project, I get a Could not create directory, check your settings dialog????
"Nope, still have the problem."
Pulling hair out
In the directions I pointed you to, it CLEARLY states that if you are still having an issue, you need to tell us exactly what you did to do the clean uninstall. Step by step. Do that.
Wayne
First I did the uninstall from the menu. Then I got rid of the two files, devcpp.ini and devcpp.cfg that were located in the C:\Documents and Settings\Dad.ED-Q1EVNIWV19J2\Local Settings\Application Data directory. I of course copied the examples directory, as this is where I keep a couple of my projects. I then deleted the dev-cpp directory and did a reinstall with the devcpp4991setup setup file.
Slip
Did you check for other Dev directories that might have been established?
Wayne
What other directories???
For example, if you once attempted to install in "Program Files", you may have parts of Dev installed in c:\program (because of space parse issues)
Here's where doing a Windows Search to do a final check is a good thing - search on something like devcpp.
Wayne
OK, I'll check for that. But I have already started to redo the project. All I really have to do is to recreate the GUI, and then just add my already created class files. As it turns out, it's really not as bad as I thought. I won't be installing that newer version of the compiler again!!!!
Thanks Wayne for your help.
Slip
Wayne,
This might be of interest to you. Something happened to the source files for the affected project. When I try and load one of the source files from said project to the new project I created, an access violation occurs in devcpp.exe. Here is the bug report:
The following error occured in version 4.9.9.1:
Access violation at address 00492C4E in module 'devcpp.exe'. Write of address 00000028 (at address 0x00492C4E)
Please include a description of what you were doing before the error occured (please give as much precisions as possible) :
State information follows:
Stack trace:
00592921 (00191921): ShowExceptionInfo (ExceptionsAnalyzer - 565)
00592B17 (00191B17): TExceptionsAnalyzer.GlobalExceptionHandler (ExceptionsAnalyzer - 573)
0057DB1D (0017CB1D): TProject.RebuildNodes (project - 1838)
0055E693 (0015D693): TMainForm.actProjectAddExecute (main - 3514)
0055E6A1 (0015D6A1): TMainForm.actProjectAddExecute (main - 3515)
0055E68E (0015D68E): TMainForm.actProjectAddExecute (main - 3512)
0055E68E (0015D68E): TMainForm.actProjectAddExecute (main - 3512)
0057DB1D (0017CB1D): TProject.RebuildNodes (project - 1838)
0055E676 (0015D676): TMainForm.actProjectAddExecute (main - 3512)
005940DE (001930DE): (devcpp - 210)
005940FC (001930FC): (devcpp - 210)
Slip
Nevermind about the last post. I just found out that the Palm OS Developer Suite and Dev-C++ can not co-exist! No sweat, because the Resource editor which is written in Java, was just too slow for my liking. Come to think of it, this might have been when my troubles started. I installed the Palm Developer Suite around the same time!
Slip
If you would be so nice, if you see that that in fact was your issue, please let us know, so we can document that failure to work and play wel together.
You may, after you have deleted the possibly offending tool, want to do another clean uninstall/delete/reinstall dance...
Wayne