Actions
Bug #171
closedsuricata 0.9.1 fails to compile with cuda support
Affected Versions:
Effort:
Difficulty:
Label:
Description
When trying to compile suricata 0.9.1 with CUDA enabled, compile fails with the following error:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -I/usr/include/cuda -march=native -O2 -pipe -Wextra -Wall -fno-strict-aliasing -Wno-unused-parameter -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -D__SC_CUDA_SUPPORT__ -DHAVE_LIBCAP_NG -MT source-nfq.o -MD -MP -MF .deps/source-nfq.Tpo -c -o source-nfq.o source-nfq.c In file included from suricata.c:130: util-mpm-b2g-cuda.h:54: error: expected specifier-qualifier-list before ‘MpmEndMatch’ make[2]: *** [suricata.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/threads.Tpo .deps/threads.Po mv -f .deps/source-nfq.Tpo .deps/source-nfq.Po make[2]: Leaving directory `/var/tmp/portage/net-analyzer/suricata-0.9.1/work/suricata-0.9.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-analyzer/suricata-0.9.1/work/suricata-0.9.1' make: *** [all] Error 2
I'm using CUDA 3.0, but the same error occurs with 2.3 as well. The gcc version is 4.4.3. Did I miss something in the installation docs? Any help would be appreciated.
Updated by Victor Julien over 14 years ago
- Due date set to 05/31/2010
- Assignee set to Anoop Saldanha
- Target version set to 0.9.2
- Estimated time set to 0.00 h
No, this is an error on our end. An updated version of the CUDA code was supposed to be included with 0.9.1 but we missed the deadline. Should have it fixed in the git master in a few days.
Updated by Victor Julien over 14 years ago
- Due date changed from 05/31/2010 to 06/22/2010
- Target version changed from 0.9.2 to 0.9.3
Updated by Victor Julien over 14 years ago
- Due date changed from 06/22/2010 to 06/28/2010
- Target version changed from 0.9.3 to 1.0.0
Anoop, please rebase the CUDA packet batching patch against the current master and submit that. Thanks.
Updated by Victor Julien over 14 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Current master is updated.
Actions