Project

General

Profile

Bug #1075

Updated by Victor Julien almost 11 years ago

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

 <pre> 
 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 
 </pre>

Back