__chk_stk_ms

  • mniip
    9th Jan 2012 Developer 0 Permalink
    I keep getting errors:
    lib\libfftw3f.a(generic.o):generic.c:(.text+0x1b3): undefined reference to `__chkstk_ms'
    lib\libfftw3f.a(lt8-generic.o):generic.c:(.text+0x1f0): undefined reference to `__chkstk_ms'
    lib\libfftw3f.a(lt8-generic.o):generic.c:(.text+0x370): undefined reference to `__chkstk_ms'
    lib\libfftw3f.a(transpose.o):transpose.c:(.text+0xa96): undefined reference to `__chkstk_ms'
    lib\libfftw3f.a(cpy2d.o):cpy2d.c:(.text+0x6f7): undefined reference to `__chkstk_ms'
    lib\libfftw3f.a(direct.o):direct.c:(.text+0x83a): more undefined references to `__chkstk_ms' follow

    usually when i doubleclick an error it opens the place where error occured
    But now it doesnt work

    Please help...
  • abczyx123987
    9th Jan 2012 Member 0 Permalink
    Are you using Code::Blocks to compile?
    If so, go to your project build options, and find and remove -DGRAVFFT in your compiler options, and also remove -lfftw3f from the linker options.
    In the meantime, I'll try to figure out what's going on with those undefined references...
    (oh, and try updating your MinGW; I have __chkstk_ms defined in libgcc.a (which is part of MinGW and automatically gets linked in), so it should also be that way for you, too...)
  • mniip
    9th Jan 2012 Developer 0 Permalink
    @abczyx123987 (View Post)
    now it says errors in gravity.h cause of lfftw3f not linked
  • abczyx123987
    9th Jan 2012 Member 0 Permalink
    @mniip (View Post)
    Did you remove that -DGRAVFFT from the compiler options?
  • mniip
    9th Jan 2012 Developer 0 Permalink
  • abczyx123987
    9th Jan 2012 Member 0 Permalink
    Hmm, it still looks like you didn't remove that -DGRAVFFT.

    Anyways, try this project file and see how it goes.
  • mniip
    9th Jan 2012 Developer 0 Permalink
    that helped, thanks