Git Product home page Git Product logo

Comments (4)

simsong avatar simsong commented on May 30, 2024

It seems that the version of bulk_extractor on github is referencing the old version of be13_api and not the new version of be13_api.

However, unless you are interested in participating in the bulk_extractor development, you should not download from github, you should download one of the distributions.

On Dec 29, 2012, at 1:18 PM, dkovar [email protected] wrote:

I downloaded both bulk_extractor and tcpflow via git. I built and installed tcpflow and am trying to build bulk_extractor but run into the above error. I could hardwire a fix, but I'd like to get this solved properly.

If I copy tcpflow/src/tcpflow.h to /usr/local/include the compile throws this error:

In file included from be13_api/pcap_fake.cpp:2:
/usr/local/include/tcpflow.h:206: error: conflicting declaration ‘typedef size_t socklen_t’

-David


Reply to this email directly or view it on GitHub.

from bulk_extractor.

simsong avatar simsong commented on May 30, 2024

Thanks for the note. I've updated the submodule. (I thought this was done before, but apparently it wasn't.) submodule updating is done with:

cd src/be13_api
git checkout master
git pull
cd ..
git commit -am 'pulled down update to be13_api'

from bulk_extractor.

dkovar avatar dkovar commented on May 30, 2024

I did a git pull, make clean, ./configure, make and got the following:

g++ -DHAVE_CONFIG_H -I. -I.. -I../src/be13_api -D_THREAD_SAFE -pthread -I/sw/include -I/opt/local/include -I/usr/local/include -DUTC_OFFSET=-0600 -g -D_THREAD_SAFE -pthread -g -O3 -Wall -MD -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Wstrict-null-sentinel -Weffc++ -D_FORTIFY_SOURCE=2 -MT base64_forensic.o -MD -MP -MF .deps/base64_forensic.Tpo -c -o base64_forensic.o base64_forensic.cpp
mv -f .deps/base64_forensic.Tpo .deps/base64_forensic.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../src/be13_api -D_THREAD_SAFE -pthread -I/sw/include -I/opt/local/include -I/usr/local/include -DUTC_OFFSET=-0600 -g -D_THREAD_SAFE -pthread -g -O3 -Wall -MD -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Wstrict-null-sentinel -Weffc++ -D_FORTIFY_SOURCE=2 -MT bulk_extractor.o -MD -MP -MF .deps/bulk_extractor.Tpo -c -o bulk_extractor.o bulk_extractor.cpp
bulk_extractor.cpp:35: error: ‘be_config_t’ does not name a type
bulk_extractor.cpp: In function ‘int main(int, char*)’:
bulk_extractor.cpp:967: error: ‘be_config’ was not declared in this scope
bulk_extractor.cpp:1013: error: ‘be_config’ was not declared in this scope
make[2]: *
* [bulk_extractor.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

from bulk_extractor.

simsong avatar simsong commented on May 30, 2024

As I said before, if you want to participate in bulk_extractor development, you should be using git. Otherwise you should grab one of the distributions from http://digitalcorpora.org/downloads/

the git repository is constantly being updated and I make no promise that the code will compile at any time. In this case I moved something from the bulk_extractor.h file to the bulk_extractor_i.h file. But I'm on a train with limited connectivity, so not all of the changes have been pushed.

On Dec 29, 2012, at 6:31 PM, dkovar [email protected] wrote:

I did a git pull, make clean, ./configure, make and got the following:

g++ -DHAVE_CONFIG_H -I. -I.. -I../src/be13_api -D_THREAD_SAFE -pthread -I/sw/include -I/opt/local/include -I/usr/local/include -DUTC_OFFSET=-0600 -g -D_THREAD_SAFE -pthread -g -O3 -Wall -MD -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Wstrict-null-sentinel -Weffc++ -D_FORTIFY_SOURCE=2 -MT base64_forensic.o -MD -MP -MF .deps/base64_forensic.Tpo -c -o base64_forensic.o base64_forensic.cpp
mv -f .deps/base64_forensic.Tpo .deps/base64_forensic.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../src/be13_api -D_THREAD_SAFE -pthread -I/sw/include -I/opt/local/include -I/usr/local/include -DUTC_OFFSET=-0600 -g -D_THREAD_SAFE -pthread -g -O3 -Wall -MD -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Woverloaded-virtual -Wsign-promo -funit-at-a-time -Wstrict-null-sentinel -Weffc++ -D_FORTIFY_SOURCE=2 -MT bulk_extractor.o -MD -MP -MF .deps/bulk_extractor.Tpo -c -o bulk_extractor.o bulk_extractor.cpp
bulk_extractor.cpp:35: error: ‘be_config_t’ does not name a type
bulk_extractor.cpp: In function ‘int main(int, char*)’:
bulk_extractor.cpp:967: error: ‘be_config’ was not declared in this scope
bulk_extractor.cpp:1013: error: ‘be_config’ was not declared in this scope
make[2]: *
* [bulk_extractor.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Reply to this email directly or view it on GitHub.

from bulk_extractor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.