Skip to content

build error with updated debian 6 #4

Open

Description

@sraihan

root@debian-6:/home/user/ofdissector/src# scons install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o util/FieldManager.os -c -fPIC -I. -I/usr/include/wireshark -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include util/FieldManager.cpp
util/FieldManager.cpp: In member function 'void FieldManager::createField(std::string, const char_, ftenum, int, const void_, guint32, bool)':
util/FieldManager.cpp:42: error: 'struct header_field_info' has no member named 'ref_type'
util/FieldManager.cpp:42: error: 'HF_REF_TYPE_NONE' was not declared in this scope
scons: *** [util/FieldManager.os] Error 1
scons: building terminated because of errors.

Activity

  1. rnudechu commented on May 27, 2013

    @rnudechu

    Same problem occurs with Ubuntu 10.04

  2. rnudechu commented on May 27, 2013

    @rnudechu

    Looks like the problem mentioned above can be resolved by simply commenting out the offending line. The openflow.so file created looks like it works with dissecting openflow 1.3 traffic properly. (This is based on limited testing with trema-edge learning switch)

    In FieldManager.cpp include two slash (//) at the beginning of line 42:

    // hfri.hfinfo.ref_type = HF_REF_TYPE_NONE;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions