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

Close

FC3 Compile Errors

General
HolmesSPH
2007-01-25
2013-04-23
  • HolmesSPH
    HolmesSPH
    2007-01-25

    I am not a newbie, but I still have issues with compiling.. sometimes I don't understand things lol...
    Here is what I got... I am sorry its so long, but I was affraid to leave anything out..

    Making all in:
    /root/dk-milter-0.4.1/libar
    Configuration: pfx=, os=Linux, rel=2.6.12-2.3.legacy_FC3smp, rbase=2, rroot=2.6.12-2.3, arch=i686, sfx=, variant=optimized
    Making in /root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libar
    make[1]: Entering directory `/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libar'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libar'
    Making all in:
    /root/dk-milter-0.4.1/libdk
    Configuration: pfx=, os=Linux, rel=2.6.12-2.3.legacy_FC3smp, rbase=2, rroot=2.6.12-2.3, arch=i686, sfx=, variant=optimized
    Making in /root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libdk
    make[1]: Entering directory `/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libdk'
    cc -O2 -I. -I../../include   -D_REENTRANT -DXP_MT   -c -o dk.o dk.c
    dk.c:29:25: openssl/pem.h: No such file or directory
    dk.c:30:25: openssl/rsa.h: No such file or directory
    dk.c:31:25: openssl/bio.h: No such file or directory
    dk.c:32:25: openssl/err.h: No such file or directory
    In file included from dk.c:36:
    ./dk-private.h:89: error: syntax error before "BIO"
    ./dk-private.h:89: warning: no semicolon at end of struct or union
    ./dk-private.h:90: warning: data definition has no type or storage class
    ./dk-private.h:91: error: syntax error before '*' token
    ./dk-private.h:91: warning: data definition has no type or storage class
    ./dk-private.h:94: error: syntax error before "sha1_sha1"
    ./dk-private.h:94: warning: data definition has no type or storage class
    ./dk-private.h:96: error: syntax error before '}' token
    dk.c: In function `dk_canon':
    dk.c:1543: error: dereferencing pointer to incomplete type
    dk.c:1544: error: dereferencing pointer to incomplete type
    dk.c:1546: error: dereferencing pointer to incomplete type
    dk.c:1551: error: dereferencing pointer to incomplete type
    dk.c:1552: error: dereferencing pointer to incomplete type
    dk.c:1554: error: dereferencing pointer to incomplete type
    dk.c: In function `dk_eoh':
    dk.c:1994: error: invalid application of `sizeof' to incomplete type `dk_sha1'
    dk.c:1997: error: invalid application of `sizeof' to incomplete type `dk_sha1'
    dk.c:1998: error: dereferencing pointer to incomplete type
    dk.c:2008: error: dereferencing pointer to incomplete type
    dk.c:2014: error: dereferencing pointer to incomplete type
    dk.c:2014: error: dereferencing pointer to incomplete type
    dk.c:2016: error: dereferencing pointer to incomplete type
    dk.c:2016: error: dereferencing pointer to incomplete type
    dk.c:2017: error: `errno' undeclared (first use in this function)
    dk.c:2017: error: (Each undeclared identifier is reported only once
    dk.c:2017: error: for each function it appears in.)
    dk.c:2018: error: dereferencing pointer to incomplete type
    dk.c:2021: error: dereferencing pointer to incomplete type
    dk.c:2027: error: dereferencing pointer to incomplete type
    dk.c:2027: error: dereferencing pointer to incomplete type
    dk.c:2030: error: dereferencing pointer to incomplete type
    dk.c: In function `dk_eom':
    dk.c:2400: error: `BIO' undeclared (first use in this function)
    dk.c:2400: error: `key' undeclared (first use in this function)
    dk.c:2402: error: `SHA_DIGEST_LENGTH' undeclared (first use in this function)
    dk.c:2444: error: dereferencing pointer to incomplete type
    dk.c:2445: error: dereferencing pointer to incomplete type
    dk.c:2452: error: dereferencing pointer to incomplete type
    dk.c:2452: error: dereferencing pointer to incomplete type
    dk.c:2453: error: dereferencing pointer to incomplete type
    dk.c:2459: error: dereferencing pointer to incomplete type
    dk.c:2459: error: dereferencing pointer to incomplete type
    dk.c:2460: error: dereferencing pointer to incomplete type
    dk.c:2460: error: `RSA_PKCS1_PADDING' undeclared (first use in this function)
    dk.c:2463: error: dereferencing pointer to incomplete type
    dk.c:2466: error: dereferencing pointer to incomplete type
    dk.c:2467: error: dereferencing pointer to incomplete type
    dk.c:2469: error: `NID_sha1' undeclared (first use in this function)
    dk.c:2470: error: dereferencing pointer to incomplete type
    dk.c:2470: error: dereferencing pointer to incomplete type
    dk.c:2471: error: dereferencing pointer to incomplete type
    dk.c: In function `dk_getsig':
    dk.c:2508: error: `BIO' undeclared (first use in this function)
    dk.c:2508: error: `key' undeclared (first use in this function)
    dk.c:2510: error: `SHA_DIGEST_LENGTH' undeclared (first use in this function)
    dk.c:2540: error: dereferencing pointer to incomplete type
    dk.c:2541: error: dereferencing pointer to incomplete type
    dk.c:2548: error: dereferencing pointer to incomplete type
    dk.c:2548: error: dereferencing pointer to incomplete type
    dk.c:2549: error: dereferencing pointer to incomplete type
    dk.c:2555: error: dereferencing pointer to incomplete type
    dk.c:2555: error: dereferencing pointer to incomplete type
    dk.c:2556: error: dereferencing pointer to incomplete type
    dk.c:2556: error: `RSA_PKCS1_PADDING' undeclared (first use in this function)
    dk.c:2557: error: dereferencing pointer to incomplete type
    dk.c:2558: error: dereferencing pointer to incomplete type
    dk.c:2559: error: dereferencing pointer to incomplete type
    dk.c:2565: error: dereferencing pointer to incomplete type
    dk.c:2568: error: dereferencing pointer to incomplete type
    dk.c:2571: error: dereferencing pointer to incomplete type
    dk.c:2572: error: dereferencing pointer to incomplete type
    dk.c:2574: error: `NID_sha1' undeclared (first use in this function)
    dk.c:2574: error: dereferencing pointer to incomplete type
    dk.c:2575: error: dereferencing pointer to incomplete type
    dk.c:2575: error: dereferencing pointer to incomplete type
    dk.c:2576: error: dereferencing pointer to incomplete type
    dk.c:2584: error: dereferencing pointer to incomplete type
    dk.c:2587: error: dereferencing pointer to incomplete type
    dk.c:2588: error: dereferencing pointer to incomplete type
    dk.c:2591: error: dereferencing pointer to incomplete type
    dk.c:2604: error: dereferencing pointer to incomplete type
    dk.c:2606: error: dereferencing pointer to incomplete type
    dk.c: In function `dk_reportinfo':
    dk.c:2771: error: dereferencing pointer to incomplete type
    dk.c: In function `dk_free':
    dk.c:2859: error: dereferencing pointer to incomplete type
    dk.c:2859: error: dereferencing pointer to incomplete type
    dk.c:2859: error: dereferencing pointer to incomplete type
    dk.c:2860: error: dereferencing pointer to incomplete type
    dk.c:2860: error: dereferencing pointer to incomplete type
    dk.c:2860: error: dereferencing pointer to incomplete type
    dk.c:2861: error: dereferencing pointer to incomplete type
    dk.c:2861: error: dereferencing pointer to incomplete type
    dk.c:2861: error: dereferencing pointer to incomplete type
    dk.c:2862: error: dereferencing pointer to incomplete type
    dk.c:2862: error: dereferencing pointer to incomplete type
    dk.c:2862: error: dereferencing pointer to incomplete type
    make[1]: *** [dk.o] Error 1
    make[1]: Leaving directory `/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libdk'
    Making all in:
    /root/dk-milter-0.4.1/dk-filter
    Configuration: pfx=, os=Linux, rel=2.6.12-2.3.legacy_FC3smp, rbase=2, rroot=2.6.12-2.3, arch=i686, sfx=, variant=optimized
    Making in /root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/dk-filter
    make[1]: Entering directory `/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/dk-filter'
    (cd ../../libdkim; sh Build )
    /bin/sh: line 0: cd: ../../libdkim: No such file or directory
    sh: Build: No such file or directory
    make[1]: *** [/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/libdkim/libdkim.a] Error 127
    make[1]: Leaving directory `/root/dk-milter-0.4.1/obj.Linux.2.6.12-2.3.legacy_FC3smp.i686/dk-filter'
    make: *** [all] Error 2

    It's all gibberish for the most part to me... I am a lowely PHP/ASP programmer trying to get Yahoo to finally accept my emails lol

     
    • (Sorry for the late response. This forum is not monitored by the developers. To get our attention, please use the project's mailing lists or trackers.)

      The compiler can't find your OpenSSL include files.

      There are some lines in Makefile.m4 you can enable and edit to tell the compiler where they are.