Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

build with msys/mingw

Help
2012-06-30
2013-05-08
  • David Topham
    David Topham
    2012-06-30

    I am trying to build ccide on msys/mingw.   the configure step is successful, but make produces this error
    gcc -O3 -Wall -DRELEASE=\"1\" -g -O2 -o ccidew.exe ccideparse.o ccidelex.o ccidemain.o cciderunx.o c
    cideinline.o
    ccidemain.o: In function `SaveLeadingWhiteSpace':
    c:\dtopham\ccide-0.4.0-1\ccide-0.4.0/ccidemain.c:465: undefined reference to `strndup'
    collect2: ld returned 1 exit status
    make: ***  Error 1
    make: Leaving directory `/c/dtopham/ccide-0.4.0-1/ccide-0.4.0'
    make: ***  Error 2

    has anyone encountered this?  or have suggestions?

     
  • Tom Young
    Tom Young
    2012-07-02

    Ccide 0.5.0-6 and later should solve this problem.