Comments (4)
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.
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.
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.
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)
- Allow scanners to be written in Rust.
- bring back md5 support
- Disabling all scanners does not allow re-enabling
- Compile fails when exiv2 is not installed HOT 18
- fix shadowing issue in #433
- bulk_extractor goes multi-threaded with -J or --no_threads
- report.xml does not include debug:work_end tags
- upgrade catch
- Make bulk_extractor compile under Debian HOT 22
- Compile on Ubuntu 20.04 LTS (g++ 9.4) error HOT 2
- make mingw fedora 39 use libgnurx if re2 is not available
- Add RTTI thumbnail option HOT 15
- Bulk_extractor HOT 1
- Cross-compiling for Windows using Fedora 36; CONFIGURE_FEDORA36_win64.bash errors out on libre2-dev HOT 6
- Channel
- Building Error - undefined reference to `pcre_*' HOT 4
- bulk_extractor ignoring jpeg_carve_mode; does not carve contiguous JPEGs HOT 2
- evaluate migrating from autoconf to bazel
- File system iterator needs to keep a set of directories and files visited and not process the same directory or file twice. HOT 12
- Feature request: add regex filter for feature files. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bulk_extractor.