Skip to content

Compiling on RHEL6 #20

Closed
Closed
@ciroiriarte

Description

@ciroiriarte

I've used packetq in the past with SLES/openSUSE without issues, but currently need to build it on RHEL6. The thing is I'm getting this error:

make all-recursive
make[1]: Entering directory /home/tclcir/PacketQ-master' Making all in src make[2]: Entering directory/home/tclcir/PacketQ-master/src'
g++ -DHAVE_CONFIG_H -I. -I.. -std=c++0x -Wall -Wno-parentheses -Wno-switch -Wno-sign-compare -Wno-char-subscripts -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.cpp
sql.h: In member function 'se::Row* se::Table::create_row()':
sql.h:495: error: object missing in reference to 'se::Row::m_data'
sql.cpp:85: error: from this location
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:66,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:42,
from sql.h:36,
from sql.cpp:32:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h: In constructor 'std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int, _U2 = int, T1 = se::Column, T2 = int]':
sql.cpp:1935: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h:90: error: invalid conversion from 'int' to 'se::Column
'
make[2]: *** [sql.o] Error 1
make[2]: Leaving directory /home/tclcir/PacketQ-master/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/tclcir/PacketQ-master'
make: *** [all] Error 2

Anybody has seen it?

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