Cannot build. too many arguments to function ‘rtnl_talk’

Asked by Nayar Joolfoo

Finally mananged to get the deps installed on Debian. I am having this error while compiling.

# make all
[ 9%] Building C object common/CMakeFiles/iprohc_common.dir/tun_helpers.c.o
/home/root/iprohc-0.7.1/common/tun_helpers.c: In function ‘set_ip4’:
/home/root/iprohc-0.7.1/common/tun_helpers.c:305:2: error: too many arguments to function ‘rtnl_talk’
In file included from /home/root/iprohc-0.7.1/common/tun_helpers.c:31:0:
/usr/include/libnetlink.h:42:12: note: declared here
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

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Nayar Joolfoo
Solved:
Last query:
Last reply:
Revision history for this message
Nayar Joolfoo (nayar) said :
#1

Deleted all files, it compiled fine now.