dionaea icon indicating copy to clipboard operation
dionaea copied to clipboard

On CentOS, manually compiled all dependencies, struct _obj has no member named ce_msgtype

Open hackdefendr opened this issue 12 years ago • 1 comments

As stated in the subject...I completely compiled all dependencies (including GLIB, OpenSSL, Curl, Sqlite) in an effort to create an RPM for CentOS.

The configure I am using:

./configure --with-lcfg-include=/opt/dionaea/include/ \
  --with-lcfg-lib=/opt/dionaea/lib/ \
  --with-python=/opt/dionaea/bin/python3.3 \
  --with-cython-dir=/opt/dionaea/bin \
  --with-udns-include=/opt/dionaea/include/ \
  --with-udns-lib=/opt/dionaea/lib/ \
  --with-emu-include=/opt/dionaea/include/ \
  --with-emu-lib=/opt/dionaea/lib/ \
  --with-gc-include=/usr/include/gc \
  --with-ev-include=/opt/dionaea/include \
  --with-ev-lib=/opt/dionaea/lib \
  --with-nl-include=/opt/dionaea/include \
  --with-nl-lib=/opt/dionaea/lib/ \
  --with-curl-config=/usr/bin/ \
  --with-pcap-include=/opt/dionaea/include \
  --with-pcap-lib=/opt/dionaea/lib/ \
  --with-glib=/opt/dionaea

The error during make:

module.c: In function 'nl_obj_input':
module.c:123: error: expected specifier-qualifier-list before 'NLHDR_COMMON'
module.c:128: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:128: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:137: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:175: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:183: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:183: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:199: error: 'struct _obj' has no member named 'ce_msgtype'
module.c:218: error: 'struct _obj' has no member named 'ce_msgtype'
make[3]: *** [module.lo] Error 1
make[3]: Leaving directory `/home/tmp/dionaea/dionaea/modules/nl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tmp/dionaea/dionaea/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/dionaea/dionaea'
make: *** [all] Error 2

I have searched all over for help...some of what I tried minimized the number of affected lines, but essentially did not resolve the error. Other things I tried were just wrong.

Since this is the only file I am see this error, I am hoping its just a missing header or maybe that I just need to rebuild a couple of dependencies with additional include flags or lib links.

Once upon a time...I did have this compiled on CentOS, but today its giving me fits. Any help on this would be great.

Jeff Singleton HackDefendr

hackdefendr avatar May 14 '13 22:05 hackdefendr

I had the same issue on my Ubuntu system when I was building everything from scratch. Like you it worked previously so I started trying earlier versions of libnl. Looks like it broke with version 3.2.21 so for a quick work arround just use the previous version (3.2.20) and you should be all set.

Pete

ptroxell avatar Jun 30 '13 21:06 ptroxell