steps : when use libnids-1.24 ,go to dir samples ,then make
problem: undefined reference to symbol 'g_thread_exit'
detail:
gcc -o overflows overflows.o -L../src -lnids -L/usr/local/lib -lpcap -lnet -lgthread-2.0 -lnsl
/usr/bin/ld: ../src/libnids.a(libnids.o): undefined reference to symbol 'g_thread_exit'
/lib64/libglib-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [overflows] Error 1
solve : add dynamic lib ' -lglib-2.0'
gcc -o overflows overflows.o -L../src -lnids -L/usr/local/lib -lpcap -lnet -lgthread-2.0 -lnsl -lglib-2.0
solve 2: in the source root dir, execute ./configure LIBS=-lglib-2.0,then make -C sample