Menu

Compilling under cygwin

Help
dodger_web
2007-05-12
2012-09-14
  • dodger_web

    dodger_web - 2007-05-12

    Hello,

    I can't compile mcrypt latest version under cygwin.

    i have all librairies installed and found by configure but make complains :

    Making all in src
    make[2]: Entering directory /cygdrive/c/temp/mcrypt-2.6.5/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT extra.o -MD -MP -MF ".deps/extra.Tpo" -c -o extra.o extra.c; \ then mv -f ".deps/extra.Tpo" ".deps/extra.Po"; else rm -f ".deps/extra.Tpo"; exit 1; fi extra.c:46: warning: 'rcsid' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT mcrypt.o -MD -MP -MF ".deps/mcrypt.Tpo" -c -o mcrypt.o mcrypt.c; \ then mv -f ".deps/mcrypt.Tpo" ".deps/mcrypt.Po"; else rm -f ".deps/mcrypt.Tpo"; exit 1; fi mcrypt.c: In functionmain':
    mcrypt.c:601: warning: implicit declaration of function copyDate' mcrypt.c: At top level: mcrypt.c:45: warning: 'rcsid' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT keys.o -MD -MP -MF ".deps/keys.Tpo" -c -o keys.o keys.c; \ then mv -f ".deps/keys.Tpo" ".deps/keys.Po"; else rm -f ".deps/keys.Tpo"; exit 1; fi keys.c:30: warning: 'rcsid' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT random.o -MD -MP -MF ".deps/random.Tpo" -c -o random.o random.c; \ then mv -f ".deps/random.Tpo" ".deps/random.Po"; else rm -f ".deps/random.Tpo"; exit 1; fi random.c:27: warning: 'rcsid' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT rndunix.o -MD -MP -MF ".deps/rndunix.Tpo" -c -o rndunix.o rndunix.c; \ then mv -f ".deps/rndunix.Tpo" ".deps/rndunix.Po"; else rm -f ".deps/rndunix.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi xmalloc.c:24: warning: 'rcsid' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT functions.o -MD -MP -MF ".deps/functions.Tpo" -c -o functions.o functions.c; \ then mv -f ".deps/functions.Tpo" ".deps/functions.Po"; else rm -f ".deps/functions.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT bits.o -MD -MP -MF ".deps/bits.Tpo" -c -o bits.o bits.c; \ then mv -f ".deps/bits.Tpo" ".deps/bits.Po"; else rm -f ".deps/bits.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT openpgp.o -MD -MP -MF ".deps/openpgp.Tpo" -c -o openpgp.o openpgp.c; \ then mv -f ".deps/openpgp.Tpo" ".deps/openpgp.Po"; else rm -f ".deps/openpgp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT environ.o -MD -MP -MF ".deps/environ.Tpo" -c -o environ.o environ.c; \ then mv -f ".deps/environ.Tpo" ".deps/environ.Po"; else rm -f ".deps/environ.Tpo"; exit 1; fi environ.c:29: warning: 'rcsid' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT getpass.o -MD -MP -MF ".deps/getpass.Tpo" -c -o getpass.o getpass.c; \ then mv -f ".deps/getpass.Tpo" ".deps/getpass.Po"; else rm -f ".deps/getpass.Tpo"; exit 1; fi getpass.c:50:19: conio.h: No such file or directory getpass.c: In function_mcrypt_getpass':
    getpass.c:54: warning: implicit declaration of function _cputs' getpass.c:55: warning: implicit declaration of function_cgets'
    getpass.c: At top level:
    getpass.c:31: warning: 'rcsid' defined but not used
    make[2]: *** [getpass.o] Error 1
    make[2]: Leaving directory /cygdrive/c/temp/mcrypt-2.6.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/cygdrive/c/temp/mcrypt-2.6.5'
    make: *** [all] Error 2

    Do you have a solution, beacause i like mcrypt a lot :-)

     
    • Ziraone1

      Ziraone1 - 2007-09-19

      I have had a devil of a time too....

      If anyone is distributing the newer
      version as a binary, feel free to let me know!

       

Log in to post a comment.

MongoDB Logo MongoDB