Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: daq/daq_user.h No such file or directory #5

Open
razausman opened this issue Dec 16, 2021 · 1 comment
Open

fatal error: daq/daq_user.h No such file or directory #5

razausman opened this issue Dec 16, 2021 · 1 comment

Comments

@razausman
Copy link

I keep getting the following error. Any help appreciated.

[ 34%] Built target cd_eapol
[ 34%] Built target cd_linux_sll
[ 34%] Built target cd_null
[ 34%] Built target cd_pflog
[ 34%] Built target cd_pbb
[ 34%] Built target cd_ppp
[ 34%] Built target cd_slip
[ 34%] Built target cd_token_ring
[ 34%] Built target cd_wlan
[ 34%] Building C object src/daqs/daq_socket/CMakeFiles/daq_socket.dir/daq_socket.c.o
/home/ubuntu/snort_src/snort3_extra/src/daqs/daq_socket/daq_socket.c:38:10: fatal error: daq/daq_user.h: No such file or directory
38 | #include <daq/daq_user.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/daqs/daq_socket/CMakeFiles/daq_socket.dir/build.make:82: src/daqs/daq_socket/CMakeFiles/daq_socket.dir/daq_socket.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1067: src/daqs/daq_socket/CMakeFiles/daq_socket.dir/all] Error 2
make: *** [Makefile:171: all] Error 2

@Xiche
Copy link
Contributor

Xiche commented Dec 17, 2021

Looks like your Snort installation is missing the daq_user.h header. It should be in $INSTALL_PREFIX/include/snort/daq after you build and install Snort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants