Project

General

Profile

Actions

Bug #1075

closed

CUDA 5.5 doesn't compile with 2.0 beta 2

Added by Petr Chmelar almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Hi, we had problem compiling CUDA 5.5 into Suricata 2 on Fedora 19, GCC 4.8.2:

gcc -DHAVE_CONFIG_H -I. -I..   -I./../libhtp/  -I/usr/local/cuda/include -I/usr/include/nspr4   -I/usr/include/nss3 -I/usr/include/nspr4   -DLOCAL_STATE_DIR=\"/usr/local/var\" -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -march=native -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DHAVE_LIBNET_ICMPV6_UNREACH   -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -D__SC_CUDA_SUPPORT__ -DHAVE_LIBCAP_NG -MT decode.o -MD -MP -MF .deps/decode.Tpo -c -o decode.o decode.c
decode.c: In function ‘PacketDecodeFinalize’:
decode.c:108:9: error: implicit declaration of function ‘CudaBufferPacket’ [-Werror=implicit-function-declaration]
         CudaBufferPacket(&dtv->cuda_vars, p);
         ^
cc1: some warnings being treated as errors
make[3]: *** [decode.o] Error 1
make[3]: Leaving directory `/root/suricata/suricata-2.0beta2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/suricata/suricata-2.0beta2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/suricata/suricata-2.0beta2'
make: *** [all] Error 2
Actions #1

Updated by Victor Julien almost 11 years ago

  • Description updated (diff)
  • Status changed from New to Assigned
  • Assignee set to Anoop Saldanha
  • Priority changed from Normal to Low
  • Target version set to 2.0rc1
Actions #2

Updated by Victor Julien over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Merged https://github.com/inliniac/suricata/pull/834, thanks for the patch Anoop.

Actions

Also available in: Atom PDF