Here is the link command line generated by my IDE (CodeBlocks) followed by the result of the command line. I wish it can help, I don't see anything strange for me.
-------------- Build: Debug in jkt2010_CodeBlocks ---------------
mingw32-g++.exe -LLibs\SDL-1.2.14-MinGW\lib -LLibs\agar-1.3.4-recompile\lib -LLibs\freetype-2.3.5-1-bin\lib -LLibs\fmodapi375win\api\lib -LLibs\Pre-built.2\lib -LLibs\SDL_image-1.2.10\lib -LLibs\SDL_net-1.2.7\lib -o bin\Debug\jkt2010.exe obj\Debug\Libs\tinyxml_2_5_2\tinystr.o obj\Debug\Libs\tinyxml_2_5_2\tinyxml.o obj\Debug\Libs\tinyxml_2_5_2\tinyxmlerror.o obj\Debug\Libs\tinyxml_2_5_2\tinyxmlparser.o obj\Debug\Menu\Dlg.o obj\Debug\Menu\DlgBoite.o obj\Debug\Menu\MAide.o obj\Debug\Menu\MAudio.o obj\Debug\Menu\MAudioDrivers.o obj\Debug\Menu\MAudioDriversDriver.o obj\Debug\Menu\MAudioOutput.o obj\Debug\Menu\MAudioRecord.o obj\Debug\Menu\MCommandes.o obj\Debug\Menu\MConfiguration.o obj\Debug\Menu\MDebug.o obj\Debug\Menu\MDisplay.o obj\Debug\Menu\MDisplaySize.o obj\Debug\Menu\MMenuPrinc.o obj\Debug\Menu\MMenuPrinc2.o obj\Debug\Menu\MMode.o obj\Debug\Menu\MMultijoueur.o obj\Debug\Menu\MMultijoueurClientInfo.o obj\Debug\Menu\MMultijoueurClientPing.o
obj\Debug\Menu\MMultijoueurServeur.o obj\Debug\Menu\MMultijoueurServeurLancePartie.o obj\Debug\Menu\MOpenASE.o obj\Debug\Menu\MOpenMAP.o obj\Debug\Menu\MOpenScene.o obj\Debug\Menu\MReseau.o obj\Debug\Menu\Menu.o obj\Debug\Menu\Portail.o obj\Debug\src\DeleteWithGame.o obj\Debug\src\centralisateur\Centralisateur.o obj\Debug\src\centralisateur\CentralisateurState.o obj\Debug\src\centralisateur\UdpConnector.o obj\Debug\src\centralisateur\UdpController.o obj\Debug\src\centralisateur\data\Data.o obj\Debug\src\centralisateur\data\ListData.o obj\Debug\src\centralisateur\data\SignalementData.o obj\Debug\src\exception\JktException.o obj\Debug\src\exception\centralisateur\BindingUdpException.o obj\Debug\src\exception\centralisateur\CentralisateurException.o obj\Debug\src\exception\centralisateur\OpenUdpSocketException.o obj\Debug\src\ifstreamWork.o obj\Debug\src\main\Cfg.o obj\Debug\src\main\Clavier.o obj\Debug\src\main\Fabrique.o obj\Debug\src\main\Focus.o
obj\Debug\src\main\Game.o obj\Debug\src\main\JKT.o obj\Debug\src\main\Laser.o obj\Debug\src\main\Photo.o obj\Debug\src\main\Player.o obj\Debug\src\main\Projectil.o obj\Debug\src\main\RequeteProcess.o obj\Debug\src\main\Rocket.o obj\Debug\src\main\divers.o obj\Debug\src\main\glfont2.o obj\Debug\src\menu\Controller.o obj\Debug\src\menu\MainMenuView.o obj\Debug\src\menu\OpenCentralisateurView.o obj\Debug\src\menu\OpenSceneASEView.o obj\Debug\src\menu\OpenSceneMapView.o obj\Debug\src\menu\OpenSceneView.o obj\Debug\src\menu\View.o obj\Debug\src\menu\Viewer.o obj\Debug\src\reseau\Client.o obj\Debug\src\reseau\Reseau.o obj\Debug\src\reseau\SPA.o obj\Debug\src\reseau\Server.o obj\Debug\src\reseau\a_virer.o obj\Debug\src\ressource\RessourcesLoader.o obj\Debug\src\son\DemonSons.o obj\Debug\src\son\ReqSon.o obj\Debug\src\son\Son.o obj\Debug\src\son\audio.o obj\Debug\src\spatial\FichierASE.o obj\Debug\src\spatial\IfstreamMap.o obj\Debug\src\spatial\Map.o
obj\Debug\src\spatial\MoteurParticules.o obj\Debug\src\spatial\Mouve.o obj\Debug\src\spatial\Particule.o obj\Debug\src\spatial\XmlVocabulaire.o obj\Debug\src\spatial\contact.o obj\Debug\src\spatial\geo\ChanTex.o obj\Debug\src\spatial\geo\Geo.o obj\Debug\src\spatial\geo\GeoMaker.o obj\Debug\src\spatial\geo\GeoObject.o obj\Debug\src\spatial\geo\MultiMaterialGeo.o obj\Debug\src\spatial\geo\SimpleGeo.o obj\Debug\src\spatial\geo\SimpleMaterialGeo.o obj\Debug\src\spatial\geo\TexVertexList.o obj\Debug\src\spatial\geo\TextureMaterialGeo.o obj\Debug\src\spatial\light\Light.o obj\Debug\src\spatial\light\LightMaker.o obj\Debug\src\spatial\light\LightOmni.o obj\Debug\src\spatial\light\LightTarget.o obj\Debug\src\spatial\materiau\Material.o obj\Debug\src\spatial\materiau\MaterialMaker.o obj\Debug\src\spatial\materiau\MaterialMulti.o obj\Debug\src\spatial\materiau\MaterialTexture.o obj\Debug\src\spatial\materiau\Textures.o obj\Debug\src\spatial\objet\Navette.o
obj\Debug\src\spatial\objet\Porte.o obj\Debug\src\util\Erreur.o obj\Debug\src\util\FindFolder.o obj\Debug\src\util\GenRef.o obj\Debug\src\util\Tableau.o obj\Debug\src\util\TableauIndex.o obj\Debug\src\util\Trace.o obj\Debug\src\util\TraceMethod.o obj\Debug\src\util\V3D.o obj\Debug\src\util\XmlHelper.o obj\Debug\src\util\mathFast.o obj\Debug\src\util\math_vectoriel.o obj\Debug\src\util\utils_SDL.o -lmingw32 -lag_gui_static -lag_core_static -lwinmm -lfreetype -lSDLmain -lSDL -lSDL.dll -lopengl32 -lglu32 -lSDL_net -lSDL_image -lfmodvc -lpthreadGC2 -lmingwex
Libs\agar-1.3.4-recompile\lib/libag_gui_static.a(file_dlg.o): In function `fprintf':
C:/MinGW/include/stdio.h:246: undefined reference to `___mingw_vfprintf
'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 14 seconds)
1 errors, 0 warnings
________________________________
De : Keith Marshall <***@users.sourceforge.net>
À : mingw-***@lists.sourceforge.net
Envoyé le : Jeu 31 Décembre 2009, 19 h 29 min 38 s
Objet : Re: [Mingw-users] undefined reference with ___mingw_vfprintf
Post by JonYI thought he was using msvc "cl" to compile and link, which needs
to be told to use libmingwex.a.
It would, IF the dependency on MinGW's enhanced printf() subsystem is
REALLY desired. When building a library intended for use with other
compilers than MinGW, it may be a rash choice to introduce that
dependency; better IMO, to understand why the dependency arises in
the first place, and then make an informed choice on whether to keep
it, or to eliminate it.
Post by JonYApparently, this is not the case.
C:/MinGW/include/stdio.h:246: undefined reference to
`___mingw_vfprintf'
collect2: ld returned 1 exit status
The use of collect2 suggests a GNU tool chain, (and the reference in
question shows us that some compilation unit in the project was
built with compile time flags to explicitly map fprintf() to
__mingw_fprintf(), rather than to the default __msvcrt_fprintf()).
--
Regards,
Keith.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users