# Link error unresolved symbol \_\_\_chkstk\_ms

**URL:** <https://discourse.glfw.org/t/link-error-unresolved-symbol----chkstk-ms/37>\
**Category:** support\
**Created:** [February 8, 2014, 5:43pm UTC](https://discourse.glfw.org/t/link-error-unresolved-symbol----chkstk-ms/37 "2014-02-08T17:43:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [February 8, 2014, 5:43pm UTC](https://discourse.glfw.org/t/link-error-unresolved-symbol----chkstk-ms/37/1 "2014-02-08T17:43:06Z")

</div>

**[bridenstine](https://sourceforge.net/u/bridenstine/)** wrote on [Saturday, February 08, 2014](https://sourceforge.net/p/glfw/discussion/247562/thread/2fc57046/#9f94):

I’m attempting to upgrade from GLFW 2.6 to 3.0.4. I am using MingW, I downloaded the windows 32 bit precompiled distro. I can compile but when I link I get the error below. HELP!

gcc glfwExample.o -Lglfw/lib -lglfw3 -mwindows -lopengl32 -lglu32 -lm -o glfwExample.exe  
glfw/lib/libglfw3.a(init.c.obj):init.c:(.text+0x6): undefined reference to `\_\_chkstk\_ms’
