hi,

I have run into some issues while doing "make" during the installation 
process. The "cmake .." results look like :-

-------------------------

-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test BPFATTACH_RUN_RESULT
-- Performing Test BPFATTACH_RUN_RESULT - Success
-- System has SO_ATTACH_FILTER/SO_DETACH_FILTER support
-- Performing Test PFPACKET_RUN_RESULT
-- Performing Test PFPACKET_RUN_RESULT - Success
-- System has PF_PACKET sockets
-- Performing Test STRICT_ALIGN_RUN_RESULT
-- Performing Test STRICT_ALIGN_RUN_RESULT - Success
-- System architecture is NOT strictly aligned
-- Performing Test TX_RING_RUN_RESULT
-- Performing Test TX_RING_RUN_RESULT - Failed
-- System does not have TX_RING support
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Libnl: /usr/lib/libnl.so
-- Found Curses: /usr/lib/libcurses.so
-- Found FLEX: /usr/bin/flex
-- Found BISON: /usr/bin/bison
-- Found libcli: /usr/lib/libcli.so
-- Found LibGeoIP: /usr/lib/libGeoIP.so
-- Found NaCl: 
/opt/nacl-20110221/nacl-20110221/build/iadchacm03/lib/x86/libnacl.a
-- Found libnetfilter_conntrack: /usr/lib/libnetfilter_conntrack.so
-- Found liburcu: /usr/lib/liburcu.so
-- Configuring done
-- Generating done
-- Build files have been written to: 
/opt/DOWNLOADS/netsniff-ng-0.5.7/src/build

---------------------------

It seems all the pre-requisites have been met. However, when I do "make" I 
see the errors :-

--------------------------------

[  1%] Building C object netsniff-ng/CMakeFiles/netsniff-ng.dir/__/hash.c.o
cc1: error: unrecognized command line option "-Wstrict-overflow=1"
cc1: error: unrecognized command line option "-Wtype-limits"
cc1: error: unrecognized command line option "-Wmissing-parameter-type"
cc1: error: unrecognized command line option "-Wclobbered"
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Wignored-qualifiers"
cc1: error: unrecognized command line option "-Woverlength-strings"
cc1: error: unrecognized command line option "-Wlogical-op"
cc1: error: unrecognized command line option "-Woverride-init"
/opt/DOWNLOADS/netsniff-ng-0.5.7/src/hash.c:1: error: bad value (native) 
for -march= switch
/opt/DOWNLOADS/netsniff-ng-0.5.7/src/hash.c:1: error: bad value (native) 
for -mtune= switch
make[2]: *** [netsniff-ng/CMakeFiles/netsniff-ng.dir/__/hash.c.o] Error 1
make[1]: *** [netsniff-ng/CMakeFiles/netsniff-ng.dir/all] Error 2
make: *** [all] Error 2

--------------------------------

Any ideas on what I am doing wrong ?

Thanx !

-- 


Reply via email to