You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm building OpenIPC (main branch) for Ingenic T31, and it throws a build error in src/tx.cpp and src/tx.hpp like "PACKET_QDISC_BYPASS not defined", which points to:
if(!use_qdisc)
{
const int optval = 1;
if(setsockopt(fd, SOL_PACKET, PACKET_QDISC_BYPASS, (const void *)&optval , sizeof(optval)) !=0)
{
close(fd);
throw runtime_error(string_format("Unable to set PACKET_QDISC_BYPASS: %s", strerror(errno)));
}
}
The reason is PACKET_QDISC_BYPASS was introduced in 3.14, and T31 has only 3.10.14 kernel support.
I tried to delete the block above, and then it compiles. So, is it safe to just delete that if I'm not using the traffic shaper features?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm building OpenIPC (main branch) for Ingenic T31, and it throws a build error in
src/tx.cpp
andsrc/tx.hpp
like "PACKET_QDISC_BYPASS
not defined", which points to:The reason is
PACKET_QDISC_BYPASS
was introduced in 3.14, and T31 has only 3.10.14 kernel support.I tried to delete the block above, and then it compiles. So, is it safe to just delete that if I'm not using the traffic shaper features?
Beta Was this translation helpful? Give feedback.
All reactions