Compiling error.

Help
riccardo
2003-09-12
2012-09-14
  • riccardo
    riccardo
    2003-09-12

    Trying to compile version 2.1 on slackware 8.0  mhash-0.8.18:
    gcc -L/usr/lib -lm -lz -lcrypto -lmhash -o eics signature.o processfiles.o hashfile.o database.o getpass.o policy.o main.o
    signature.o: In function `make_md':
    signature.o(.text+0x268): undefined reference to `EVP_MD_CTX_cleanup'
    collect2: ld returned 1 exit status
    make: *** [all] Error 1

    I don't know where is the error, could somebody help me?

    THX

     
    • Chris Ogden
      Chris Ogden
      2006-02-06

      Were you able to fix this?

      We are getting a very similar error:
      stdfns.c: In function 'mutils_memcmp':
      stdfns.c:225: error: 'MAXINT' undeclared (first use in this function)
      stdfns.c:225: error: (Each undeclared identifier is reported only once
      stdfns.c:225: error: for each function it appears in.)
      stdfns.c: In function 'mutils_strcmp':
      stdfns.c:346: error: 'MAXINT' undeclared (first use in this function)
      stdfns.c: In function 'mutils_strncmp':
      stdfns.c:369: error: 'MAXINT' undeclared (first use in this function)
      make[1]: [stdfns.lo] Error 1
      make:
      [all-recursive] Error 1