[Code::Blocks][GCC] Ne trouve pas les fichier .o
Bonjour,
Voilà,j'ai un assez gros code et une erreur bien spécial vient de s'y glisser.
Alors l'étrangeté de la choses est ceci:
Si je compile avec l'option -pg:nickel.
Si je compile sans:
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| obj\Debug\Game.o||In function `ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEC1ERKS6_':|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\boost\exception\exception.hpp:(.text+0x7)||undefined reference to `mcount'|
obj\Debug\Game.o||In function `ZN4GameC2Ev':|
C:\Documents and Settings\Juin\Bureau\Dail\sources\Dail\Game.cpp|5|undefined reference to `mcount'|
obj\Debug\Game.o||In function `ZN4GameC1Ev':|
C:\Documents and Settings\Juin\Bureau\Dail\sources\Dail\Game.cpp|5|undefined reference to `mcount'|
obj\Debug\Game.o||In function `ZN4GameD2Ev':|
C:\Documents and Settings\Juin\Bureau\Dail\sources\Dail\Game.cpp|31|undefined reference to `mcount'|
obj\Debug\Game.o||In function `ZN4GameD1Ev':|
C:\Documents and Settings\Juin\Bureau\Dail\sources\Dail\Game.cpp|31|undefined reference to `mcount'|
obj\Debug\Game.o:C:\Documents and Settings\Juin\Bureau\Dail\sources\Dail\Game.cpp|49|more undefined references to `mcount' follow|
||=== Build finished: 6 errors, 0 warnings ===| |
Bien sur il n'y a jamais eu de mcount dans mon code.
Merci d'avance.La j'essaye de retrecir le code au maximum...c'est long,fastidieux,...mais bon,je croi bien qu'il n'y que ca qui fonctionne^^