Hi all,

 I am trying to compile vortex-ids
(http://sourceforge.net/projects/vortex-ids/?source=directory) under
OpenBSD 5.3, but this error is returned:

vortex.c: In function 'errors_thread':
vortex.c:686: error: '__NR_gettid' undeclared (first use in this function)
vortex.c:686: error: (Each undeclared identifier is reported only once
vortex.c:686: error: for each function it appears in.)
vortex.c:693: error: 'cpu_set_t' undeclared (first use in this function)
vortex.c:693: error: expected ';' before 'csmask'
vortex.c:694: error: 'csmask' undeclared (first use in this function)
vortex.c: In function 'stats_thread':
vortex.c:768: error: '__NR_gettid' undeclared (first use in this function)
vortex.c:776: error: 'cpu_set_t' undeclared (first use in this function)
vortex.c:776: error: expected ';' before 'csmask'
vortex.c:777: error: 'csmask' undeclared (first use in this function)
vortex.c: In function 'conn_writer':
vortex.c:950: error: '__NR_gettid' undeclared (first use in this function)
vortex.c:958: error: 'cpu_set_t' undeclared (first use in this function)
vortex.c:958: error: expected ';' before 'csmask'
vortex.c:959: error: 'csmask' undeclared (first use in this function)
vortex.c: In function 'main':
vortex.c:1917: error: '__NR_gettid' undeclared (first use in this function)
vortex.c:1925: error: 'cpu_set_t' undeclared (first use in this function)
vortex.c:1925: error: expected ';' before 'csmask'
vortex.c:1926: error: 'csmask' undeclared (first use in this function)

I have installed libnet-1.1.2.1p0, glib2-2.34.3 and libnids-1.24 packages.

Compile options are:

gcc -I/usr/local/include -I/data/soft/libpcap/include -L/usr/local/lib
-L/data/soft/libpcap/lib -O3 vortex.c -o vortex -lnids -lnet
-lgthread-2.0 -lpcap

I have tried with this modified version also:

https://github.com/ckane/vortex-dev

 ... but without luck.

Any idea??

Reply via email to