Check if you have another mingw installation somewhere its usually caused by having two mingw folders on your machine.

2012/11/28 Caygri Elena <eleweb@live.it>
I install codeblock with mingw and install glut. But when I compile tell me

c:\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\crt2.o||In function `_mingw_CRTStartup':|
C:\MinGW\msys\1.0\src\mingwrt\..\mingw\crt1.c|193|undefined reference to `__dyn_tls_init_callback'|
||=== Build finished: 1 errors, 0 warnings ===|


What is the problem?

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
MinGW-users mailing list
MinGW-users@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
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe



--
Ralph Engels