← Back to team overview

rohc team mailing list archive

Re: [Question #403875]: make check failure

 

Question #403875 on rohc changed:
https://answers.launchpad.net/rohc/+question/403875

gael anyouzoa proposed the following answer:
Hi, i have got new errorwhen i'm trying make all comandthe output is the following 
Thanks
root@asterisk:/usr/src/iprohc-0.7.1# make all
[  9%] Building C object common/CMakeFiles/iprohc_common.dir/tun_helpers.c.o
/usr/src/iprohc-0.7.1/common/tun_helpers.c:31:24: fatal error: libnetlink.h: Aucun fichier ou dossier de ce type
 #include <libnetlink.h>
                        ^
compilation terminated.
make[2]: *** [common/CMakeFiles/iprohc_common.dir/tun_helpers.c.o] Erreur 1
make[1]: *** [common/CMakeFiles/iprohc_common.dir/all] Erreur 2
make: *** [all] Erreur 2


    Le Samedi 12 novembre 2016 10h29, Didier Barvaux <question403875@xxxxxxxxxxxxxxxxxxxxx> a écrit :
 

 Question #403875 on rohc changed:
https://answers.launchpad.net/rohc/+question/403875

Didier Barvaux proposed the following answer:
Hello,

The IP version variable in the code of the ROHC library is either used
for the real IP version of the IP packet (values 4 or 6) or either for
advertising some problem. In your case, the problem is a malformed IPv4
header (special value 1). The malformation is the unexpected total
length. That's why the correction of the total length changed the value
from 1 to 4.

All the possible values are stored in the following enum:

/// IP version
typedef enum
{
  /// IP version 4
  IPV4 = 4,
  /// IP version 6
  IPV6 = 6,
  /// not IP
  IP_UNKNOWN = 0,
  /// IP version 4 (malformed)
  IPV4_MALFORMED = 1,
  /// IP version 6 (malformed)
  IPV6_MALFORMED = 2,
} ip_version;

Regards,
Didier

-- 
You received this question notification because your team ROHC Team is
an answer contact for rohc.

_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to    : rohc@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~rohc
More help  : https://help.launchpad.net/ListHelp

You received this question notification because your team ROHC Team is
an answer contact for rohc.