Loading ...
Sorry, an error occurred while loading the content.

Re: [linux_forensics] Afflib Compile Errors

Expand Messages
  • Stuart Bird
    Thanks Jon, a newer openssl package sorted the issue. Stu ________________________________ From: Echo Six To:
    Message 1 of 9 , Jul 22, 2009
    • 0 Attachment
      Thanks Jon, a newer openssl package sorted the issue.

      Stu




      ________________________________
      From: Echo Six <echo6_uk@...>
      To: "linux_forensics@yahoogroups.com" <linux_forensics@yahoogroups.com>
      Sent: Wednesday, 22 July, 2009 15:31:55
      Subject: Re: [linux_forensics] Afflib Compile Errors


      Stu/Simson,

      Doesn't something like OpenSSL or libcrypto provide these?

      Jon

      Sent from my iPhone

      On 22 Jul 2009, at 14:24, Stuart Bird <e_tective@yahoo. co.uk> wrote:

      > Hi Simson
      >
      > I am compiling on Slackware 12.2 (32 bit). I couldn't find a
      > specific package for SHA-256 although I did install a package called
      > mhash which I was led to believe contained it. I'll take a look at
      > afflib.cpp to see if I can pick out anything obvious.
      >
      > Stu
      >
      > ____________ _________ _________ __
      > From: Simson Garfinkel <simsong@acm. org>
      > To: linux_forensics@ yahoogroups. com
      > Sent: Wednesday, 22 July, 2009 10:32:35
      > Subject: Re: [linux_forensics] Afflib Compile Errors
      >
      > Hi. What platform are you compiling on, and do you have SHA256? You
      > might want to compare the compile environment of the test program in
      > the log file with the compile environment of afflib.cpp
      >
      > On Jul 22, 2009, at 2:40 AM, Stuart Bird wrote:
      >
      > > configure: ************ ********* ********* ********* **
      > > configure: AFFLIB 3.3.6 configuration
      > > configure: Amazon S3 Support: no
      > > configure: LZMA Compression: yes
      > > configure: LIBEWF: yes
      > > configure: PYTHON Bindings: no
      > > configure: QEMU Image Drivers: yes
      > > configure: FUSE: yes
      > > configure: LIBEXPAT: yes (needed for AFF signatures)
      > > configure: EVP_SHA256: yes (in OpenSSL -- also needed for AFF
      > > signatures)
      > > configure:
      > > configure: CPPFLAGS: -D_FILE_OFFSET_ BITS=64 -DFUSE_USE_VERSION=
      > 26 -I/
      > > usr/local/include
      > > configure: CXXFLAGS: -g -O2
      > > configure: CFLAGS: -g -O2
      > > configure: LIBS: -lcrypto -lssl -lexpat -lrt -lz -lncurses -lewf
      > > configure: LDFLAGS: -L/usr/local/ lib
      > > configure: ************ ********* ********* ********* **
      > >
      > > Which suggests that SHA256 is being found, however on running make,
      > > I get this:
      > >
      > > afflib.cpp: In function 'void af_initialize( )':
      > > afflib.cpp:134: error: 'SHA256_CTX' was not declared in this scope
      > > afflib.cpp:134: error: expected `;' before 'cc'
      > > afflib.cpp:135: error: 'cc' was not declared in this scope
      > > afflib.cpp:135: error: 'SHA256_Init' was not declared in this scope
      > > afflib.cpp:136: error: 'SHA256_Update' was not declared in this
      > scope
      > > afflib.cpp:137: error: 'SHA256_Final' was not declared in this scope
      > > make[2]: *** [afflib.lo] Error 1
      > > make[2]: Leaving directory `/home/stu/forensic _tools/linux/
      > > afflib-3.3.6/ lib'
      > > make[1]: *** [all-recursive] Error 1
      > > make[1]: Leaving directory `/home/stu/forensic _tools/linux/
      > > afflib-3.3.6'
      > > make: *** [all] Error 2
      > >
      > > Any suggestions as to where I am going wrong would be appreciated.
      > >
      > > Stu
      > >
      > > [Non-text portions of this message have been removed]
      > >
      > >
      >
      > [Non-text portions of this message have been removed]
      >
      > __.._,_.___
      > Messages in this topic (2) Reply (via web post) | Start a new topic
      > Messages
      >
      > Change settings via the Web (Yahoo! ID required)
      > Change settings via email: Switch delivery to Daily Digest | Switch
      > format to Traditional
      > Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
      > Recent Activity
      > * 6
      > New MembersVisit Your Group
      > Give Back
      > Yahoo! for Good
      > Get inspired
      > by a good cause.
      > Y! Toolbar
      > Get it Free!
      > easy 1-click access
      > to your groups.
      > Yahoo! Groups
      > Start a group
      > in 3 easy steps.
      > Connect with others.
      > .
      >
      > [Non-text portions of this message have been removed]
      >
      >

      [Non-text portions of this message have been removed]







      [Non-text portions of this message have been removed]
    • Stuart Bird
      Simson Now sorted thanks, it was an outdated openssl package at fault. Stu ________________________________ From: Simson Garfinkel To:
      Message 2 of 9 , Jul 22, 2009
      • 0 Attachment
        Simson

        Now sorted thanks, it was an outdated openssl package at fault.

        Stu




        ________________________________
        From: Simson Garfinkel <simsong@...>
        To: linux_forensics@yahoogroups.com
        Sent: Wednesday, 22 July, 2009 15:39:58
        Subject: Re: [linux_forensics] Afflib Compile Errors


        That's your problem. You need to install the current version of OpenSSL.

        On Jul 22, 2009, at 9:24 AM, Stuart Bird wrote:

        > Hi Simson
        >
        > I am compiling on Slackware 12.2 (32 bit). I couldn't find a
        > specific package for SHA-256 although I did install a package called
        > mhash which I was led to believe contained it. I'll take a look at
        > afflib.cpp to see if I can pick out anything obvious.
        >
        > Stu
        >
        > ____________ _________ _________ __
        > From: Simson Garfinkel <simsong@acm. org>
        > To: linux_forensics@ yahoogroups. com
        > Sent: Wednesday, 22 July, 2009 10:32:35
        > Subject: Re: [linux_forensics] Afflib Compile Errors
        >
        > Hi. What platform are you compiling on, and do you have SHA256? You
        > might want to compare the compile environment of the test program in
        > the log file with the compile environment of afflib.cpp
        >
        > On Jul 22, 2009, at 2:40 AM, Stuart Bird wrote:
        >
        > > configure: ************ ********* ********* ********* **
        > > configure: AFFLIB 3.3.6 configuration
        > > configure: Amazon S3 Support: no
        > > configure: LZMA Compression: yes
        > > configure: LIBEWF: yes
        > > configure: PYTHON Bindings: no
        > > configure: QEMU Image Drivers: yes
        > > configure: FUSE: yes
        > > configure: LIBEXPAT: yes (needed for AFF signatures)
        > > configure: EVP_SHA256: yes (in OpenSSL -- also needed for AFF
        > > signatures)
        > > configure:
        > > configure: CPPFLAGS: -D_FILE_OFFSET_ BITS=64 -DFUSE_USE_VERSION=
        > 26 -I/
        > > usr/local/include
        > > configure: CXXFLAGS: -g -O2
        > > configure: CFLAGS: -g -O2
        > > configure: LIBS: -lcrypto -lssl -lexpat -lrt -lz -lncurses -lewf
        > > configure: LDFLAGS: -L/usr/local/ lib
        > > configure: ************ ********* ********* ********* **
        > >
        > > Which suggests that SHA256 is being found, however on running make,
        > > I get this:
        > >
        > > afflib.cpp: In function 'void af_initialize( )':
        > > afflib.cpp:134: error: 'SHA256_CTX' was not declared in this scope
        > > afflib.cpp:134: error: expected `;' before 'cc'
        > > afflib.cpp:135: error: 'cc' was not declared in this scope
        > > afflib.cpp:135: error: 'SHA256_Init' was not declared in this scope
        > > afflib.cpp:136: error: 'SHA256_Update' was not declared in this
        > scope
        > > afflib.cpp:137: error: 'SHA256_Final' was not declared in this scope
        > > make[2]: *** [afflib.lo] Error 1
        > > make[2]: Leaving directory `/home/stu/forensic _tools/linux/
        > > afflib-3.3.6/ lib'
        > > make[1]: *** [all-recursive] Error 1
        > > make[1]: Leaving directory `/home/stu/forensic _tools/linux/
        > > afflib-3..3.6'
        > > make: *** [all] Error 2
        > >
        > > Any suggestions as to where I am going wrong would be appreciated.
        > >
        > > Stu
        > >
        > > [Non-text portions of this message have been removed]
        > >
        > >
        >
        > [Non-text portions of this message have been removed]
        >
        > __.._,_.___
        > Messages in this topic (2) Reply (via web post) | Start a new topic
        > Messages
        >
        > Change settings via the Web (Yahoo! ID required)
        > Change settings via email: Switch delivery to Daily Digest | Switch
        > format to Traditional
        > Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
        > Recent Activity
        > * 6
        > New MembersVisit Your Group
        > Give Back
        > Yahoo! for Good
        > Get inspired
        > by a good cause.
        > Y! Toolbar
        > Get it Free!
        > easy 1-click access
        > to your groups.
        > Yahoo! Groups
        > Start a group
        > in 3 easy steps.
        > Connect with others.
        > .
        >
        > [Non-text portions of this message have been removed]
        >
        >

        [Non-text portions of this message have been removed]







        [Non-text portions of this message have been removed]
      • Simson Garfinkel
        Thanks. I should add this to the configure program. ... [Non-text portions of this message have been removed]
        Message 3 of 9 , Jul 22, 2009
        • 0 Attachment
          Thanks. I should add this to the configure program.
          On Jul 22, 2009, at 11:53 AM, Stuart Bird wrote:

          > Simson
          >
          > Now sorted thanks, it was an outdated openssl package at fault.
          >
          > Stu
          >
          > ________________________________
          > From: Simson Garfinkel <simsong@...>
          > To: linux_forensics@yahoogroups.com
          > Sent: Wednesday, 22 July, 2009 15:39:58
          > Subject: Re: [linux_forensics] Afflib Compile Errors
          >
          > That's your problem. You need to install the current version of
          > OpenSSL.
          >
          > On Jul 22, 2009, at 9:24 AM, Stuart Bird wrote:
          >
          > > Hi Simson
          > >
          > > I am compiling on Slackware 12.2 (32 bit). I couldn't find a
          > > specific package for SHA-256 although I did install a package called
          > > mhash which I was led to believe contained it. I'll take a look at
          > > afflib.cpp to see if I can pick out anything obvious.
          > >
          > > Stu
          > >
          > > ____________ _________ _________ __
          > > From: Simson Garfinkel <simsong@acm. org>
          > > To: linux_forensics@ yahoogroups. com
          > > Sent: Wednesday, 22 July, 2009 10:32:35
          > > Subject: Re: [linux_forensics] Afflib Compile Errors
          > >
          > > Hi. What platform are you compiling on, and do you have SHA256? You
          > > might want to compare the compile environment of the test program in
          > > the log file with the compile environment of afflib.cpp
          > >
          > > On Jul 22, 2009, at 2:40 AM, Stuart Bird wrote:
          > >
          > > > configure: ************ ********* ********* ********* **
          > > > configure: AFFLIB 3.3.6 configuration
          > > > configure: Amazon S3 Support: no
          > > > configure: LZMA Compression: yes
          > > > configure: LIBEWF: yes
          > > > configure: PYTHON Bindings: no
          > > > configure: QEMU Image Drivers: yes
          > > > configure: FUSE: yes
          > > > configure: LIBEXPAT: yes (needed for AFF signatures)
          > > > configure: EVP_SHA256: yes (in OpenSSL -- also needed for AFF
          > > > signatures)
          > > > configure:
          > > > configure: CPPFLAGS: -D_FILE_OFFSET_ BITS=64 -DFUSE_USE_VERSION=
          > > 26 -I/
          > > > usr/local/include
          > > > configure: CXXFLAGS: -g -O2
          > > > configure: CFLAGS: -g -O2
          > > > configure: LIBS: -lcrypto -lssl -lexpat -lrt -lz -lncurses -lewf
          > > > configure: LDFLAGS: -L/usr/local/ lib
          > > > configure: ************ ********* ********* ********* **
          > > >
          > > > Which suggests that SHA256 is being found, however on running
          > make,
          > > > I get this:
          > > >
          > > > afflib.cpp: In function 'void af_initialize( )':
          > > > afflib.cpp:134: error: 'SHA256_CTX' was not declared in this scope
          > > > afflib.cpp:134: error: expected `;' before 'cc'
          > > > afflib.cpp:135: error: 'cc' was not declared in this scope
          > > > afflib.cpp:135: error: 'SHA256_Init' was not declared in this
          > scope
          > > > afflib.cpp:136: error: 'SHA256_Update' was not declared in this
          > > scope
          > > > afflib.cpp:137: error: 'SHA256_Final' was not declared in this
          > scope
          > > > make[2]: *** [afflib.lo] Error 1
          > > > make[2]: Leaving directory `/home/stu/forensic _tools/linux/
          > > > afflib-3.3.6/ lib'
          > > > make[1]: *** [all-recursive] Error 1
          > > > make[1]: Leaving directory `/home/stu/forensic _tools/linux/
          > > > afflib-3..3.6'
          > > > make: *** [all] Error 2
          > > >
          > > > Any suggestions as to where I am going wrong would be appreciated.
          > > >
          > > > Stu
          > > >
          > > > [Non-text portions of this message have been removed]
          > > >
          > > >
          > >
          > > [Non-text portions of this message have been removed]
          > >
          > > __.._,_.___
          > > Messages in this topic (2) Reply (via web post) | Start a new topic
          > > Messages
          > >
          > > Change settings via the Web (Yahoo! ID required)
          > > Change settings via email: Switch delivery to Daily Digest | Switch
          > > format to Traditional
          > > Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
          > > Recent Activity
          > > * 6
          > > New MembersVisit Your Group
          > > Give Back
          > > Yahoo! for Good
          > > Get inspired
          > > by a good cause.
          > > Y! Toolbar
          > > Get it Free!
          > > easy 1-click access
          > > to your groups.
          > > Yahoo! Groups
          > > Start a group
          > > in 3 easy steps.
          > > Connect with others.
          > > .
          > >
          > > [Non-text portions of this message have been removed]
          > >
          > >
          >
          > [Non-text portions of this message have been removed]
          >
          > [Non-text portions of this message have been removed]
          >
          >



          [Non-text portions of this message have been removed]
        Your message has been successfully submitted and would be delivered to recipients shortly.